From a07d1c7fb81ac318d9e61c940acf2290eb31b7d6 Mon Sep 17 00:00:00 2001 From: dankelleher Date: Thu, 16 May 2024 12:30:40 +0200 Subject: [PATCH] Ethers v6 upgrade --- .../contracts-upgradeable/access/index.ts | 1 + .../contracts/access/AccessControl.ts | 399 -- .../contracts/access/IAccessControl.ts | 342 -- .../@openzeppelin/contracts/access/Ownable.ts | 177 - .../@openzeppelin/contracts/access/index.ts | 5 - .../contracts/metatx/MinimalForwarder.ts | 205 - .../@openzeppelin/contracts/metatx/index.ts | 5 - .../contracts/proxy/ERC1967/index.ts | 5 - .../@openzeppelin/contracts/proxy/index.ts | 6 - .../token/ERC20/extensions/IERC20Metadata.ts | 508 +- .../draft-IERC20Permit.sol/IERC20Permit.ts | 194 - .../draft-IERC20Permit.sol/index.ts | 5 - .../contracts/token/ERC20/extensions/index.ts | 2 + .../contracts/token/ERC20/index.ts | 3 + .../@solvprotocol/erc-3525/ERC3525.ts | 1162 ---- .../erc-3525/IERC3525Receiver.ts | 133 - .../@solvprotocol/erc-3525/IERC721Receiver.ts | 127 - .../erc-3525/extensions/IERC3525Metadata.ts | 1025 ---- .../erc-3525/extensions/IERC721Enumerable.ts | 656 --- .../erc-3525/extensions/IERC721Metadata.ts | 621 --- .../interface/IERC3525MetadataDescriptor.ts | 165 - .../typechain-types/contracts/Forwarder.ts | 205 - .../contracts/GatewayTokenClientTest.ts | 109 - .../GatewayInternalTest.ts | 3264 ----------- .../GatewayTokenInternalsTest.ts | 3264 ----------- .../GatewayTokenInternalsTest.sol/index.ts | 6 - .../contracts/GatewayTokenInternalsTest.ts | 3373 ----------- .../contracts/GatewayTokenUpgradeTest.ts | 3247 ----------- .../contracts/InternalTokenApproval.ts | 185 - .../contracts/IsGated.sol/IsGated.ts | 57 - .../contracts/IsGated.sol/index.ts | 5 - .../MultiERC2771ContextNonUpgradeable.ts | 105 - .../typechain-types/contracts/StubMultisig.ts | 106 - .../contracts/interfaces/IERC721Freezeble.ts | 171 - .../library/InternalTokenApproval.ts | 127 - .../contracts/library/index.ts | 5 - .../contracts-upgradeable/access/index.ts | 1 + .../access/AccessControl__factory.ts | 231 - .../access/IAccessControl__factory.ts | 199 - .../contracts/access/Ownable__factory.ts | 79 - .../@openzeppelin/contracts/access/index.ts | 5 - .../metatx/MinimalForwarder__factory.ts | 205 - .../@openzeppelin/contracts/metatx/index.ts | 5 - .../contracts/proxy/ERC1967/index.ts | 5 - .../@openzeppelin/contracts/proxy/index.ts | 5 - .../extensions/IERC20Metadata__factory.ts | 9 +- .../IERC20Permit__factory.ts | 102 - .../draft-IERC20Permit.sol/index.ts | 5 - .../contracts/token/ERC20/extensions/index.ts | 2 + .../contracts/token/ERC20/index.ts | 2 + .../erc-3525/ERC3525__factory.ts | 777 --- .../erc-3525/IERC3525Receiver__factory.ts | 66 - .../erc-3525/IERC721Receiver__factory.ts | 61 - .../extensions/IERC3525Metadata__factory.ts | 614 -- .../extensions/IERC721Enumerable__factory.ts | 368 -- .../extensions/IERC721Metadata__factory.ts | 357 -- .../IERC3525MetadataDescriptor__factory.ts | 82 - .../factories/contracts/Forwarder__factory.ts | 202 - .../GatewayTokenClientTest__factory.ts | 127 - .../GatewayInternalTest__factory.ts | 2138 ------- .../GatewayTokenInternalsTest__factory.ts | 2142 ------- .../GatewayTokenInternalsTest.sol/index.ts | 6 - .../GatewayTokenInternalsTest__factory.ts | 2188 -------- .../GatewayTokenUpgradeTest__factory.ts | 2129 ------- .../InternalTokenApproval__factory.ts | 134 - .../contracts/IsGated.sol/IsGated__factory.ts | 75 - .../factories/contracts/IsGated.sol/index.ts | 5 - ...tiERC2771ContextNonUpgradeable__factory.ts | 52 - .../contracts/StubMultisig__factory.ts | 112 - .../interfaces/IERC721Freezeble__factory.ts | 79 - .../library/InternalTokenApproval__factory.ts | 96 - .../factories/contracts/library/index.ts | 5 - .../typechain-types/factories/index.ts | 1 + .../DummyBrokenEthRecipient__factory.ts | 42 +- .../test/contracts/ERC2771Test__factory.ts | 54 +- .../GatewayTokenClientERC2771Test__factory.ts | 146 - .../GatewayTokenERC2771ClientTest__factory.ts | 159 - .../index.ts | 5 - .../GatewayTokenClientERC2771Test__factory.ts | 65 +- .../GatewayTokenClientERC2771Test__factory.ts | 149 - ...enClientERC2771UpgradeableTest__factory.ts | 157 - .../index.ts | 6 - .../GatewayTokenClientTest__factory.ts | 63 +- .../GatewayTokenInternalsTest__factory.ts | 44 +- .../GatewayTokenUpgradeTest__factory.ts | 44 +- .../test/contracts/StubMultisig__factory.ts | 59 +- .../contracts/v0/GatewayTokenV0__factory.ts | 40 +- .../v0/IERC721ExpirableV0__factory.ts | 9 +- .../contracts/v0/IGatewayTokenV0__factory.ts | 9 +- .../contracts/typechain-types/hardhat.d.ts | 324 ++ .../src/contracts/typechain-types/index.ts | 38 + .../test/contracts/DummyBrokenEthRecipient.ts | 85 +- .../test/contracts/ERC2771Test.ts | 376 +- .../GatewayTokenClientERC2771Test.ts | 146 - .../GatewayTokenERC2771ClientTest.ts | 158 - .../index.ts | 5 - .../GatewayTokenClientERC2771Test.ts | 200 +- .../GatewayTokenClientERC2771Test.ts | 204 - ...atewayTokenClientERC2771UpgradeableTest.ts | 204 - .../index.ts | 6 - .../test/contracts/GatewayTokenClientTest.ts | 163 +- .../contracts/GatewayTokenInternalsTest.ts | 4964 +++++++---------- .../test/contracts/GatewayTokenUpgradeTest.ts | 4768 +++++++--------- .../test/contracts/StubMultisig.ts | 128 +- .../test/contracts/v0/GatewayTokenV0.ts | 4286 ++++++-------- .../test/contracts/v0/IERC721ExpirableV0.ts | 261 +- .../test/contracts/v0/IGatewayTokenV0.ts | 707 +-- .../src/service/GatewayTs.test.ts | 40 +- .../gateway-eth-ts/src/service/GatewayTs.ts | 18 +- .../src/service/GatewayTsForwarder.test.ts | 68 +- .../src/service/GatewayTsForwarder.ts | 91 +- .../src/service/GatewayTsInternal.ts | 7 +- .../src/service/GatewayTsTransaction.test.ts | 9 +- .../src/service/GatewayTsTransaction.ts | 20 +- .../gateway-eth-ts/src/service/testUtils.ts | 22 +- .../gateway-eth-ts/src/utils/bitmask_flags.ts | 5 +- ethereum/gateway-eth-ts/src/utils/charge.ts | 2 +- ethereum/gateway-eth-ts/src/utils/metatx.ts | 14 +- ethereum/gateway-eth-ts/src/utils/provider.ts | 10 +- ethereum/gateway-eth-ts/src/utils/string.ts | 3 +- .../gateway-eth-ts/src/utils/subscription.ts | 3 +- ethereum/gateway-eth-ts/src/utils/types.ts | 2 +- .../deploy/base-gatekeeper-network.ts | 21 +- .../smart-contract/deploy/charge-handler.ts | 5 +- .../smart-contract/deploy/flags-storage.ts | 14 +- ethereum/smart-contract/deploy/forwarder.ts | 5 +- .../smart-contract/deploy/gateway-token-v0.ts | 5 +- .../smart-contract/deploy/gateway-token.ts | 13 +- .../deploy/test-gatekeeper-network.ts | 13 +- ethereum/smart-contract/deploy/upgrade-v1.ts | 2 +- ethereum/smart-contract/deploy/upgrade-v2.ts | 2 +- ethereum/smart-contract/hardhat.config.ts | 6 +- ethereum/smart-contract/package.json | 12 +- ethereum/smart-contract/scripts/util.ts | 8 +- ethereum/smart-contract/tasks/issueGT.ts | 33 +- ethereum/yarn.lock | 156 +- 136 files changed, 7574 insertions(+), 43755 deletions(-) delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/AccessControl.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/IAccessControl.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/Ownable.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/metatx/MinimalForwarder.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/metatx/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/proxy/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/ERC3525.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/IERC3525Receiver.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/IERC721Receiver.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC3525Metadata.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC721Enumerable.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC721Metadata.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/periphery/interface/IERC3525MetadataDescriptor.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/Forwarder.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenClientTest.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/GatewayInternalTest.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/GatewayTokenInternalsTest.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenUpgradeTest.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/InternalTokenApproval.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/IsGated.sol/IsGated.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/IsGated.sol/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/MultiERC2771ContextNonUpgradeable.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/StubMultisig.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/interfaces/IERC721Freezeble.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/library/InternalTokenApproval.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/library/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/AccessControl__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/IAccessControl__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/metatx/MinimalForwarder__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/metatx/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/ERC3525__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/IERC3525Receiver__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/IERC721Receiver__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC3525Metadata__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC721Enumerable__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC721Metadata__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/periphery/interface/IERC3525MetadataDescriptor__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/Forwarder__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenClientTest__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/GatewayInternalTest__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/GatewayTokenInternalsTest__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenUpgradeTest__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/InternalTokenApproval__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/IsGated.sol/IsGated__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/IsGated.sol/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/MultiERC2771ContextNonUpgradeable__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/StubMultisig__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/interfaces/IERC721Freezeble__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/library/InternalTokenApproval__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/library/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenClientERC2771Test__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenERC2771ClientTest__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771Test__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771UpgradeableTest__factory.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenClientERC2771Test.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenERC2771ClientTest.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/index.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771Test.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771UpgradeableTest.ts delete mode 100644 ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/index.ts diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts index 55d4cb50f..1f3c033cd 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts @@ -4,3 +4,4 @@ /* eslint-disable */ export type { AccessControlUpgradeable } from "./AccessControlUpgradeable"; export type { IAccessControlUpgradeable } from "./IAccessControlUpgradeable"; +export type { OwnableUpgradeable } from "./OwnableUpgradeable"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/AccessControl.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/AccessControl.ts deleted file mode 100644 index 37f69ad0e..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/AccessControl.ts +++ /dev/null @@ -1,399 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export interface AccessControlInterface extends utils.Interface { - functions: { - "DEFAULT_ADMIN_ROLE()": FunctionFragment; - "getRoleAdmin(bytes32)": FunctionFragment; - "grantRole(bytes32,address)": FunctionFragment; - "hasRole(bytes32,address)": FunctionFragment; - "renounceRole(bytes32,address)": FunctionFragment; - "revokeRole(bytes32,address)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "DEFAULT_ADMIN_ROLE" - | "getRoleAdmin" - | "grantRole" - | "hasRole" - | "renounceRole" - | "revokeRole" - | "supportsInterface" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "DEFAULT_ADMIN_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getRoleAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "grantRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "hasRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renounceRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "revokeRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "DEFAULT_ADMIN_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRoleAdmin", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "renounceRole", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - - events: { - "RoleAdminChanged(bytes32,bytes32,bytes32)": EventFragment; - "RoleGranted(bytes32,address,address)": EventFragment; - "RoleRevoked(bytes32,address,address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; -} - -export interface RoleAdminChangedEventObject { - role: string; - previousAdminRole: string; - newAdminRole: string; -} -export type RoleAdminChangedEvent = TypedEvent< - [string, string, string], - RoleAdminChangedEventObject ->; - -export type RoleAdminChangedEventFilter = - TypedEventFilter; - -export interface RoleGrantedEventObject { - role: string; - account: string; - sender: string; -} -export type RoleGrantedEvent = TypedEvent< - [string, string, string], - RoleGrantedEventObject ->; - -export type RoleGrantedEventFilter = TypedEventFilter; - -export interface RoleRevokedEventObject { - role: string; - account: string; - sender: string; -} -export type RoleRevokedEvent = TypedEvent< - [string, string, string], - RoleRevokedEventObject ->; - -export type RoleRevokedEventFilter = TypedEventFilter; - -export interface AccessControl extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: AccessControlInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "RoleAdminChanged(bytes32,bytes32,bytes32)"( - role?: PromiseOrValue | null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - RoleAdminChanged( - role?: PromiseOrValue | null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - - "RoleGranted(bytes32,address,address)"( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - RoleGranted( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - - "RoleRevoked(bytes32,address,address)"( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - RoleRevoked( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - }; - - estimateGas: { - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - DEFAULT_ADMIN_ROLE( - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/IAccessControl.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/IAccessControl.ts deleted file mode 100644 index 91c68ad45..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/IAccessControl.ts +++ /dev/null @@ -1,342 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export interface IAccessControlInterface extends utils.Interface { - functions: { - "getRoleAdmin(bytes32)": FunctionFragment; - "grantRole(bytes32,address)": FunctionFragment; - "hasRole(bytes32,address)": FunctionFragment; - "renounceRole(bytes32,address)": FunctionFragment; - "revokeRole(bytes32,address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "getRoleAdmin" - | "grantRole" - | "hasRole" - | "renounceRole" - | "revokeRole" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "getRoleAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "grantRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "hasRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renounceRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "revokeRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "getRoleAdmin", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "renounceRole", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; - - events: { - "RoleAdminChanged(bytes32,bytes32,bytes32)": EventFragment; - "RoleGranted(bytes32,address,address)": EventFragment; - "RoleRevoked(bytes32,address,address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; -} - -export interface RoleAdminChangedEventObject { - role: string; - previousAdminRole: string; - newAdminRole: string; -} -export type RoleAdminChangedEvent = TypedEvent< - [string, string, string], - RoleAdminChangedEventObject ->; - -export type RoleAdminChangedEventFilter = - TypedEventFilter; - -export interface RoleGrantedEventObject { - role: string; - account: string; - sender: string; -} -export type RoleGrantedEvent = TypedEvent< - [string, string, string], - RoleGrantedEventObject ->; - -export type RoleGrantedEventFilter = TypedEventFilter; - -export interface RoleRevokedEventObject { - role: string; - account: string; - sender: string; -} -export type RoleRevokedEvent = TypedEvent< - [string, string, string], - RoleRevokedEventObject ->; - -export type RoleRevokedEventFilter = TypedEventFilter; - -export interface IAccessControl extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IAccessControlInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "RoleAdminChanged(bytes32,bytes32,bytes32)"( - role?: PromiseOrValue | null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - RoleAdminChanged( - role?: PromiseOrValue | null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - - "RoleGranted(bytes32,address,address)"( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - RoleGranted( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - - "RoleRevoked(bytes32,address,address)"( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - RoleRevoked( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - }; - - estimateGas: { - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/Ownable.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/Ownable.ts deleted file mode 100644 index 292126224..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/Ownable.ts +++ /dev/null @@ -1,177 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export interface OwnableInterface extends utils.Interface { - functions: { - "owner()": FunctionFragment; - "renounceOwnership()": FunctionFragment; - "transferOwnership(address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "owner" | "renounceOwnership" | "transferOwnership" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [PromiseOrValue] - ): 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 interface OwnershipTransferredEventObject { - previousOwner: string; - newOwner: string; -} -export type OwnershipTransferredEvent = TypedEvent< - [string, string], - OwnershipTransferredEventObject ->; - -export type OwnershipTransferredEventFilter = - TypedEventFilter; - -export interface Ownable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: OwnableInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - owner(overrides?: CallOverrides): Promise<[string]>; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - owner(overrides?: CallOverrides): Promise; - - renounceOwnership(overrides?: CallOverrides): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "OwnershipTransferred(address,address)"( - previousOwner?: PromiseOrValue | null, - newOwner?: PromiseOrValue | null - ): OwnershipTransferredEventFilter; - OwnershipTransferred( - previousOwner?: PromiseOrValue | null, - newOwner?: PromiseOrValue | null - ): OwnershipTransferredEventFilter; - }; - - estimateGas: { - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/index.ts deleted file mode 100644 index 228b78049..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/access/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export type { Ownable } from "./Ownable"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/metatx/MinimalForwarder.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/metatx/MinimalForwarder.ts deleted file mode 100644 index e9e9dd488..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/metatx/MinimalForwarder.ts +++ /dev/null @@ -1,205 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export declare namespace MinimalForwarder { - export type ForwardRequestStruct = { - from: PromiseOrValue; - to: PromiseOrValue; - value: PromiseOrValue; - gas: PromiseOrValue; - nonce: PromiseOrValue; - data: PromiseOrValue; - }; - - export type ForwardRequestStructOutput = [ - string, - string, - BigNumber, - BigNumber, - BigNumber, - string - ] & { - from: string; - to: string; - value: BigNumber; - gas: BigNumber; - nonce: BigNumber; - data: string; - }; -} - -export interface MinimalForwarderInterface extends utils.Interface { - functions: { - "execute((address,address,uint256,uint256,uint256,bytes),bytes)": FunctionFragment; - "getNonce(address)": FunctionFragment; - "verify((address,address,uint256,uint256,uint256,bytes),bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "execute" | "getNonce" | "verify" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "execute", - values: [MinimalForwarder.ForwardRequestStruct, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getNonce", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "verify", - values: [MinimalForwarder.ForwardRequestStruct, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "getNonce", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verify", data: BytesLike): Result; - - events: {}; -} - -export interface MinimalForwarder extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: MinimalForwarderInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - execute( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - getNonce( - from: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - verify( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - execute( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - getNonce( - from: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verify( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - execute( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean, string]>; - - getNonce( - from: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verify( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - execute( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - getNonce( - from: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verify( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - execute( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - getNonce( - from: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verify( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/metatx/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/metatx/index.ts deleted file mode 100644 index 7f0a70a73..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/metatx/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export type { MinimalForwarder } from "./MinimalForwarder"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts deleted file mode 100644 index 01327c76d..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export type { ERC1967Proxy } from "./ERC1967Proxy"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/proxy/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/proxy/index.ts deleted file mode 100644 index 08ef74352..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/proxy/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type * as erc1967 from "./ERC1967"; -export type { erc1967 }; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts index 5f6ab14c1..3e4080591 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts @@ -4,45 +4,29 @@ /* eslint-disable */ import type { BaseContract, - BigNumber, BigNumberish, BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, + Interface, EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; import type { - TypedEventFilter, - TypedEvent, + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, TypedListener, - OnEvent, - PromiseOrValue, + TypedContractMethod, } from "../../../../../common"; -export interface IERC20MetadataInterface extends utils.Interface { - functions: { - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "decimals()": FunctionFragment; - "name()": FunctionFragment; - "symbol()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - +export interface IERC20MetadataInterface extends Interface { getFunction( - nameOrSignatureOrTopic: + nameOrSignature: | "allowance" | "approve" | "balanceOf" @@ -54,17 +38,19 @@ export interface IERC20MetadataInterface extends utils.Interface { | "transferFrom" ): FunctionFragment; + getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment; + encodeFunctionData( functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, AddressLike] ): string; encodeFunctionData( functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "balanceOf", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData(functionFragment: "decimals", values?: undefined): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; @@ -75,15 +61,11 @@ export interface IERC20MetadataInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "transfer", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; @@ -101,285 +83,205 @@ export interface IERC20MetadataInterface extends utils.Interface { 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 interface ApprovalEventObject { - owner: string; - spender: string; - value: BigNumber; +export namespace ApprovalEvent { + export type InputTuple = [ + owner: AddressLike, + spender: AddressLike, + value: BigNumberish + ]; + export type OutputTuple = [owner: string, spender: string, value: bigint]; + export interface OutputObject { + owner: string; + spender: string; + value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; -export type ApprovalEventFilter = TypedEventFilter; - -export interface TransferEventObject { - from: string; - to: string; - value: BigNumber; +export namespace TransferEvent { + export type InputTuple = [ + from: AddressLike, + to: AddressLike, + value: BigNumberish + ]; + export type OutputTuple = [from: string, to: string, value: bigint]; + export interface OutputObject { + from: string; + to: string; + value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; export interface IERC20Metadata extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + connect(runner?: ContractRunner | null): IERC20Metadata; + waitForDeployment(): Promise; interface: IERC20MetadataInterface; - queryFilter( - event: TypedEventFilter, + queryFilter( + event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - name(overrides?: CallOverrides): Promise<[string]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + allowance: TypedContractMethod< + [owner: AddressLike, spender: AddressLike], + [bigint], + "view" + >; + + approve: TypedContractMethod< + [spender: AddressLike, amount: BigNumberish], + [boolean], + "nonpayable" + >; + + balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">; + + decimals: TypedContractMethod<[], [bigint], "view">; + + name: TypedContractMethod<[], [string], "view">; + + symbol: TypedContractMethod<[], [string], "view">; + + totalSupply: TypedContractMethod<[], [bigint], "view">; + + transfer: TypedContractMethod< + [to: AddressLike, amount: BigNumberish], + [boolean], + "nonpayable" + >; + + transferFrom: TypedContractMethod< + [from: AddressLike, to: AddressLike, amount: BigNumberish], + [boolean], + "nonpayable" + >; + + getFunction( + key: string | FunctionFragment + ): T; - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; + getFunction( + nameOrSignature: "allowance" + ): TypedContractMethod< + [owner: AddressLike, spender: AddressLike], + [bigint], + "view" + >; + getFunction( + nameOrSignature: "approve" + ): TypedContractMethod< + [spender: AddressLike, amount: BigNumberish], + [boolean], + "nonpayable" + >; + getFunction( + nameOrSignature: "balanceOf" + ): TypedContractMethod<[account: AddressLike], [bigint], "view">; + getFunction( + nameOrSignature: "decimals" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "name" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "symbol" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "totalSupply" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "transfer" + ): TypedContractMethod< + [to: AddressLike, amount: BigNumberish], + [boolean], + "nonpayable" + >; + getFunction( + nameOrSignature: "transferFrom" + ): TypedContractMethod< + [from: AddressLike, to: AddressLike, amount: BigNumberish], + [boolean], + "nonpayable" + >; + + getEvent( + key: "Approval" + ): TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + getEvent( + key: "Transfer" + ): TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; filters: { - "Approval(address,address,uint256)"( - owner?: PromiseOrValue | null, - spender?: PromiseOrValue | null, - value?: null - ): ApprovalEventFilter; - Approval( - owner?: PromiseOrValue | null, - spender?: PromiseOrValue | null, - value?: null - ): ApprovalEventFilter; - - "Transfer(address,address,uint256)"( - from?: PromiseOrValue | null, - to?: PromiseOrValue | null, - value?: null - ): TransferEventFilter; - Transfer( - from?: PromiseOrValue | null, - to?: PromiseOrValue | null, - value?: null - ): TransferEventFilter; - }; - - estimateGas: { - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + "Approval(address,address,uint256)": TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + Approval: TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + + "Transfer(address,address,uint256)": TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + Transfer: TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; }; } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.ts deleted file mode 100644 index c21cbe25c..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.ts +++ /dev/null @@ -1,194 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../../../../common"; - -export interface IERC20PermitInterface extends utils.Interface { - functions: { - "DOMAIN_SEPARATOR()": FunctionFragment; - "nonces(address)": FunctionFragment; - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "DOMAIN_SEPARATOR" | "nonces" | "permit" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "nonces", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "permit", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; - - events: {}; -} - -export interface IERC20Permit extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IERC20PermitInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.ts deleted file mode 100644 index 4450fe417..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export type { IERC20Permit } from "./IERC20Permit"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts index 4450fe417..bb9a18896 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts @@ -2,4 +2,6 @@ // @ts-nocheck /* tslint:disable */ /* eslint-disable */ +export type { ERC20Burnable } from "./ERC20Burnable"; +export type { IERC20Metadata } from "./IERC20Metadata"; export type { IERC20Permit } from "./IERC20Permit"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts index e074b3bb3..e579ced17 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts @@ -4,4 +4,7 @@ /* eslint-disable */ import type * as extensions from "./extensions"; export type { extensions }; +import type * as presets from "./presets"; +export type { presets }; +export type { ERC20 } from "./ERC20"; export type { IERC20 } from "./IERC20"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/ERC3525.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/ERC3525.ts deleted file mode 100644 index 9559e7152..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/ERC3525.ts +++ /dev/null @@ -1,1162 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../common"; - -export interface ERC3525Interface extends utils.Interface { - functions: { - "allowance(uint256,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "approve(uint256,address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "balanceOf(uint256)": FunctionFragment; - "contractURI()": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "metadataDescriptor()": FunctionFragment; - "name()": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "slotOf(uint256)": FunctionFragment; - "slotURI(uint256)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "tokenByIndex(uint256)": FunctionFragment; - "tokenOfOwnerByIndex(address,uint256)": FunctionFragment; - "tokenURI(uint256)": FunctionFragment; - "totalSupply()": FunctionFragment; - "transferFrom(uint256,address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,uint256,uint256)": FunctionFragment; - "valueDecimals()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "allowance" - | "approve(address,uint256)" - | "approve(uint256,address,uint256)" - | "balanceOf(address)" - | "balanceOf(uint256)" - | "contractURI" - | "getApproved" - | "isApprovedForAll" - | "metadataDescriptor" - | "name" - | "ownerOf" - | "safeTransferFrom(address,address,uint256)" - | "safeTransferFrom(address,address,uint256,bytes)" - | "setApprovalForAll" - | "slotOf" - | "slotURI" - | "supportsInterface" - | "symbol" - | "tokenByIndex" - | "tokenOfOwnerByIndex" - | "tokenURI" - | "totalSupply" - | "transferFrom(uint256,address,uint256)" - | "transferFrom(address,address,uint256)" - | "transferFrom(uint256,uint256,uint256)" - | "valueDecimals" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "contractURI", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getApproved", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "metadataDescriptor", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData( - functionFragment: "ownerOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "tokenByIndex", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenOfOwnerByIndex", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,uint256,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "valueDecimals", - values?: undefined - ): string; - - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approve(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "contractURI", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getApproved", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isApprovedForAll", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "metadataDescriptor", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setApprovalForAll", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "slotOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "slotURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "tokenByIndex", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "tokenOfOwnerByIndex", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,uint256,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "valueDecimals", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "ApprovalValue(uint256,address,uint256)": EventFragment; - "SetMetadataDescriptor(address)": EventFragment; - "SlotChanged(uint256,uint256,uint256)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "TransferValue(uint256,uint256,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SetMetadataDescriptor"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SlotChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TransferValue"): EventFragment; -} - -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; -} -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; - -export type ApprovalForAllEventFilter = TypedEventFilter; - -export interface ApprovalValueEventObject { - _tokenId: BigNumber; - _operator: string; - _value: BigNumber; -} -export type ApprovalValueEvent = TypedEvent< - [BigNumber, string, BigNumber], - ApprovalValueEventObject ->; - -export type ApprovalValueEventFilter = TypedEventFilter; - -export interface SetMetadataDescriptorEventObject { - metadataDescriptor: string; -} -export type SetMetadataDescriptorEvent = TypedEvent< - [string], - SetMetadataDescriptorEventObject ->; - -export type SetMetadataDescriptorEventFilter = - TypedEventFilter; - -export interface SlotChangedEventObject { - _tokenId: BigNumber; - _oldSlot: BigNumber; - _newSlot: BigNumber; -} -export type SlotChangedEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - SlotChangedEventObject ->; - -export type SlotChangedEventFilter = TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface TransferValueEventObject { - _fromTokenId: BigNumber; - _toTokenId: BigNumber; - _value: BigNumber; -} -export type TransferValueEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - TransferValueEventObject ->; - -export type TransferValueEventFilter = TypedEventFilter; - -export interface ERC3525 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ERC3525Interface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "approve(address,uint256)"( - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - tokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { balance: BigNumber }>; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - contractURI(overrides?: CallOverrides): Promise<[string]>; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - metadataDescriptor(overrides?: CallOverrides): Promise<[string]>; - - name(overrides?: CallOverrides): Promise<[string]>; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { owner_: string }>; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise<[number]>; - }; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - tokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - callStatic: { - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(uint256,address,uint256)"( - tokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "ApprovalValue(uint256,address,uint256)"( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - ApprovalValue( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - - "SetMetadataDescriptor(address)"( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - SetMetadataDescriptor( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - - "SlotChanged(uint256,uint256,uint256)"( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - SlotChanged( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - - "TransferValue(uint256,uint256,uint256)"( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - TransferValue( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - }; - - estimateGas: { - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - tokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - tokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor( - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/IERC3525Receiver.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/IERC3525Receiver.ts deleted file mode 100644 index 17629066a..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/IERC3525Receiver.ts +++ /dev/null @@ -1,133 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../common"; - -export interface IERC3525ReceiverInterface extends utils.Interface { - functions: { - "onERC3525Received(address,uint256,uint256,uint256,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "onERC3525Received"): FunctionFragment; - - encodeFunctionData( - functionFragment: "onERC3525Received", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "onERC3525Received", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IERC3525Receiver extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IERC3525ReceiverInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - onERC3525Received( - _operator: PromiseOrValue, - _fromTokenId: PromiseOrValue, - _toTokenId: PromiseOrValue, - _value: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - onERC3525Received( - _operator: PromiseOrValue, - _fromTokenId: PromiseOrValue, - _toTokenId: PromiseOrValue, - _value: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - onERC3525Received( - _operator: PromiseOrValue, - _fromTokenId: PromiseOrValue, - _toTokenId: PromiseOrValue, - _value: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - onERC3525Received( - _operator: PromiseOrValue, - _fromTokenId: PromiseOrValue, - _toTokenId: PromiseOrValue, - _value: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - onERC3525Received( - _operator: PromiseOrValue, - _fromTokenId: PromiseOrValue, - _toTokenId: PromiseOrValue, - _value: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/IERC721Receiver.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/IERC721Receiver.ts deleted file mode 100644 index ef68bccfb..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/IERC721Receiver.ts +++ /dev/null @@ -1,127 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../common"; - -export interface IERC721ReceiverInterface extends utils.Interface { - functions: { - "onERC721Received(address,address,uint256,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "onERC721Received"): FunctionFragment; - - encodeFunctionData( - functionFragment: "onERC721Received", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "onERC721Received", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IERC721Receiver extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IERC721ReceiverInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - onERC721Received( - _operator: PromiseOrValue, - _from: PromiseOrValue, - _tokenId: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - onERC721Received( - _operator: PromiseOrValue, - _from: PromiseOrValue, - _tokenId: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - onERC721Received( - _operator: PromiseOrValue, - _from: PromiseOrValue, - _tokenId: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - onERC721Received( - _operator: PromiseOrValue, - _from: PromiseOrValue, - _tokenId: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - onERC721Received( - _operator: PromiseOrValue, - _from: PromiseOrValue, - _tokenId: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC3525Metadata.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC3525Metadata.ts deleted file mode 100644 index 503ad9576..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC3525Metadata.ts +++ /dev/null @@ -1,1025 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export interface IERC3525MetadataInterface extends utils.Interface { - functions: { - "allowance(uint256,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "approve(uint256,address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "balanceOf(uint256)": FunctionFragment; - "contractURI()": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "name()": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "slotOf(uint256)": FunctionFragment; - "slotURI(uint256)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "tokenURI(uint256)": FunctionFragment; - "transferFrom(uint256,address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,uint256,uint256)": FunctionFragment; - "valueDecimals()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "allowance" - | "approve(address,uint256)" - | "approve(uint256,address,uint256)" - | "balanceOf(address)" - | "balanceOf(uint256)" - | "contractURI" - | "getApproved" - | "isApprovedForAll" - | "name" - | "ownerOf" - | "safeTransferFrom(address,address,uint256)" - | "safeTransferFrom(address,address,uint256,bytes)" - | "setApprovalForAll" - | "slotOf" - | "slotURI" - | "supportsInterface" - | "symbol" - | "tokenURI" - | "transferFrom(uint256,address,uint256)" - | "transferFrom(address,address,uint256)" - | "transferFrom(uint256,uint256,uint256)" - | "valueDecimals" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "contractURI", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getApproved", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData( - functionFragment: "ownerOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "tokenURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,uint256,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "valueDecimals", - values?: undefined - ): string; - - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approve(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "contractURI", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getApproved", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isApprovedForAll", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setApprovalForAll", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "slotOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "slotURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,uint256,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "valueDecimals", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "ApprovalValue(uint256,address,uint256)": EventFragment; - "SlotChanged(uint256,uint256,uint256)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "TransferValue(uint256,uint256,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SlotChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TransferValue"): EventFragment; -} - -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; -} -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; - -export type ApprovalForAllEventFilter = TypedEventFilter; - -export interface ApprovalValueEventObject { - _tokenId: BigNumber; - _operator: string; - _value: BigNumber; -} -export type ApprovalValueEvent = TypedEvent< - [BigNumber, string, BigNumber], - ApprovalValueEventObject ->; - -export type ApprovalValueEventFilter = TypedEventFilter; - -export interface SlotChangedEventObject { - _tokenId: BigNumber; - _oldSlot: BigNumber; - _newSlot: BigNumber; -} -export type SlotChangedEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - SlotChangedEventObject ->; - -export type SlotChangedEventFilter = TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface TransferValueEventObject { - _fromTokenId: BigNumber; - _toTokenId: BigNumber; - _value: BigNumber; -} -export type TransferValueEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - TransferValueEventObject ->; - -export type TransferValueEventFilter = TypedEventFilter; - -export interface IERC3525Metadata extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IERC3525MetadataInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - allowance( - _tokenId: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "approve(address,uint256)"( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - _tokenId: PromiseOrValue, - _operator: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "balanceOf(uint256)"( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - contractURI(overrides?: CallOverrides): Promise<[string]>; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - name(overrides?: CallOverrides): Promise<[string]>; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - slotURI( - _slot: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - tokenURI( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - "transferFrom(uint256,address,uint256)"( - _fromTokenId: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - _fromTokenId: PromiseOrValue, - _toTokenId: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise<[number]>; - }; - - allowance( - _tokenId: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - _tokenId: PromiseOrValue, - _operator: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - _slot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenURI( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - _fromTokenId: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - _fromTokenId: PromiseOrValue, - _toTokenId: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - callStatic: { - allowance( - _tokenId: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(uint256,address,uint256)"( - _tokenId: PromiseOrValue, - _operator: PromiseOrValue, - _value: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - _slot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenURI( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - _fromTokenId: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - _fromTokenId: PromiseOrValue, - _toTokenId: PromiseOrValue, - _value: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "ApprovalValue(uint256,address,uint256)"( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - ApprovalValue( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - - "SlotChanged(uint256,uint256,uint256)"( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - SlotChanged( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - - "TransferValue(uint256,uint256,uint256)"( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - TransferValue( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - }; - - estimateGas: { - allowance( - _tokenId: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - _tokenId: PromiseOrValue, - _operator: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - _slot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenURI( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - _fromTokenId: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - _fromTokenId: PromiseOrValue, - _toTokenId: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - allowance( - _tokenId: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - _tokenId: PromiseOrValue, - _operator: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - _slot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenURI( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - _fromTokenId: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - _fromTokenId: PromiseOrValue, - _toTokenId: PromiseOrValue, - _value: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC721Enumerable.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC721Enumerable.ts deleted file mode 100644 index ba01d9a3d..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC721Enumerable.ts +++ /dev/null @@ -1,656 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export interface IERC721EnumerableInterface extends utils.Interface { - functions: { - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "tokenByIndex(uint256)": FunctionFragment; - "tokenOfOwnerByIndex(address,uint256)": FunctionFragment; - "totalSupply()": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "approve" - | "balanceOf" - | "getApproved" - | "isApprovedForAll" - | "ownerOf" - | "safeTransferFrom(address,address,uint256)" - | "safeTransferFrom(address,address,uint256,bytes)" - | "setApprovalForAll" - | "supportsInterface" - | "tokenByIndex" - | "tokenOfOwnerByIndex" - | "totalSupply" - | "transferFrom" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getApproved", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "ownerOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenByIndex", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenOfOwnerByIndex", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getApproved", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isApprovedForAll", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setApprovalForAll", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "tokenByIndex", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "tokenOfOwnerByIndex", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; -} - -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; -} -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; - -export type ApprovalForAllEventFilter = TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface IERC721Enumerable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IERC721EnumerableInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - approve( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - tokenByIndex( - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenOfOwnerByIndex( - _owner: PromiseOrValue, - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - approve( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenByIndex( - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - _owner: PromiseOrValue, - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - approve( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - balanceOf( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenByIndex( - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - _owner: PromiseOrValue, - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - }; - - estimateGas: { - approve( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenByIndex( - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - _owner: PromiseOrValue, - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - approve( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenByIndex( - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - _owner: PromiseOrValue, - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC721Metadata.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC721Metadata.ts deleted file mode 100644 index b84998912..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/extensions/IERC721Metadata.ts +++ /dev/null @@ -1,621 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export interface IERC721MetadataInterface extends utils.Interface { - functions: { - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "name()": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "tokenURI(uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "approve" - | "balanceOf" - | "getApproved" - | "isApprovedForAll" - | "name" - | "ownerOf" - | "safeTransferFrom(address,address,uint256)" - | "safeTransferFrom(address,address,uint256,bytes)" - | "setApprovalForAll" - | "supportsInterface" - | "symbol" - | "tokenURI" - | "transferFrom" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getApproved", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData( - functionFragment: "ownerOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "tokenURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getApproved", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isApprovedForAll", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setApprovalForAll", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; -} - -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; -} -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; - -export type ApprovalForAllEventFilter = TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface IERC721Metadata extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IERC721MetadataInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - approve( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - name(overrides?: CallOverrides): Promise<[string]>; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - tokenURI( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - approve( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenURI( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - approve( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - balanceOf( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenURI( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - }; - - estimateGas: { - approve( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenURI( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - approve( - _approved: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - _owner: PromiseOrValue, - _operator: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - _operator: PromiseOrValue, - _approved: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenURI( - _tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _tokenId: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/periphery/interface/IERC3525MetadataDescriptor.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/periphery/interface/IERC3525MetadataDescriptor.ts deleted file mode 100644 index e4d79d3ec..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/@solvprotocol/erc-3525/periphery/interface/IERC3525MetadataDescriptor.ts +++ /dev/null @@ -1,165 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../../common"; - -export interface IERC3525MetadataDescriptorInterface extends utils.Interface { - functions: { - "constructContractURI()": FunctionFragment; - "constructSlotURI(uint256)": FunctionFragment; - "constructTokenURI(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "constructContractURI" - | "constructSlotURI" - | "constructTokenURI" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "constructContractURI", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "constructSlotURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "constructTokenURI", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "constructContractURI", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "constructSlotURI", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "constructTokenURI", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IERC3525MetadataDescriptor extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IERC3525MetadataDescriptorInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - constructContractURI(overrides?: CallOverrides): Promise<[string]>; - - constructSlotURI( - slot: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - constructTokenURI( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - }; - - constructContractURI(overrides?: CallOverrides): Promise; - - constructSlotURI( - slot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - constructTokenURI( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - constructContractURI(overrides?: CallOverrides): Promise; - - constructSlotURI( - slot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - constructTokenURI( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - constructContractURI(overrides?: CallOverrides): Promise; - - constructSlotURI( - slot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - constructTokenURI( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - constructContractURI( - overrides?: CallOverrides - ): Promise; - - constructSlotURI( - slot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - constructTokenURI( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/Forwarder.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/Forwarder.ts deleted file mode 100644 index 797918383..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/Forwarder.ts +++ /dev/null @@ -1,205 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export declare namespace MinimalForwarder { - export type ForwardRequestStruct = { - from: PromiseOrValue; - to: PromiseOrValue; - value: PromiseOrValue; - gas: PromiseOrValue; - nonce: PromiseOrValue; - data: PromiseOrValue; - }; - - export type ForwardRequestStructOutput = [ - string, - string, - BigNumber, - BigNumber, - BigNumber, - string - ] & { - from: string; - to: string; - value: BigNumber; - gas: BigNumber; - nonce: BigNumber; - data: string; - }; -} - -export interface ForwarderInterface extends utils.Interface { - functions: { - "execute((address,address,uint256,uint256,uint256,bytes),bytes)": FunctionFragment; - "getNonce(address)": FunctionFragment; - "verify((address,address,uint256,uint256,uint256,bytes),bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "execute" | "getNonce" | "verify" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "execute", - values: [MinimalForwarder.ForwardRequestStruct, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getNonce", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "verify", - values: [MinimalForwarder.ForwardRequestStruct, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "getNonce", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verify", data: BytesLike): Result; - - events: {}; -} - -export interface Forwarder extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ForwarderInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - execute( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - getNonce( - from: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - verify( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - execute( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - getNonce( - from: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verify( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - execute( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean, string]>; - - getNonce( - from: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verify( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - execute( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - getNonce( - from: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verify( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - execute( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - getNonce( - from: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verify( - req: MinimalForwarder.ForwardRequestStruct, - signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenClientTest.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenClientTest.ts deleted file mode 100644 index 2dcd977da..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenClientTest.ts +++ /dev/null @@ -1,109 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export interface GatewayTokenClientTestInterface extends utils.Interface { - functions: { - "testGated()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "testGated"): FunctionFragment; - - encodeFunctionData(functionFragment: "testGated", values?: undefined): string; - - decodeFunctionResult(functionFragment: "testGated", data: BytesLike): Result; - - events: { - "Success()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Success"): EventFragment; -} - -export interface SuccessEventObject {} -export type SuccessEvent = TypedEvent<[], SuccessEventObject>; - -export type SuccessEventFilter = TypedEventFilter; - -export interface GatewayTokenClientTest extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GatewayTokenClientTestInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - testGated(overrides?: CallOverrides): Promise; - }; - - filters: { - "Success()"(): SuccessEventFilter; - Success(): SuccessEventFilter; - }; - - estimateGas: { - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/GatewayInternalTest.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/GatewayInternalTest.ts deleted file mode 100644 index 4c4871b22..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/GatewayInternalTest.ts +++ /dev/null @@ -1,3264 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../common"; - -export type ChargeStruct = { - value: PromiseOrValue; - chargeType: PromiseOrValue; - token: PromiseOrValue; - recipient: PromiseOrValue; -}; - -export type ChargeStructOutput = [BigNumber, number, string, string] & { - value: BigNumber; - chargeType: number; - token: string; - recipient: string; -}; - -export interface GatewayInternalTestInterface extends utils.Interface { - functions: { - "DAO_MANAGER_ROLE()": FunctionFragment; - "DEFAULT_ADMIN_ROLE()": FunctionFragment; - "GATEKEEPER_ROLE()": FunctionFragment; - "NETWORK_AUTHORITY_ROLE()": FunctionFragment; - "addForwarder(address)": FunctionFragment; - "addGatekeeper(address,uint256)": FunctionFragment; - "addNetworkAuthority(address,uint256)": FunctionFragment; - "allowance(uint256,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "approve(uint256,address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "balanceOf(uint256)": FunctionFragment; - "burn(uint256)": FunctionFragment; - "contractURI()": FunctionFragment; - "createNetwork(uint256,string,bool,address)": FunctionFragment; - "flagsStorage()": FunctionFragment; - "freeze(uint256)": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "getExpiration(uint256)": FunctionFragment; - "getMsgData()": FunctionFragment; - "getNetwork(uint256)": FunctionFragment; - "getRoleAdmin(bytes32,uint256)": FunctionFragment; - "getToken(uint256)": FunctionFragment; - "getTokenBitmask(uint256)": FunctionFragment; - "getTokenIdsByOwnerAndNetwork(address,uint256)": FunctionFragment; - "grantRole(bytes32,uint256,address)": FunctionFragment; - "hasRole(bytes32,uint256,address)": FunctionFragment; - "initialize(string,string,address,address,address[])": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "isGatekeeper(address,uint256)": FunctionFragment; - "isNetworkAuthority(address,uint256)": FunctionFragment; - "isNetworkDAOGoverned(uint256)": FunctionFragment; - "isSuperAdmin(address)": FunctionFragment; - "isTrustedForwarder(address)": FunctionFragment; - "metadataDescriptor()": FunctionFragment; - "mint(address,uint256,uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "name()": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "proxiableUUID()": FunctionFragment; - "removeForwarder(address)": FunctionFragment; - "removeGatekeeper(address,uint256)": FunctionFragment; - "removeNetworkAuthority(address,uint256)": FunctionFragment; - "renameNetwork(uint256,string)": FunctionFragment; - "renounceRole(bytes32,uint256,address)": FunctionFragment; - "revoke(uint256)": FunctionFragment; - "revokeRole(bytes32,uint256,address)": FunctionFragment; - "revokeSuperAdmin(address)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "setBitmask(uint256,uint256)": FunctionFragment; - "setExpiration(uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "setMetadataDescriptor(address)": FunctionFragment; - "setSuperAdmin(address)": FunctionFragment; - "slotOf(uint256)": FunctionFragment; - "slotURI(uint256)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "tokenByIndex(uint256)": FunctionFragment; - "tokenOfOwnerByIndex(address,uint256)": FunctionFragment; - "tokenURI(uint256)": FunctionFragment; - "totalSupply()": FunctionFragment; - "transferDAOManager(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,uint256,uint256)": FunctionFragment; - "transfersRestricted()": FunctionFragment; - "unfreeze(uint256)": FunctionFragment; - "updateFlagsStorage(address)": FunctionFragment; - "upgradeTo(address)": FunctionFragment; - "upgradeToAndCall(address,bytes)": FunctionFragment; - "valueDecimals()": FunctionFragment; - "verifyToken(address,uint256)": FunctionFragment; - "verifyToken(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "DAO_MANAGER_ROLE" - | "DEFAULT_ADMIN_ROLE" - | "GATEKEEPER_ROLE" - | "NETWORK_AUTHORITY_ROLE" - | "addForwarder" - | "addGatekeeper" - | "addNetworkAuthority" - | "allowance" - | "approve(address,uint256)" - | "approve(uint256,address,uint256)" - | "balanceOf(address)" - | "balanceOf(uint256)" - | "burn" - | "contractURI" - | "createNetwork" - | "flagsStorage" - | "freeze" - | "getApproved" - | "getExpiration" - | "getMsgData" - | "getNetwork" - | "getRoleAdmin" - | "getToken" - | "getTokenBitmask" - | "getTokenIdsByOwnerAndNetwork" - | "grantRole" - | "hasRole" - | "initialize" - | "isApprovedForAll" - | "isGatekeeper" - | "isNetworkAuthority" - | "isNetworkDAOGoverned" - | "isSuperAdmin" - | "isTrustedForwarder" - | "metadataDescriptor" - | "mint" - | "name" - | "ownerOf" - | "proxiableUUID" - | "removeForwarder" - | "removeGatekeeper" - | "removeNetworkAuthority" - | "renameNetwork" - | "renounceRole" - | "revoke" - | "revokeRole" - | "revokeSuperAdmin" - | "safeTransferFrom(address,address,uint256)" - | "safeTransferFrom(address,address,uint256,bytes)" - | "setApprovalForAll" - | "setBitmask" - | "setExpiration" - | "setMetadataDescriptor" - | "setSuperAdmin" - | "slotOf" - | "slotURI" - | "supportsInterface" - | "symbol" - | "tokenByIndex" - | "tokenOfOwnerByIndex" - | "tokenURI" - | "totalSupply" - | "transferDAOManager" - | "transferFrom(uint256,address,uint256)" - | "transferFrom(address,address,uint256)" - | "transferFrom(uint256,uint256,uint256)" - | "transfersRestricted" - | "unfreeze" - | "updateFlagsStorage" - | "upgradeTo" - | "upgradeToAndCall" - | "valueDecimals" - | "verifyToken(address,uint256)" - | "verifyToken(uint256)" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "DAO_MANAGER_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DEFAULT_ADMIN_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "GATEKEEPER_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "NETWORK_AUTHORITY_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "addForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "addGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "addNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "burn", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "contractURI", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "createNetwork", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "flagsStorage", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "freeze", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getApproved", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getExpiration", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getMsgData", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getNetwork", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRoleAdmin", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getToken", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getTokenBitmask", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getTokenIdsByOwnerAndNetwork", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "grantRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "hasRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isNetworkDAOGoverned", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "metadataDescriptor", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData( - functionFragment: "ownerOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "removeGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "removeNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renameNetwork", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renounceRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revoke", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "revokeRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revokeSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setBitmask", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setExpiration", - values: [ - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadataDescriptor", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "tokenByIndex", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenOfOwnerByIndex", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferDAOManager", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,uint256,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transfersRestricted", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "unfreeze", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "updateFlagsStorage", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeTo", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "valueDecimals", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "verifyToken(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "verifyToken(uint256)", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "DAO_MANAGER_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DEFAULT_ADMIN_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "GATEKEEPER_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "NETWORK_AUTHORITY_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approve(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "contractURI", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "createNetwork", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "flagsStorage", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "freeze", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getApproved", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getExpiration", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getMsgData", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "getNetwork", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getRoleAdmin", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getToken", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getTokenBitmask", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTokenIdsByOwnerAndNetwork", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isApprovedForAll", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isNetworkDAOGoverned", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isTrustedForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "metadataDescriptor", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renameNetwork", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceRole", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "revoke", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "revokeSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setApprovalForAll", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setBitmask", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setExpiration", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadataDescriptor", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "slotOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "slotURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "tokenByIndex", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "tokenOfOwnerByIndex", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferDAOManager", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,uint256,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transfersRestricted", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "unfreeze", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateFlagsStorage", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "valueDecimals", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyToken(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyToken(uint256)", - data: BytesLike - ): Result; - - events: { - "AdminChanged(address,address)": EventFragment; - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "ApprovalValue(uint256,address,uint256)": EventFragment; - "BeaconUpgraded(address)": EventFragment; - "BitMaskUpdated(uint256,uint256)": EventFragment; - "DAOManagerTransferred(address,address,uint256)": EventFragment; - "Expiration(uint256,uint256)": EventFragment; - "FlagsStorageUpdated(address)": EventFragment; - "Freeze(uint256)": EventFragment; - "Initialized(uint8)": EventFragment; - "Revoke(uint256)": EventFragment; - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)": EventFragment; - "RoleGranted(bytes32,uint256,address,address)": EventFragment; - "RoleRevoked(bytes32,uint256,address,address)": EventFragment; - "SetMetadataDescriptor(address)": EventFragment; - "SlotChanged(uint256,uint256,uint256)": EventFragment; - "SuperAdminAdded(address)": EventFragment; - "SuperAdminRemoved(address)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "TransferValue(uint256,uint256,uint256)": EventFragment; - "Unfreeze(uint256)": EventFragment; - "Upgraded(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BitMaskUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DAOManagerTransferred"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Expiration"): EventFragment; - getEvent(nameOrSignatureOrTopic: "FlagsStorageUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Freeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Revoke"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SetMetadataDescriptor"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SlotChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminAdded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminRemoved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TransferValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Unfreeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment; -} - -export interface AdminChangedEventObject { - previousAdmin: string; - newAdmin: string; -} -export type AdminChangedEvent = TypedEvent< - [string, string], - AdminChangedEventObject ->; - -export type AdminChangedEventFilter = TypedEventFilter; - -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; -} -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; - -export type ApprovalForAllEventFilter = TypedEventFilter; - -export interface ApprovalValueEventObject { - _tokenId: BigNumber; - _operator: string; - _value: BigNumber; -} -export type ApprovalValueEvent = TypedEvent< - [BigNumber, string, BigNumber], - ApprovalValueEventObject ->; - -export type ApprovalValueEventFilter = TypedEventFilter; - -export interface BeaconUpgradedEventObject { - beacon: string; -} -export type BeaconUpgradedEvent = TypedEvent< - [string], - BeaconUpgradedEventObject ->; - -export type BeaconUpgradedEventFilter = TypedEventFilter; - -export interface BitMaskUpdatedEventObject { - tokenId: BigNumber; - bitmask: BigNumber; -} -export type BitMaskUpdatedEvent = TypedEvent< - [BigNumber, BigNumber], - BitMaskUpdatedEventObject ->; - -export type BitMaskUpdatedEventFilter = TypedEventFilter; - -export interface DAOManagerTransferredEventObject { - previousDAOManager: string; - newDAOManager: string; - network: BigNumber; -} -export type DAOManagerTransferredEvent = TypedEvent< - [string, string, BigNumber], - DAOManagerTransferredEventObject ->; - -export type DAOManagerTransferredEventFilter = - TypedEventFilter; - -export interface ExpirationEventObject { - tokenId: BigNumber; - timestamp: BigNumber; -} -export type ExpirationEvent = TypedEvent< - [BigNumber, BigNumber], - ExpirationEventObject ->; - -export type ExpirationEventFilter = TypedEventFilter; - -export interface FlagsStorageUpdatedEventObject { - flagsStorage: string; -} -export type FlagsStorageUpdatedEvent = TypedEvent< - [string], - FlagsStorageUpdatedEventObject ->; - -export type FlagsStorageUpdatedEventFilter = - TypedEventFilter; - -export interface FreezeEventObject { - tokenId: BigNumber; -} -export type FreezeEvent = TypedEvent<[BigNumber], FreezeEventObject>; - -export type FreezeEventFilter = TypedEventFilter; - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; - -export type InitializedEventFilter = TypedEventFilter; - -export interface RevokeEventObject { - tokenId: BigNumber; -} -export type RevokeEvent = TypedEvent<[BigNumber], RevokeEventObject>; - -export type RevokeEventFilter = TypedEventFilter; - -export interface RoleAdminChangedEventObject { - role: string; - domain: BigNumber; - previousAdminRole: string; - newAdminRole: string; -} -export type RoleAdminChangedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleAdminChangedEventObject ->; - -export type RoleAdminChangedEventFilter = - TypedEventFilter; - -export interface RoleGrantedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleGrantedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleGrantedEventObject ->; - -export type RoleGrantedEventFilter = TypedEventFilter; - -export interface RoleRevokedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleRevokedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleRevokedEventObject ->; - -export type RoleRevokedEventFilter = TypedEventFilter; - -export interface SetMetadataDescriptorEventObject { - metadataDescriptor: string; -} -export type SetMetadataDescriptorEvent = TypedEvent< - [string], - SetMetadataDescriptorEventObject ->; - -export type SetMetadataDescriptorEventFilter = - TypedEventFilter; - -export interface SlotChangedEventObject { - _tokenId: BigNumber; - _oldSlot: BigNumber; - _newSlot: BigNumber; -} -export type SlotChangedEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - SlotChangedEventObject ->; - -export type SlotChangedEventFilter = TypedEventFilter; - -export interface SuperAdminAddedEventObject { - account: string; -} -export type SuperAdminAddedEvent = TypedEvent< - [string], - SuperAdminAddedEventObject ->; - -export type SuperAdminAddedEventFilter = TypedEventFilter; - -export interface SuperAdminRemovedEventObject { - account: string; -} -export type SuperAdminRemovedEvent = TypedEvent< - [string], - SuperAdminRemovedEventObject ->; - -export type SuperAdminRemovedEventFilter = - TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface TransferValueEventObject { - _fromTokenId: BigNumber; - _toTokenId: BigNumber; - _value: BigNumber; -} -export type TransferValueEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - TransferValueEventObject ->; - -export type TransferValueEventFilter = TypedEventFilter; - -export interface UnfreezeEventObject { - tokenId: BigNumber; -} -export type UnfreezeEvent = TypedEvent<[BigNumber], UnfreezeEventObject>; - -export type UnfreezeEventFilter = TypedEventFilter; - -export interface UpgradedEventObject { - implementation: string; -} -export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>; - -export type UpgradedEventFilter = TypedEventFilter; - -export interface GatewayInternalTest extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GatewayInternalTestInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise<[string]>; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { balance: BigNumber }>; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise<[string]>; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise<[string]>; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getMsgData(overrides?: CallOverrides): Promise<[string]>; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber[]]>; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - metadataDescriptor(overrides?: CallOverrides): Promise<[string]>; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { owner_: string }>; - - proxiableUUID(overrides?: CallOverrides): Promise<[string]>; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise<[boolean]>; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise<[number]>; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData(overrides?: CallOverrides): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData(overrides?: CallOverrides): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "AdminChanged(address,address)"( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - AdminChanged( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "ApprovalValue(uint256,address,uint256)"( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - ApprovalValue( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - - "BeaconUpgraded(address)"( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - BeaconUpgraded( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - - "BitMaskUpdated(uint256,uint256)"( - tokenId?: null, - bitmask?: null - ): BitMaskUpdatedEventFilter; - BitMaskUpdated(tokenId?: null, bitmask?: null): BitMaskUpdatedEventFilter; - - "DAOManagerTransferred(address,address,uint256)"( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - DAOManagerTransferred( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - - "Expiration(uint256,uint256)"( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - Expiration( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - - "FlagsStorageUpdated(address)"( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - FlagsStorageUpdated( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - - "Freeze(uint256)"( - tokenId?: PromiseOrValue | null - ): FreezeEventFilter; - Freeze(tokenId?: PromiseOrValue | null): FreezeEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Revoke(uint256)"( - tokenId?: PromiseOrValue | null - ): RevokeEventFilter; - Revoke(tokenId?: PromiseOrValue | null): RevokeEventFilter; - - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)"( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - RoleAdminChanged( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - - "RoleGranted(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - RoleGranted( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - - "RoleRevoked(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - RoleRevoked( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - - "SetMetadataDescriptor(address)"( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - SetMetadataDescriptor( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - - "SlotChanged(uint256,uint256,uint256)"( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - SlotChanged( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - - "SuperAdminAdded(address)"( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - SuperAdminAdded( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - - "SuperAdminRemoved(address)"( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - SuperAdminRemoved( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - - "TransferValue(uint256,uint256,uint256)"( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - TransferValue( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - - "Unfreeze(uint256)"( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - Unfreeze( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - - "Upgraded(address)"( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - Upgraded( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - }; - - estimateGas: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData(overrides?: CallOverrides): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE( - overrides?: CallOverrides - ): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE( - overrides?: CallOverrides - ): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData(overrides?: CallOverrides): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor( - overrides?: CallOverrides - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted( - overrides?: CallOverrides - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/GatewayTokenInternalsTest.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/GatewayTokenInternalsTest.ts deleted file mode 100644 index 9506d33b1..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/GatewayTokenInternalsTest.ts +++ /dev/null @@ -1,3264 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../common"; - -export type ChargeStruct = { - value: PromiseOrValue; - chargeType: PromiseOrValue; - token: PromiseOrValue; - recipient: PromiseOrValue; -}; - -export type ChargeStructOutput = [BigNumber, number, string, string] & { - value: BigNumber; - chargeType: number; - token: string; - recipient: string; -}; - -export interface GatewayTokenInternalsTestInterface extends utils.Interface { - functions: { - "DAO_MANAGER_ROLE()": FunctionFragment; - "DEFAULT_ADMIN_ROLE()": FunctionFragment; - "GATEKEEPER_ROLE()": FunctionFragment; - "NETWORK_AUTHORITY_ROLE()": FunctionFragment; - "addForwarder(address)": FunctionFragment; - "addGatekeeper(address,uint256)": FunctionFragment; - "addNetworkAuthority(address,uint256)": FunctionFragment; - "allowance(uint256,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "approve(uint256,address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "balanceOf(uint256)": FunctionFragment; - "burn(uint256)": FunctionFragment; - "contractURI()": FunctionFragment; - "createNetwork(uint256,string,bool,address)": FunctionFragment; - "flagsStorage()": FunctionFragment; - "freeze(uint256)": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "getExpiration(uint256)": FunctionFragment; - "getMsgData()": FunctionFragment; - "getNetwork(uint256)": FunctionFragment; - "getRoleAdmin(bytes32,uint256)": FunctionFragment; - "getToken(uint256)": FunctionFragment; - "getTokenBitmask(uint256)": FunctionFragment; - "getTokenIdsByOwnerAndNetwork(address,uint256)": FunctionFragment; - "grantRole(bytes32,uint256,address)": FunctionFragment; - "hasRole(bytes32,uint256,address)": FunctionFragment; - "initialize(string,string,address,address,address[])": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "isGatekeeper(address,uint256)": FunctionFragment; - "isNetworkAuthority(address,uint256)": FunctionFragment; - "isNetworkDAOGoverned(uint256)": FunctionFragment; - "isSuperAdmin(address)": FunctionFragment; - "isTrustedForwarder(address)": FunctionFragment; - "metadataDescriptor()": FunctionFragment; - "mint(address,uint256,uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "name()": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "proxiableUUID()": FunctionFragment; - "removeForwarder(address)": FunctionFragment; - "removeGatekeeper(address,uint256)": FunctionFragment; - "removeNetworkAuthority(address,uint256)": FunctionFragment; - "renameNetwork(uint256,string)": FunctionFragment; - "renounceRole(bytes32,uint256,address)": FunctionFragment; - "revoke(uint256)": FunctionFragment; - "revokeRole(bytes32,uint256,address)": FunctionFragment; - "revokeSuperAdmin(address)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "setBitmask(uint256,uint256)": FunctionFragment; - "setExpiration(uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "setMetadataDescriptor(address)": FunctionFragment; - "setSuperAdmin(address)": FunctionFragment; - "slotOf(uint256)": FunctionFragment; - "slotURI(uint256)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "tokenByIndex(uint256)": FunctionFragment; - "tokenOfOwnerByIndex(address,uint256)": FunctionFragment; - "tokenURI(uint256)": FunctionFragment; - "totalSupply()": FunctionFragment; - "transferDAOManager(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,uint256,uint256)": FunctionFragment; - "transfersRestricted()": FunctionFragment; - "unfreeze(uint256)": FunctionFragment; - "updateFlagsStorage(address)": FunctionFragment; - "upgradeTo(address)": FunctionFragment; - "upgradeToAndCall(address,bytes)": FunctionFragment; - "valueDecimals()": FunctionFragment; - "verifyToken(address,uint256)": FunctionFragment; - "verifyToken(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "DAO_MANAGER_ROLE" - | "DEFAULT_ADMIN_ROLE" - | "GATEKEEPER_ROLE" - | "NETWORK_AUTHORITY_ROLE" - | "addForwarder" - | "addGatekeeper" - | "addNetworkAuthority" - | "allowance" - | "approve(address,uint256)" - | "approve(uint256,address,uint256)" - | "balanceOf(address)" - | "balanceOf(uint256)" - | "burn" - | "contractURI" - | "createNetwork" - | "flagsStorage" - | "freeze" - | "getApproved" - | "getExpiration" - | "getMsgData" - | "getNetwork" - | "getRoleAdmin" - | "getToken" - | "getTokenBitmask" - | "getTokenIdsByOwnerAndNetwork" - | "grantRole" - | "hasRole" - | "initialize" - | "isApprovedForAll" - | "isGatekeeper" - | "isNetworkAuthority" - | "isNetworkDAOGoverned" - | "isSuperAdmin" - | "isTrustedForwarder" - | "metadataDescriptor" - | "mint" - | "name" - | "ownerOf" - | "proxiableUUID" - | "removeForwarder" - | "removeGatekeeper" - | "removeNetworkAuthority" - | "renameNetwork" - | "renounceRole" - | "revoke" - | "revokeRole" - | "revokeSuperAdmin" - | "safeTransferFrom(address,address,uint256)" - | "safeTransferFrom(address,address,uint256,bytes)" - | "setApprovalForAll" - | "setBitmask" - | "setExpiration" - | "setMetadataDescriptor" - | "setSuperAdmin" - | "slotOf" - | "slotURI" - | "supportsInterface" - | "symbol" - | "tokenByIndex" - | "tokenOfOwnerByIndex" - | "tokenURI" - | "totalSupply" - | "transferDAOManager" - | "transferFrom(uint256,address,uint256)" - | "transferFrom(address,address,uint256)" - | "transferFrom(uint256,uint256,uint256)" - | "transfersRestricted" - | "unfreeze" - | "updateFlagsStorage" - | "upgradeTo" - | "upgradeToAndCall" - | "valueDecimals" - | "verifyToken(address,uint256)" - | "verifyToken(uint256)" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "DAO_MANAGER_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DEFAULT_ADMIN_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "GATEKEEPER_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "NETWORK_AUTHORITY_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "addForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "addGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "addNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "burn", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "contractURI", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "createNetwork", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "flagsStorage", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "freeze", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getApproved", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getExpiration", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getMsgData", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getNetwork", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRoleAdmin", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getToken", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getTokenBitmask", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getTokenIdsByOwnerAndNetwork", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "grantRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "hasRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isNetworkDAOGoverned", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "metadataDescriptor", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData( - functionFragment: "ownerOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "removeGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "removeNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renameNetwork", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renounceRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revoke", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "revokeRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revokeSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setBitmask", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setExpiration", - values: [ - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadataDescriptor", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "tokenByIndex", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenOfOwnerByIndex", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferDAOManager", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,uint256,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transfersRestricted", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "unfreeze", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "updateFlagsStorage", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeTo", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "valueDecimals", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "verifyToken(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "verifyToken(uint256)", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "DAO_MANAGER_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DEFAULT_ADMIN_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "GATEKEEPER_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "NETWORK_AUTHORITY_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approve(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "contractURI", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "createNetwork", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "flagsStorage", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "freeze", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getApproved", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getExpiration", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getMsgData", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "getNetwork", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getRoleAdmin", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getToken", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getTokenBitmask", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTokenIdsByOwnerAndNetwork", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isApprovedForAll", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isNetworkDAOGoverned", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isTrustedForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "metadataDescriptor", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renameNetwork", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceRole", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "revoke", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "revokeSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setApprovalForAll", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setBitmask", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setExpiration", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadataDescriptor", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "slotOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "slotURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "tokenByIndex", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "tokenOfOwnerByIndex", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferDAOManager", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,uint256,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transfersRestricted", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "unfreeze", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateFlagsStorage", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "valueDecimals", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyToken(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyToken(uint256)", - data: BytesLike - ): Result; - - events: { - "AdminChanged(address,address)": EventFragment; - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "ApprovalValue(uint256,address,uint256)": EventFragment; - "BeaconUpgraded(address)": EventFragment; - "BitMaskUpdated(uint256,uint256)": EventFragment; - "DAOManagerTransferred(address,address,uint256)": EventFragment; - "Expiration(uint256,uint256)": EventFragment; - "FlagsStorageUpdated(address)": EventFragment; - "Freeze(uint256)": EventFragment; - "Initialized(uint8)": EventFragment; - "Revoke(uint256)": EventFragment; - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)": EventFragment; - "RoleGranted(bytes32,uint256,address,address)": EventFragment; - "RoleRevoked(bytes32,uint256,address,address)": EventFragment; - "SetMetadataDescriptor(address)": EventFragment; - "SlotChanged(uint256,uint256,uint256)": EventFragment; - "SuperAdminAdded(address)": EventFragment; - "SuperAdminRemoved(address)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "TransferValue(uint256,uint256,uint256)": EventFragment; - "Unfreeze(uint256)": EventFragment; - "Upgraded(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BitMaskUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DAOManagerTransferred"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Expiration"): EventFragment; - getEvent(nameOrSignatureOrTopic: "FlagsStorageUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Freeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Revoke"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SetMetadataDescriptor"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SlotChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminAdded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminRemoved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TransferValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Unfreeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment; -} - -export interface AdminChangedEventObject { - previousAdmin: string; - newAdmin: string; -} -export type AdminChangedEvent = TypedEvent< - [string, string], - AdminChangedEventObject ->; - -export type AdminChangedEventFilter = TypedEventFilter; - -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; -} -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; - -export type ApprovalForAllEventFilter = TypedEventFilter; - -export interface ApprovalValueEventObject { - _tokenId: BigNumber; - _operator: string; - _value: BigNumber; -} -export type ApprovalValueEvent = TypedEvent< - [BigNumber, string, BigNumber], - ApprovalValueEventObject ->; - -export type ApprovalValueEventFilter = TypedEventFilter; - -export interface BeaconUpgradedEventObject { - beacon: string; -} -export type BeaconUpgradedEvent = TypedEvent< - [string], - BeaconUpgradedEventObject ->; - -export type BeaconUpgradedEventFilter = TypedEventFilter; - -export interface BitMaskUpdatedEventObject { - tokenId: BigNumber; - bitmask: BigNumber; -} -export type BitMaskUpdatedEvent = TypedEvent< - [BigNumber, BigNumber], - BitMaskUpdatedEventObject ->; - -export type BitMaskUpdatedEventFilter = TypedEventFilter; - -export interface DAOManagerTransferredEventObject { - previousDAOManager: string; - newDAOManager: string; - network: BigNumber; -} -export type DAOManagerTransferredEvent = TypedEvent< - [string, string, BigNumber], - DAOManagerTransferredEventObject ->; - -export type DAOManagerTransferredEventFilter = - TypedEventFilter; - -export interface ExpirationEventObject { - tokenId: BigNumber; - timestamp: BigNumber; -} -export type ExpirationEvent = TypedEvent< - [BigNumber, BigNumber], - ExpirationEventObject ->; - -export type ExpirationEventFilter = TypedEventFilter; - -export interface FlagsStorageUpdatedEventObject { - flagsStorage: string; -} -export type FlagsStorageUpdatedEvent = TypedEvent< - [string], - FlagsStorageUpdatedEventObject ->; - -export type FlagsStorageUpdatedEventFilter = - TypedEventFilter; - -export interface FreezeEventObject { - tokenId: BigNumber; -} -export type FreezeEvent = TypedEvent<[BigNumber], FreezeEventObject>; - -export type FreezeEventFilter = TypedEventFilter; - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; - -export type InitializedEventFilter = TypedEventFilter; - -export interface RevokeEventObject { - tokenId: BigNumber; -} -export type RevokeEvent = TypedEvent<[BigNumber], RevokeEventObject>; - -export type RevokeEventFilter = TypedEventFilter; - -export interface RoleAdminChangedEventObject { - role: string; - domain: BigNumber; - previousAdminRole: string; - newAdminRole: string; -} -export type RoleAdminChangedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleAdminChangedEventObject ->; - -export type RoleAdminChangedEventFilter = - TypedEventFilter; - -export interface RoleGrantedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleGrantedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleGrantedEventObject ->; - -export type RoleGrantedEventFilter = TypedEventFilter; - -export interface RoleRevokedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleRevokedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleRevokedEventObject ->; - -export type RoleRevokedEventFilter = TypedEventFilter; - -export interface SetMetadataDescriptorEventObject { - metadataDescriptor: string; -} -export type SetMetadataDescriptorEvent = TypedEvent< - [string], - SetMetadataDescriptorEventObject ->; - -export type SetMetadataDescriptorEventFilter = - TypedEventFilter; - -export interface SlotChangedEventObject { - _tokenId: BigNumber; - _oldSlot: BigNumber; - _newSlot: BigNumber; -} -export type SlotChangedEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - SlotChangedEventObject ->; - -export type SlotChangedEventFilter = TypedEventFilter; - -export interface SuperAdminAddedEventObject { - account: string; -} -export type SuperAdminAddedEvent = TypedEvent< - [string], - SuperAdminAddedEventObject ->; - -export type SuperAdminAddedEventFilter = TypedEventFilter; - -export interface SuperAdminRemovedEventObject { - account: string; -} -export type SuperAdminRemovedEvent = TypedEvent< - [string], - SuperAdminRemovedEventObject ->; - -export type SuperAdminRemovedEventFilter = - TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface TransferValueEventObject { - _fromTokenId: BigNumber; - _toTokenId: BigNumber; - _value: BigNumber; -} -export type TransferValueEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - TransferValueEventObject ->; - -export type TransferValueEventFilter = TypedEventFilter; - -export interface UnfreezeEventObject { - tokenId: BigNumber; -} -export type UnfreezeEvent = TypedEvent<[BigNumber], UnfreezeEventObject>; - -export type UnfreezeEventFilter = TypedEventFilter; - -export interface UpgradedEventObject { - implementation: string; -} -export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>; - -export type UpgradedEventFilter = TypedEventFilter; - -export interface GatewayTokenInternalsTest extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GatewayTokenInternalsTestInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise<[string]>; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { balance: BigNumber }>; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise<[string]>; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise<[string]>; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getMsgData(overrides?: CallOverrides): Promise<[string]>; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber[]]>; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - metadataDescriptor(overrides?: CallOverrides): Promise<[string]>; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { owner_: string }>; - - proxiableUUID(overrides?: CallOverrides): Promise<[string]>; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise<[boolean]>; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise<[number]>; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData(overrides?: CallOverrides): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData(overrides?: CallOverrides): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "AdminChanged(address,address)"( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - AdminChanged( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "ApprovalValue(uint256,address,uint256)"( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - ApprovalValue( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - - "BeaconUpgraded(address)"( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - BeaconUpgraded( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - - "BitMaskUpdated(uint256,uint256)"( - tokenId?: null, - bitmask?: null - ): BitMaskUpdatedEventFilter; - BitMaskUpdated(tokenId?: null, bitmask?: null): BitMaskUpdatedEventFilter; - - "DAOManagerTransferred(address,address,uint256)"( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - DAOManagerTransferred( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - - "Expiration(uint256,uint256)"( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - Expiration( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - - "FlagsStorageUpdated(address)"( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - FlagsStorageUpdated( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - - "Freeze(uint256)"( - tokenId?: PromiseOrValue | null - ): FreezeEventFilter; - Freeze(tokenId?: PromiseOrValue | null): FreezeEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Revoke(uint256)"( - tokenId?: PromiseOrValue | null - ): RevokeEventFilter; - Revoke(tokenId?: PromiseOrValue | null): RevokeEventFilter; - - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)"( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - RoleAdminChanged( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - - "RoleGranted(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - RoleGranted( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - - "RoleRevoked(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - RoleRevoked( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - - "SetMetadataDescriptor(address)"( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - SetMetadataDescriptor( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - - "SlotChanged(uint256,uint256,uint256)"( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - SlotChanged( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - - "SuperAdminAdded(address)"( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - SuperAdminAdded( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - - "SuperAdminRemoved(address)"( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - SuperAdminRemoved( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - - "TransferValue(uint256,uint256,uint256)"( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - TransferValue( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - - "Unfreeze(uint256)"( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - Unfreeze( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - - "Upgraded(address)"( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - Upgraded( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - }; - - estimateGas: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData(overrides?: CallOverrides): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE( - overrides?: CallOverrides - ): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE( - overrides?: CallOverrides - ): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData(overrides?: CallOverrides): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor( - overrides?: CallOverrides - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted( - overrides?: CallOverrides - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/index.ts deleted file mode 100644 index 48656e92b..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.sol/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export type { GatewayInternalTest } from "./GatewayInternalTest"; -export type { GatewayTokenInternalsTest } from "./GatewayTokenInternalsTest"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.ts deleted file mode 100644 index c598c8738..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenInternalsTest.ts +++ /dev/null @@ -1,3373 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export type ChargeStruct = { - value: PromiseOrValue; - chargeType: PromiseOrValue; - token: PromiseOrValue; - recipient: PromiseOrValue; -}; - -export type ChargeStructOutput = [BigNumber, number, string, string] & { - value: BigNumber; - chargeType: number; - token: string; - recipient: string; -}; - -export interface GatewayTokenInternalsTestInterface extends utils.Interface { - functions: { - "DAO_MANAGER_ROLE()": FunctionFragment; - "DEFAULT_ADMIN_ROLE()": FunctionFragment; - "GATEKEEPER_ROLE()": FunctionFragment; - "NETWORK_AUTHORITY_ROLE()": FunctionFragment; - "addForwarder(address)": FunctionFragment; - "addGatekeeper(address,uint256)": FunctionFragment; - "addNetworkAuthority(address,uint256)": FunctionFragment; - "allowance(uint256,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "approve(uint256,address,uint256)": FunctionFragment; - "authorizedUpgrade()": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "balanceOf(uint256)": FunctionFragment; - "burn(uint256)": FunctionFragment; - "contractURI()": FunctionFragment; - "createNetwork(uint256,string,bool,address)": FunctionFragment; - "flagsStorage()": FunctionFragment; - "freeze(uint256)": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "getExpiration(uint256)": FunctionFragment; - "getMsgData(uint256)": FunctionFragment; - "getMsgSender()": FunctionFragment; - "getNetwork(uint256)": FunctionFragment; - "getRoleAdmin(bytes32,uint256)": FunctionFragment; - "getToken(uint256)": FunctionFragment; - "getTokenBitmask(uint256)": FunctionFragment; - "getTokenIdsByOwnerAndNetwork(address,uint256)": FunctionFragment; - "grantRole(bytes32,uint256,address)": FunctionFragment; - "hasRole(bytes32,uint256,address)": FunctionFragment; - "initialize(string,string,address,address,address[])": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "isGatekeeper(address,uint256)": FunctionFragment; - "isNetworkAuthority(address,uint256)": FunctionFragment; - "isNetworkDAOGoverned(uint256)": FunctionFragment; - "isSuperAdmin(address)": FunctionFragment; - "isTrustedForwarder(address)": FunctionFragment; - "metadataDescriptor()": FunctionFragment; - "mint(address,uint256,uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "name()": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "proxiableUUID()": FunctionFragment; - "removeForwarder(address)": FunctionFragment; - "removeGatekeeper(address,uint256)": FunctionFragment; - "removeNetworkAuthority(address,uint256)": FunctionFragment; - "renameNetwork(uint256,string)": FunctionFragment; - "renounceRole(bytes32,uint256,address)": FunctionFragment; - "revoke(uint256)": FunctionFragment; - "revokeRole(bytes32,uint256,address)": FunctionFragment; - "revokeSuperAdmin(address)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "setBitmask(uint256,uint256)": FunctionFragment; - "setExpiration(uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "setMetadataDescriptor(address)": FunctionFragment; - "setSuperAdmin(address)": FunctionFragment; - "slotOf(uint256)": FunctionFragment; - "slotURI(uint256)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "tokenByIndex(uint256)": FunctionFragment; - "tokenOfOwnerByIndex(address,uint256)": FunctionFragment; - "tokenURI(uint256)": FunctionFragment; - "totalSupply()": FunctionFragment; - "transferDAOManager(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,uint256,uint256)": FunctionFragment; - "transfersRestricted()": FunctionFragment; - "unfreeze(uint256)": FunctionFragment; - "updateFlagsStorage(address)": FunctionFragment; - "upgradeTo(address)": FunctionFragment; - "upgradeToAndCall(address,bytes)": FunctionFragment; - "valueDecimals()": FunctionFragment; - "verifyToken(address,uint256)": FunctionFragment; - "verifyToken(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "DAO_MANAGER_ROLE" - | "DEFAULT_ADMIN_ROLE" - | "GATEKEEPER_ROLE" - | "NETWORK_AUTHORITY_ROLE" - | "addForwarder" - | "addGatekeeper" - | "addNetworkAuthority" - | "allowance" - | "approve(address,uint256)" - | "approve(uint256,address,uint256)" - | "authorizedUpgrade" - | "balanceOf(address)" - | "balanceOf(uint256)" - | "burn" - | "contractURI" - | "createNetwork" - | "flagsStorage" - | "freeze" - | "getApproved" - | "getExpiration" - | "getMsgData" - | "getMsgSender" - | "getNetwork" - | "getRoleAdmin" - | "getToken" - | "getTokenBitmask" - | "getTokenIdsByOwnerAndNetwork" - | "grantRole" - | "hasRole" - | "initialize" - | "isApprovedForAll" - | "isGatekeeper" - | "isNetworkAuthority" - | "isNetworkDAOGoverned" - | "isSuperAdmin" - | "isTrustedForwarder" - | "metadataDescriptor" - | "mint" - | "name" - | "ownerOf" - | "proxiableUUID" - | "removeForwarder" - | "removeGatekeeper" - | "removeNetworkAuthority" - | "renameNetwork" - | "renounceRole" - | "revoke" - | "revokeRole" - | "revokeSuperAdmin" - | "safeTransferFrom(address,address,uint256)" - | "safeTransferFrom(address,address,uint256,bytes)" - | "setApprovalForAll" - | "setBitmask" - | "setExpiration" - | "setMetadataDescriptor" - | "setSuperAdmin" - | "slotOf" - | "slotURI" - | "supportsInterface" - | "symbol" - | "tokenByIndex" - | "tokenOfOwnerByIndex" - | "tokenURI" - | "totalSupply" - | "transferDAOManager" - | "transferFrom(uint256,address,uint256)" - | "transferFrom(address,address,uint256)" - | "transferFrom(uint256,uint256,uint256)" - | "transfersRestricted" - | "unfreeze" - | "updateFlagsStorage" - | "upgradeTo" - | "upgradeToAndCall" - | "valueDecimals" - | "verifyToken(address,uint256)" - | "verifyToken(uint256)" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "DAO_MANAGER_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DEFAULT_ADMIN_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "GATEKEEPER_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "NETWORK_AUTHORITY_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "addForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "addGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "addNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "authorizedUpgrade", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "burn", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "contractURI", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "createNetwork", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "flagsStorage", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "freeze", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getApproved", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getExpiration", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getMsgData", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getMsgSender", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getNetwork", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRoleAdmin", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getToken", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getTokenBitmask", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getTokenIdsByOwnerAndNetwork", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "grantRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "hasRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isNetworkDAOGoverned", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "metadataDescriptor", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData( - functionFragment: "ownerOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "removeGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "removeNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renameNetwork", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renounceRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revoke", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "revokeRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revokeSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setBitmask", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setExpiration", - values: [ - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadataDescriptor", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "tokenByIndex", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenOfOwnerByIndex", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferDAOManager", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,uint256,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transfersRestricted", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "unfreeze", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "updateFlagsStorage", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeTo", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "valueDecimals", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "verifyToken(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "verifyToken(uint256)", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "DAO_MANAGER_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DEFAULT_ADMIN_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "GATEKEEPER_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "NETWORK_AUTHORITY_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approve(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "authorizedUpgrade", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "contractURI", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "createNetwork", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "flagsStorage", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "freeze", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getApproved", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getExpiration", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getMsgData", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getMsgSender", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getNetwork", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getRoleAdmin", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getToken", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getTokenBitmask", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTokenIdsByOwnerAndNetwork", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isApprovedForAll", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isNetworkDAOGoverned", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isTrustedForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "metadataDescriptor", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renameNetwork", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceRole", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "revoke", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "revokeSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setApprovalForAll", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setBitmask", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setExpiration", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadataDescriptor", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "slotOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "slotURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "tokenByIndex", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "tokenOfOwnerByIndex", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferDAOManager", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,uint256,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transfersRestricted", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "unfreeze", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateFlagsStorage", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "valueDecimals", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyToken(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyToken(uint256)", - data: BytesLike - ): Result; - - events: { - "AdminChanged(address,address)": EventFragment; - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "ApprovalValue(uint256,address,uint256)": EventFragment; - "AuthorizedUpgrade()": EventFragment; - "BeaconUpgraded(address)": EventFragment; - "BitMaskUpdated(uint256,uint256)": EventFragment; - "DAOManagerTransferred(address,address,uint256)": EventFragment; - "Expiration(uint256,uint256)": EventFragment; - "FlagsStorageUpdated(address)": EventFragment; - "Freeze(uint256)": EventFragment; - "Initialized(uint8)": EventFragment; - "MsgData(bytes)": EventFragment; - "MsgSender(address)": EventFragment; - "Revoke(uint256)": EventFragment; - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)": EventFragment; - "RoleGranted(bytes32,uint256,address,address)": EventFragment; - "RoleRevoked(bytes32,uint256,address,address)": EventFragment; - "SetMetadataDescriptor(address)": EventFragment; - "SlotChanged(uint256,uint256,uint256)": EventFragment; - "SuperAdminAdded(address)": EventFragment; - "SuperAdminRemoved(address)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "TransferValue(uint256,uint256,uint256)": EventFragment; - "Unfreeze(uint256)": EventFragment; - "Upgraded(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "AuthorizedUpgrade"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BitMaskUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DAOManagerTransferred"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Expiration"): EventFragment; - getEvent(nameOrSignatureOrTopic: "FlagsStorageUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Freeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MsgData"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MsgSender"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Revoke"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SetMetadataDescriptor"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SlotChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminAdded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminRemoved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TransferValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Unfreeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment; -} - -export interface AdminChangedEventObject { - previousAdmin: string; - newAdmin: string; -} -export type AdminChangedEvent = TypedEvent< - [string, string], - AdminChangedEventObject ->; - -export type AdminChangedEventFilter = TypedEventFilter; - -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; -} -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; - -export type ApprovalForAllEventFilter = TypedEventFilter; - -export interface ApprovalValueEventObject { - _tokenId: BigNumber; - _operator: string; - _value: BigNumber; -} -export type ApprovalValueEvent = TypedEvent< - [BigNumber, string, BigNumber], - ApprovalValueEventObject ->; - -export type ApprovalValueEventFilter = TypedEventFilter; - -export interface AuthorizedUpgradeEventObject {} -export type AuthorizedUpgradeEvent = TypedEvent< - [], - AuthorizedUpgradeEventObject ->; - -export type AuthorizedUpgradeEventFilter = - TypedEventFilter; - -export interface BeaconUpgradedEventObject { - beacon: string; -} -export type BeaconUpgradedEvent = TypedEvent< - [string], - BeaconUpgradedEventObject ->; - -export type BeaconUpgradedEventFilter = TypedEventFilter; - -export interface BitMaskUpdatedEventObject { - tokenId: BigNumber; - bitmask: BigNumber; -} -export type BitMaskUpdatedEvent = TypedEvent< - [BigNumber, BigNumber], - BitMaskUpdatedEventObject ->; - -export type BitMaskUpdatedEventFilter = TypedEventFilter; - -export interface DAOManagerTransferredEventObject { - previousDAOManager: string; - newDAOManager: string; - network: BigNumber; -} -export type DAOManagerTransferredEvent = TypedEvent< - [string, string, BigNumber], - DAOManagerTransferredEventObject ->; - -export type DAOManagerTransferredEventFilter = - TypedEventFilter; - -export interface ExpirationEventObject { - tokenId: BigNumber; - timestamp: BigNumber; -} -export type ExpirationEvent = TypedEvent< - [BigNumber, BigNumber], - ExpirationEventObject ->; - -export type ExpirationEventFilter = TypedEventFilter; - -export interface FlagsStorageUpdatedEventObject { - flagsStorage: string; -} -export type FlagsStorageUpdatedEvent = TypedEvent< - [string], - FlagsStorageUpdatedEventObject ->; - -export type FlagsStorageUpdatedEventFilter = - TypedEventFilter; - -export interface FreezeEventObject { - tokenId: BigNumber; -} -export type FreezeEvent = TypedEvent<[BigNumber], FreezeEventObject>; - -export type FreezeEventFilter = TypedEventFilter; - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; - -export type InitializedEventFilter = TypedEventFilter; - -export interface MsgDataEventObject { - arg0: string; -} -export type MsgDataEvent = TypedEvent<[string], MsgDataEventObject>; - -export type MsgDataEventFilter = TypedEventFilter; - -export interface MsgSenderEventObject { - arg0: string; -} -export type MsgSenderEvent = TypedEvent<[string], MsgSenderEventObject>; - -export type MsgSenderEventFilter = TypedEventFilter; - -export interface RevokeEventObject { - tokenId: BigNumber; -} -export type RevokeEvent = TypedEvent<[BigNumber], RevokeEventObject>; - -export type RevokeEventFilter = TypedEventFilter; - -export interface RoleAdminChangedEventObject { - role: string; - domain: BigNumber; - previousAdminRole: string; - newAdminRole: string; -} -export type RoleAdminChangedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleAdminChangedEventObject ->; - -export type RoleAdminChangedEventFilter = - TypedEventFilter; - -export interface RoleGrantedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleGrantedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleGrantedEventObject ->; - -export type RoleGrantedEventFilter = TypedEventFilter; - -export interface RoleRevokedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleRevokedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleRevokedEventObject ->; - -export type RoleRevokedEventFilter = TypedEventFilter; - -export interface SetMetadataDescriptorEventObject { - metadataDescriptor: string; -} -export type SetMetadataDescriptorEvent = TypedEvent< - [string], - SetMetadataDescriptorEventObject ->; - -export type SetMetadataDescriptorEventFilter = - TypedEventFilter; - -export interface SlotChangedEventObject { - _tokenId: BigNumber; - _oldSlot: BigNumber; - _newSlot: BigNumber; -} -export type SlotChangedEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - SlotChangedEventObject ->; - -export type SlotChangedEventFilter = TypedEventFilter; - -export interface SuperAdminAddedEventObject { - account: string; -} -export type SuperAdminAddedEvent = TypedEvent< - [string], - SuperAdminAddedEventObject ->; - -export type SuperAdminAddedEventFilter = TypedEventFilter; - -export interface SuperAdminRemovedEventObject { - account: string; -} -export type SuperAdminRemovedEvent = TypedEvent< - [string], - SuperAdminRemovedEventObject ->; - -export type SuperAdminRemovedEventFilter = - TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface TransferValueEventObject { - _fromTokenId: BigNumber; - _toTokenId: BigNumber; - _value: BigNumber; -} -export type TransferValueEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - TransferValueEventObject ->; - -export type TransferValueEventFilter = TypedEventFilter; - -export interface UnfreezeEventObject { - tokenId: BigNumber; -} -export type UnfreezeEvent = TypedEvent<[BigNumber], UnfreezeEventObject>; - -export type UnfreezeEventFilter = TypedEventFilter; - -export interface UpgradedEventObject { - implementation: string; -} -export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>; - -export type UpgradedEventFilter = TypedEventFilter; - -export interface GatewayTokenInternalsTest extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GatewayTokenInternalsTestInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise<[string]>; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - authorizedUpgrade( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { balance: BigNumber }>; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise<[string]>; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise<[string]>; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getMsgData( - x: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber[]]>; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - metadataDescriptor(overrides?: CallOverrides): Promise<[string]>; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { owner_: string }>; - - proxiableUUID(overrides?: CallOverrides): Promise<[string]>; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise<[boolean]>; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise<[number]>; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - authorizedUpgrade( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData( - x: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - authorizedUpgrade(overrides?: CallOverrides): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData( - x: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgSender(overrides?: CallOverrides): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "AdminChanged(address,address)"( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - AdminChanged( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "ApprovalValue(uint256,address,uint256)"( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - ApprovalValue( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - - "AuthorizedUpgrade()"(): AuthorizedUpgradeEventFilter; - AuthorizedUpgrade(): AuthorizedUpgradeEventFilter; - - "BeaconUpgraded(address)"( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - BeaconUpgraded( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - - "BitMaskUpdated(uint256,uint256)"( - tokenId?: null, - bitmask?: null - ): BitMaskUpdatedEventFilter; - BitMaskUpdated(tokenId?: null, bitmask?: null): BitMaskUpdatedEventFilter; - - "DAOManagerTransferred(address,address,uint256)"( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - DAOManagerTransferred( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - - "Expiration(uint256,uint256)"( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - Expiration( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - - "FlagsStorageUpdated(address)"( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - FlagsStorageUpdated( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - - "Freeze(uint256)"( - tokenId?: PromiseOrValue | null - ): FreezeEventFilter; - Freeze(tokenId?: PromiseOrValue | null): FreezeEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "MsgData(bytes)"(arg0?: null): MsgDataEventFilter; - MsgData(arg0?: null): MsgDataEventFilter; - - "MsgSender(address)"(arg0?: null): MsgSenderEventFilter; - MsgSender(arg0?: null): MsgSenderEventFilter; - - "Revoke(uint256)"( - tokenId?: PromiseOrValue | null - ): RevokeEventFilter; - Revoke(tokenId?: PromiseOrValue | null): RevokeEventFilter; - - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)"( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - RoleAdminChanged( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - - "RoleGranted(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - RoleGranted( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - - "RoleRevoked(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - RoleRevoked( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - - "SetMetadataDescriptor(address)"( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - SetMetadataDescriptor( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - - "SlotChanged(uint256,uint256,uint256)"( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - SlotChanged( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - - "SuperAdminAdded(address)"( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - SuperAdminAdded( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - - "SuperAdminRemoved(address)"( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - SuperAdminRemoved( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - - "TransferValue(uint256,uint256,uint256)"( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - TransferValue( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - - "Unfreeze(uint256)"( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - Unfreeze( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - - "Upgraded(address)"( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - Upgraded( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - }; - - estimateGas: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - authorizedUpgrade( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData( - x: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE( - overrides?: CallOverrides - ): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE( - overrides?: CallOverrides - ): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - authorizedUpgrade( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData( - x: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor( - overrides?: CallOverrides - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted( - overrides?: CallOverrides - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenUpgradeTest.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenUpgradeTest.ts deleted file mode 100644 index 57bba53d0..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/GatewayTokenUpgradeTest.ts +++ /dev/null @@ -1,3247 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export type ChargeStruct = { - value: PromiseOrValue; - chargeType: PromiseOrValue; - token: PromiseOrValue; - recipient: PromiseOrValue; -}; - -export type ChargeStructOutput = [BigNumber, number, string, string] & { - value: BigNumber; - chargeType: number; - token: string; - recipient: string; -}; - -export interface GatewayTokenUpgradeTestInterface extends utils.Interface { - functions: { - "DAO_MANAGER_ROLE()": FunctionFragment; - "DEFAULT_ADMIN_ROLE()": FunctionFragment; - "GATEKEEPER_ROLE()": FunctionFragment; - "NETWORK_AUTHORITY_ROLE()": FunctionFragment; - "addForwarder(address)": FunctionFragment; - "addGatekeeper(address,uint256)": FunctionFragment; - "addNetworkAuthority(address,uint256)": FunctionFragment; - "allowance(uint256,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "approve(uint256,address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "balanceOf(uint256)": FunctionFragment; - "burn(uint256)": FunctionFragment; - "contractURI()": FunctionFragment; - "createNetwork(uint256,string,bool,address)": FunctionFragment; - "flagsStorage()": FunctionFragment; - "freeze(uint256)": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "getExpiration(uint256)": FunctionFragment; - "getNetwork(uint256)": FunctionFragment; - "getRoleAdmin(bytes32,uint256)": FunctionFragment; - "getToken(uint256)": FunctionFragment; - "getTokenBitmask(uint256)": FunctionFragment; - "getTokenIdsByOwnerAndNetwork(address,uint256)": FunctionFragment; - "grantRole(bytes32,uint256,address)": FunctionFragment; - "hasRole(bytes32,uint256,address)": FunctionFragment; - "initialize(string,string,address,address,address[])": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "isGatekeeper(address,uint256)": FunctionFragment; - "isNetworkAuthority(address,uint256)": FunctionFragment; - "isNetworkDAOGoverned(uint256)": FunctionFragment; - "isSuperAdmin(address)": FunctionFragment; - "isTrustedForwarder(address)": FunctionFragment; - "metadataDescriptor()": FunctionFragment; - "mint(address,uint256,uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "name()": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "proxiableUUID()": FunctionFragment; - "removeForwarder(address)": FunctionFragment; - "removeGatekeeper(address,uint256)": FunctionFragment; - "removeNetworkAuthority(address,uint256)": FunctionFragment; - "renameNetwork(uint256,string)": FunctionFragment; - "renounceRole(bytes32,uint256,address)": FunctionFragment; - "revoke(uint256)": FunctionFragment; - "revokeRole(bytes32,uint256,address)": FunctionFragment; - "revokeSuperAdmin(address)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "setBitmask(uint256,uint256)": FunctionFragment; - "setExpiration(uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "setMetadataDescriptor(address)": FunctionFragment; - "setSuperAdmin(address)": FunctionFragment; - "slotOf(uint256)": FunctionFragment; - "slotURI(uint256)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "tokenByIndex(uint256)": FunctionFragment; - "tokenOfOwnerByIndex(address,uint256)": FunctionFragment; - "tokenURI(uint256)": FunctionFragment; - "totalSupply()": FunctionFragment; - "transferDAOManager(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,uint256,uint256)": FunctionFragment; - "transfersRestricted()": FunctionFragment; - "unfreeze(uint256)": FunctionFragment; - "updateFlagsStorage(address)": FunctionFragment; - "upgradeTo(address)": FunctionFragment; - "upgradeToAndCall(address,bytes)": FunctionFragment; - "valueDecimals()": FunctionFragment; - "verifyToken(address,uint256)": FunctionFragment; - "verifyToken(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "DAO_MANAGER_ROLE" - | "DEFAULT_ADMIN_ROLE" - | "GATEKEEPER_ROLE" - | "NETWORK_AUTHORITY_ROLE" - | "addForwarder" - | "addGatekeeper" - | "addNetworkAuthority" - | "allowance" - | "approve(address,uint256)" - | "approve(uint256,address,uint256)" - | "balanceOf(address)" - | "balanceOf(uint256)" - | "burn" - | "contractURI" - | "createNetwork" - | "flagsStorage" - | "freeze" - | "getApproved" - | "getExpiration" - | "getNetwork" - | "getRoleAdmin" - | "getToken" - | "getTokenBitmask" - | "getTokenIdsByOwnerAndNetwork" - | "grantRole" - | "hasRole" - | "initialize" - | "isApprovedForAll" - | "isGatekeeper" - | "isNetworkAuthority" - | "isNetworkDAOGoverned" - | "isSuperAdmin" - | "isTrustedForwarder" - | "metadataDescriptor" - | "mint" - | "name" - | "ownerOf" - | "proxiableUUID" - | "removeForwarder" - | "removeGatekeeper" - | "removeNetworkAuthority" - | "renameNetwork" - | "renounceRole" - | "revoke" - | "revokeRole" - | "revokeSuperAdmin" - | "safeTransferFrom(address,address,uint256)" - | "safeTransferFrom(address,address,uint256,bytes)" - | "setApprovalForAll" - | "setBitmask" - | "setExpiration" - | "setMetadataDescriptor" - | "setSuperAdmin" - | "slotOf" - | "slotURI" - | "supportsInterface" - | "symbol" - | "tokenByIndex" - | "tokenOfOwnerByIndex" - | "tokenURI" - | "totalSupply" - | "transferDAOManager" - | "transferFrom(uint256,address,uint256)" - | "transferFrom(address,address,uint256)" - | "transferFrom(uint256,uint256,uint256)" - | "transfersRestricted" - | "unfreeze" - | "updateFlagsStorage" - | "upgradeTo" - | "upgradeToAndCall" - | "valueDecimals" - | "verifyToken(address,uint256)" - | "verifyToken(uint256)" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "DAO_MANAGER_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DEFAULT_ADMIN_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "GATEKEEPER_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "NETWORK_AUTHORITY_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "addForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "addGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "addNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "burn", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "contractURI", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "createNetwork", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "flagsStorage", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "freeze", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getApproved", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getExpiration", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getNetwork", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRoleAdmin", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getToken", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getTokenBitmask", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getTokenIdsByOwnerAndNetwork", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "grantRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "hasRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isNetworkDAOGoverned", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "metadataDescriptor", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData( - functionFragment: "ownerOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "removeGatekeeper", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "removeNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renameNetwork", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renounceRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revoke", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "revokeRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revokeSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setBitmask", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setExpiration", - values: [ - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadataDescriptor", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setSuperAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "slotURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "tokenByIndex", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenOfOwnerByIndex", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "tokenURI", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferDAOManager", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(uint256,uint256,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transfersRestricted", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "unfreeze", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "updateFlagsStorage", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeTo", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "valueDecimals", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "verifyToken(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "verifyToken(uint256)", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "DAO_MANAGER_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DEFAULT_ADMIN_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "GATEKEEPER_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "NETWORK_AUTHORITY_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "addNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approve(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "balanceOf(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "contractURI", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "createNetwork", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "flagsStorage", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "freeze", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getApproved", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getExpiration", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getNetwork", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getRoleAdmin", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getToken", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getTokenBitmask", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTokenIdsByOwnerAndNetwork", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isApprovedForAll", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isNetworkDAOGoverned", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isTrustedForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "metadataDescriptor", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeForwarder", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeGatekeeper", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeNetworkAuthority", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renameNetwork", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceRole", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "revoke", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "revokeSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setApprovalForAll", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setBitmask", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setExpiration", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadataDescriptor", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setSuperAdmin", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "slotOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "slotURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "tokenByIndex", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "tokenOfOwnerByIndex", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferDAOManager", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(uint256,uint256,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transfersRestricted", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "unfreeze", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateFlagsStorage", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "valueDecimals", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyToken(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyToken(uint256)", - data: BytesLike - ): Result; - - events: { - "AdminChanged(address,address)": EventFragment; - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "ApprovalValue(uint256,address,uint256)": EventFragment; - "BeaconUpgraded(address)": EventFragment; - "BitMaskUpdated(uint256,uint256)": EventFragment; - "DAOManagerTransferred(address,address,uint256)": EventFragment; - "Expiration(uint256,uint256)": EventFragment; - "FlagsStorageUpdated(address)": EventFragment; - "Freeze(uint256)": EventFragment; - "Initialized(uint8)": EventFragment; - "Revoke(uint256)": EventFragment; - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)": EventFragment; - "RoleGranted(bytes32,uint256,address,address)": EventFragment; - "RoleRevoked(bytes32,uint256,address,address)": EventFragment; - "SetMetadataDescriptor(address)": EventFragment; - "SlotChanged(uint256,uint256,uint256)": EventFragment; - "SuperAdminAdded(address)": EventFragment; - "SuperAdminRemoved(address)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "TransferValue(uint256,uint256,uint256)": EventFragment; - "Unfreeze(uint256)": EventFragment; - "Upgraded(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BitMaskUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DAOManagerTransferred"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Expiration"): EventFragment; - getEvent(nameOrSignatureOrTopic: "FlagsStorageUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Freeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Revoke"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SetMetadataDescriptor"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SlotChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminAdded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminRemoved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TransferValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Unfreeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment; -} - -export interface AdminChangedEventObject { - previousAdmin: string; - newAdmin: string; -} -export type AdminChangedEvent = TypedEvent< - [string, string], - AdminChangedEventObject ->; - -export type AdminChangedEventFilter = TypedEventFilter; - -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; -} -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; - -export type ApprovalForAllEventFilter = TypedEventFilter; - -export interface ApprovalValueEventObject { - _tokenId: BigNumber; - _operator: string; - _value: BigNumber; -} -export type ApprovalValueEvent = TypedEvent< - [BigNumber, string, BigNumber], - ApprovalValueEventObject ->; - -export type ApprovalValueEventFilter = TypedEventFilter; - -export interface BeaconUpgradedEventObject { - beacon: string; -} -export type BeaconUpgradedEvent = TypedEvent< - [string], - BeaconUpgradedEventObject ->; - -export type BeaconUpgradedEventFilter = TypedEventFilter; - -export interface BitMaskUpdatedEventObject { - tokenId: BigNumber; - bitmask: BigNumber; -} -export type BitMaskUpdatedEvent = TypedEvent< - [BigNumber, BigNumber], - BitMaskUpdatedEventObject ->; - -export type BitMaskUpdatedEventFilter = TypedEventFilter; - -export interface DAOManagerTransferredEventObject { - previousDAOManager: string; - newDAOManager: string; - network: BigNumber; -} -export type DAOManagerTransferredEvent = TypedEvent< - [string, string, BigNumber], - DAOManagerTransferredEventObject ->; - -export type DAOManagerTransferredEventFilter = - TypedEventFilter; - -export interface ExpirationEventObject { - tokenId: BigNumber; - timestamp: BigNumber; -} -export type ExpirationEvent = TypedEvent< - [BigNumber, BigNumber], - ExpirationEventObject ->; - -export type ExpirationEventFilter = TypedEventFilter; - -export interface FlagsStorageUpdatedEventObject { - flagsStorage: string; -} -export type FlagsStorageUpdatedEvent = TypedEvent< - [string], - FlagsStorageUpdatedEventObject ->; - -export type FlagsStorageUpdatedEventFilter = - TypedEventFilter; - -export interface FreezeEventObject { - tokenId: BigNumber; -} -export type FreezeEvent = TypedEvent<[BigNumber], FreezeEventObject>; - -export type FreezeEventFilter = TypedEventFilter; - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; - -export type InitializedEventFilter = TypedEventFilter; - -export interface RevokeEventObject { - tokenId: BigNumber; -} -export type RevokeEvent = TypedEvent<[BigNumber], RevokeEventObject>; - -export type RevokeEventFilter = TypedEventFilter; - -export interface RoleAdminChangedEventObject { - role: string; - domain: BigNumber; - previousAdminRole: string; - newAdminRole: string; -} -export type RoleAdminChangedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleAdminChangedEventObject ->; - -export type RoleAdminChangedEventFilter = - TypedEventFilter; - -export interface RoleGrantedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleGrantedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleGrantedEventObject ->; - -export type RoleGrantedEventFilter = TypedEventFilter; - -export interface RoleRevokedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleRevokedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleRevokedEventObject ->; - -export type RoleRevokedEventFilter = TypedEventFilter; - -export interface SetMetadataDescriptorEventObject { - metadataDescriptor: string; -} -export type SetMetadataDescriptorEvent = TypedEvent< - [string], - SetMetadataDescriptorEventObject ->; - -export type SetMetadataDescriptorEventFilter = - TypedEventFilter; - -export interface SlotChangedEventObject { - _tokenId: BigNumber; - _oldSlot: BigNumber; - _newSlot: BigNumber; -} -export type SlotChangedEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - SlotChangedEventObject ->; - -export type SlotChangedEventFilter = TypedEventFilter; - -export interface SuperAdminAddedEventObject { - account: string; -} -export type SuperAdminAddedEvent = TypedEvent< - [string], - SuperAdminAddedEventObject ->; - -export type SuperAdminAddedEventFilter = TypedEventFilter; - -export interface SuperAdminRemovedEventObject { - account: string; -} -export type SuperAdminRemovedEvent = TypedEvent< - [string], - SuperAdminRemovedEventObject ->; - -export type SuperAdminRemovedEventFilter = - TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface TransferValueEventObject { - _fromTokenId: BigNumber; - _toTokenId: BigNumber; - _value: BigNumber; -} -export type TransferValueEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - TransferValueEventObject ->; - -export type TransferValueEventFilter = TypedEventFilter; - -export interface UnfreezeEventObject { - tokenId: BigNumber; -} -export type UnfreezeEvent = TypedEvent<[BigNumber], UnfreezeEventObject>; - -export type UnfreezeEventFilter = TypedEventFilter; - -export interface UpgradedEventObject { - implementation: string; -} -export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>; - -export type UpgradedEventFilter = TypedEventFilter; - -export interface GatewayTokenUpgradeTest extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GatewayTokenUpgradeTestInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise<[string]>; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { balance: BigNumber }>; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise<[string]>; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise<[string]>; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber[]]>; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - metadataDescriptor(overrides?: CallOverrides): Promise<[string]>; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { owner_: string }>; - - proxiableUUID(overrides?: CallOverrides): Promise<[string]>; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise<[boolean]>; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise<[number]>; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "AdminChanged(address,address)"( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - AdminChanged( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "ApprovalValue(uint256,address,uint256)"( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - ApprovalValue( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - - "BeaconUpgraded(address)"( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - BeaconUpgraded( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - - "BitMaskUpdated(uint256,uint256)"( - tokenId?: null, - bitmask?: null - ): BitMaskUpdatedEventFilter; - BitMaskUpdated(tokenId?: null, bitmask?: null): BitMaskUpdatedEventFilter; - - "DAOManagerTransferred(address,address,uint256)"( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - DAOManagerTransferred( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - - "Expiration(uint256,uint256)"( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - Expiration( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - - "FlagsStorageUpdated(address)"( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - FlagsStorageUpdated( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - - "Freeze(uint256)"( - tokenId?: PromiseOrValue | null - ): FreezeEventFilter; - Freeze(tokenId?: PromiseOrValue | null): FreezeEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Revoke(uint256)"( - tokenId?: PromiseOrValue | null - ): RevokeEventFilter; - Revoke(tokenId?: PromiseOrValue | null): RevokeEventFilter; - - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)"( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - RoleAdminChanged( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - - "RoleGranted(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - RoleGranted( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - - "RoleRevoked(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - RoleRevoked( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - - "SetMetadataDescriptor(address)"( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - SetMetadataDescriptor( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - - "SlotChanged(uint256,uint256,uint256)"( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - SlotChanged( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - - "SuperAdminAdded(address)"( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - SuperAdminAdded( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - - "SuperAdminRemoved(address)"( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - SuperAdminRemoved( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - - "TransferValue(uint256,uint256,uint256)"( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - TransferValue( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - - "Unfreeze(uint256)"( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - Unfreeze( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - - "Upgraded(address)"( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - Upgraded( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - }; - - estimateGas: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE( - overrides?: CallOverrides - ): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE( - overrides?: CallOverrides - ): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor( - overrides?: CallOverrides - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted( - overrides?: CallOverrides - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/InternalTokenApproval.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/InternalTokenApproval.ts deleted file mode 100644 index 524eff9d5..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/InternalTokenApproval.ts +++ /dev/null @@ -1,185 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export interface InternalTokenApprovalInterface extends utils.Interface { - functions: { - "approvals(address)": FunctionFragment; - "getApproval(address)": FunctionFragment; - "setApproval(uint256,uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "approvals" | "getApproval" | "setApproval" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "approvals", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getApproval", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setApproval", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "approvals", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getApproval", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setApproval", - data: BytesLike - ): Result; - - events: {}; -} - -export interface InternalTokenApproval extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: InternalTokenApprovalInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - approvals( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [BigNumber, BigNumber] & { tokens: BigNumber; network: BigNumber } - >; - - getApproval( - _user: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber, BigNumber]>; - - setApproval( - _tokens: PromiseOrValue, - _network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - approvals( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [BigNumber, BigNumber] & { tokens: BigNumber; network: BigNumber } - >; - - getApproval( - _user: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber, BigNumber]>; - - setApproval( - _tokens: PromiseOrValue, - _network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - approvals( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [BigNumber, BigNumber] & { tokens: BigNumber; network: BigNumber } - >; - - getApproval( - _user: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber, BigNumber]>; - - setApproval( - _tokens: PromiseOrValue, - _network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - approvals( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproval( - _user: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApproval( - _tokens: PromiseOrValue, - _network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - approvals( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproval( - _user: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApproval( - _tokens: PromiseOrValue, - _network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/IsGated.sol/IsGated.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/IsGated.sol/IsGated.ts deleted file mode 100644 index 5520aca58..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/IsGated.sol/IsGated.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, Signer, utils } from "ethers"; - -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../common"; - -export interface IsGatedInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface IsGated extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IsGatedInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: {}; - - callStatic: {}; - - filters: {}; - - estimateGas: {}; - - populateTransaction: {}; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/IsGated.sol/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/IsGated.sol/index.ts deleted file mode 100644 index 602a016b6..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/IsGated.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export type { IsGated } from "./IsGated"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/MultiERC2771ContextNonUpgradeable.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/MultiERC2771ContextNonUpgradeable.ts deleted file mode 100644 index 8bc698f3d..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/MultiERC2771ContextNonUpgradeable.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export interface MultiERC2771ContextNonUpgradeableInterface - extends utils.Interface { - functions: { - "isTrustedForwarder(address)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "isTrustedForwarder"): FunctionFragment; - - encodeFunctionData( - functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "isTrustedForwarder", - data: BytesLike - ): Result; - - events: {}; -} - -export interface MultiERC2771ContextNonUpgradeable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: MultiERC2771ContextNonUpgradeableInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/StubMultisig.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/StubMultisig.ts deleted file mode 100644 index 20d3ac560..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/StubMultisig.ts +++ /dev/null @@ -1,106 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export interface StubMultisigInterface extends utils.Interface { - functions: { - "reassignOwnership(address)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "reassignOwnership"): FunctionFragment; - - encodeFunctionData( - functionFragment: "reassignOwnership", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "reassignOwnership", - data: BytesLike - ): Result; - - events: {}; -} - -export interface StubMultisig extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StubMultisigInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - reassignOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - reassignOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - reassignOwnership( - newOwner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - reassignOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - reassignOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/interfaces/IERC721Freezeble.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/interfaces/IERC721Freezeble.ts deleted file mode 100644 index d2e58e0b1..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/interfaces/IERC721Freezeble.ts +++ /dev/null @@ -1,171 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../common"; - -export interface IERC721FreezebleInterface extends utils.Interface { - functions: { - "freeze(uint256)": FunctionFragment; - "unfreeze(uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "freeze" | "unfreeze"): FunctionFragment; - - encodeFunctionData( - functionFragment: "freeze", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "unfreeze", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "freeze", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "unfreeze", data: BytesLike): Result; - - events: { - "Freeze(uint256)": EventFragment; - "Unfreeze(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Freeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Unfreeze"): EventFragment; -} - -export interface FreezeEventObject { - tokenId: BigNumber; -} -export type FreezeEvent = TypedEvent<[BigNumber], FreezeEventObject>; - -export type FreezeEventFilter = TypedEventFilter; - -export interface UnfreezeEventObject { - tokenId: BigNumber; -} -export type UnfreezeEvent = TypedEvent<[BigNumber], UnfreezeEventObject>; - -export type UnfreezeEventFilter = TypedEventFilter; - -export interface IERC721Freezeble extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IERC721FreezebleInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - freeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Freeze(uint256)"( - tokenId?: PromiseOrValue | null - ): FreezeEventFilter; - Freeze(tokenId?: PromiseOrValue | null): FreezeEventFilter; - - "Unfreeze(uint256)"( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - Unfreeze( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - }; - - estimateGas: { - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/library/InternalTokenApproval.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/library/InternalTokenApproval.ts deleted file mode 100644 index 2b6e14de6..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/library/InternalTokenApproval.ts +++ /dev/null @@ -1,127 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../common"; - -export interface InternalTokenApprovalInterface extends utils.Interface { - functions: { - "setApproval(address,address,uint256,uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "setApproval"): FunctionFragment; - - encodeFunctionData( - functionFragment: "setApproval", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "setApproval", - data: BytesLike - ): Result; - - events: {}; -} - -export interface InternalTokenApproval extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: InternalTokenApprovalInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - setApproval( - gatewayTokenAddress: PromiseOrValue, - tokenAddress: PromiseOrValue, - tokens: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - setApproval( - gatewayTokenAddress: PromiseOrValue, - tokenAddress: PromiseOrValue, - tokens: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - setApproval( - gatewayTokenAddress: PromiseOrValue, - tokenAddress: PromiseOrValue, - tokens: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - setApproval( - gatewayTokenAddress: PromiseOrValue, - tokenAddress: PromiseOrValue, - tokens: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - setApproval( - gatewayTokenAddress: PromiseOrValue, - tokenAddress: PromiseOrValue, - tokens: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/library/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/library/index.ts deleted file mode 100644 index 72b840c3e..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/contracts/library/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export type { InternalTokenApproval } from "./InternalTokenApproval"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts index 153d6d045..c4ec61e4b 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts @@ -4,3 +4,4 @@ /* eslint-disable */ export { AccessControlUpgradeable__factory } from "./AccessControlUpgradeable__factory"; export { IAccessControlUpgradeable__factory } from "./IAccessControlUpgradeable__factory"; +export { OwnableUpgradeable__factory } from "./OwnableUpgradeable__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/AccessControl__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/AccessControl__factory.ts deleted file mode 100644 index da9380970..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/AccessControl__factory.ts +++ /dev/null @@ -1,231 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - AccessControl, - AccessControlInterface, -} from "../../../../@openzeppelin/contracts/access/AccessControl"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: true, - internalType: "bytes32", - name: "previousAdminRole", - type: "bytes32", - }, - { - indexed: true, - internalType: "bytes32", - name: "newAdminRole", - type: "bytes32", - }, - ], - name: "RoleAdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleGranted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleRevoked", - type: "event", - }, - { - inputs: [], - name: "DEFAULT_ADMIN_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - ], - name: "getRoleAdmin", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "grantRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "hasRole", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "renounceRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class AccessControl__factory { - static readonly abi = _abi; - static createInterface(): AccessControlInterface { - return new utils.Interface(_abi) as AccessControlInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): AccessControl { - return new Contract(address, _abi, signerOrProvider) as AccessControl; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/IAccessControl__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/IAccessControl__factory.ts deleted file mode 100644 index 5cf178d9b..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/IAccessControl__factory.ts +++ /dev/null @@ -1,199 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IAccessControl, - IAccessControlInterface, -} from "../../../../@openzeppelin/contracts/access/IAccessControl"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: true, - internalType: "bytes32", - name: "previousAdminRole", - type: "bytes32", - }, - { - indexed: true, - internalType: "bytes32", - name: "newAdminRole", - type: "bytes32", - }, - ], - name: "RoleAdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleGranted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleRevoked", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - ], - name: "getRoleAdmin", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "grantRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "hasRole", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "renounceRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IAccessControl__factory { - static readonly abi = _abi; - static createInterface(): IAccessControlInterface { - return new utils.Interface(_abi) as IAccessControlInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IAccessControl { - return new Contract(address, _abi, signerOrProvider) as IAccessControl; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts deleted file mode 100644 index a6fb0638b..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - Ownable, - OwnableInterface, -} from "../../../../@openzeppelin/contracts/access/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", - }, -] as const; - -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; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/index.ts deleted file mode 100644 index b4da5d2a9..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/access/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export { Ownable__factory } from "./Ownable__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/metatx/MinimalForwarder__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/metatx/MinimalForwarder__factory.ts deleted file mode 100644 index 8f1adc5df..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/metatx/MinimalForwarder__factory.ts +++ /dev/null @@ -1,205 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - MinimalForwarder, - MinimalForwarderInterface, -} from "../../../../@openzeppelin/contracts/metatx/MinimalForwarder"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "gas", - type: "uint256", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - internalType: "struct MinimalForwarder.ForwardRequest", - name: "req", - type: "tuple", - }, - { - internalType: "bytes", - name: "signature", - type: "bytes", - }, - ], - name: "execute", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - ], - name: "getNonce", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "gas", - type: "uint256", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - internalType: "struct MinimalForwarder.ForwardRequest", - name: "req", - type: "tuple", - }, - { - internalType: "bytes", - name: "signature", - type: "bytes", - }, - ], - name: "verify", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x61014060405234801561001157600080fd5b50604080518082018252601081526f26b4b734b6b0b62337b93bb0b93232b960811b602080830191825283518085019094526005845264302e302e3160d81b908401528151902060e08190527fae209a0b48f21c054280f2455d32cf309387644879d9acbd8ffc1991638118856101008190524660a0529192917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6100fb8184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b6080523060c052610120525061011092505050565b60805160a05160c05160e0516101005161012051610a3d61015f60003960006104ec0152600061053b015260006105160152600061046f01526000610499015260006104c30152610a3d6000f3fe6080604052600436106100345760003560e01c80632d0335ab1461003957806347153f8214610082578063bf5d3bdb146100a3575b600080fd5b34801561004557600080fd5b5061006f6100543660046107d5565b6001600160a01b031660009081526020819052604090205490565b6040519081526020015b60405180910390f35b610095610090366004610805565b6100d3565b6040516100799291906108d4565b3480156100af57600080fd5b506100c36100be366004610805565b61026c565b6040519015158152602001610079565b600060606100e285858561026c565b61014e5760405162461bcd60e51b815260206004820152603260248201527f4d696e696d616c466f727761726465723a207369676e617475726520646f6573604482015271081b9bdd081b585d18da081c995c5d595cdd60721b60648201526084015b60405180910390fd5b61015d60808601356001610910565b60008061016d60208901896107d5565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000808660200160208101906101a791906107d5565b6001600160a01b0316606088013560408901356101c760a08b018b610936565b6101d460208d018d6107d5565b6040516020016101e69392919061097d565b60408051601f1981840301815290829052610200916109a3565b600060405180830381858888f193505050503d806000811461023e576040519150601f19603f3d011682016040523d82523d6000602084013e610243565b606091505b509092509050610258603f60608901356109bf565b5a1161026057fe5b90969095509350505050565b60008061037f84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061037992507fdd8f4b70b0f4393e889bd39128a30628a78b61816a9eb8199759e7a349657e4891506102dc905060208a018a6107d5565b6102ec60408b0160208c016107d5565b60408b013560608c013560808d013561030860a08f018f610936565b6040516103169291906109e1565b6040805191829003822060208301989098526001600160a01b0396871690820152949093166060850152608084019190915260a083015260c082015260e081019190915261010001604051602081830303815290604052805190602001206103ea565b9061043e565b9050608085013560008061039660208901896107d5565b6001600160a01b03166001600160a01b03168152602001908152602001600020541480156103e157506103cc60208601866107d5565b6001600160a01b0316816001600160a01b0316145b95945050505050565b60006104386103f7610462565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b92915050565b600080600061044d8585610589565b9150915061045a816105cf565b509392505050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156104bb57507f000000000000000000000000000000000000000000000000000000000000000046145b156104e557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000808251604114156105c05760208301516040840151606085015160001a6105b48782858561071b565b945094505050506105c8565b506000905060025b9250929050565b60008160048111156105e3576105e36109f1565b14156105ec5750565b6001816004811115610600576106006109f1565b14156106495760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610145565b600281600481111561065d5761065d6109f1565b14156106ab5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610145565b60038160048111156106bf576106bf6109f1565b14156107185760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610145565b50565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b0383111561074857506000905060036107cc565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561079c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166107c5576000600192509250506107cc565b9150600090505b94509492505050565b6000602082840312156107e757600080fd5b81356001600160a01b03811681146107fe57600080fd5b9392505050565b60008060006040848603121561081a57600080fd5b833567ffffffffffffffff8082111561083257600080fd5b9085019060c0828803121561084657600080fd5b9093506020850135908082111561085c57600080fd5b818601915086601f83011261087057600080fd5b81358181111561087f57600080fd5b87602082850101111561089157600080fd5b6020830194508093505050509250925092565b60005b838110156108bf5781810151838201526020016108a7565b838111156108ce576000848401525b50505050565b821515815260406020820152600082518060408401526108fb8160608501602087016108a4565b601f01601f1916919091016060019392505050565b6000821982111561093157634e487b7160e01b600052601160045260246000fd5b500190565b6000808335601e1984360301811261094d57600080fd5b83018035915067ffffffffffffffff82111561096857600080fd5b6020019150368190038213156105c857600080fd5b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600082516109b58184602087016108a4565b9190910192915050565b6000826109dc57634e487b7160e01b600052601260045260246000fd5b500490565b8183823760009101908152919050565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220a4c99ca7d517e98a97070cee09255fd717b0f67786169e2d2163328303f9ada464736f6c63430008090033"; - -type MinimalForwarderConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: MinimalForwarderConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class MinimalForwarder__factory extends ContractFactory { - constructor(...args: MinimalForwarderConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): MinimalForwarder { - return super.attach(address) as MinimalForwarder; - } - override connect(signer: Signer): MinimalForwarder__factory { - return super.connect(signer) as MinimalForwarder__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): MinimalForwarderInterface { - return new utils.Interface(_abi) as MinimalForwarderInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): MinimalForwarder { - return new Contract(address, _abi, signerOrProvider) as MinimalForwarder; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/metatx/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/metatx/index.ts deleted file mode 100644 index b6234c939..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/metatx/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export { MinimalForwarder__factory } from "./MinimalForwarder__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts deleted file mode 100644 index 23fcc8056..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export { ERC1967Proxy__factory } from "./ERC1967Proxy__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts deleted file mode 100644 index e83ed1f6b..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export * as erc1967 from "./ERC1967"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts index 4d8338606..f35e0ec26 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts @@ -3,8 +3,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; +import { Contract, Interface, type ContractRunner } from "ethers"; import type { IERC20Metadata, IERC20MetadataInterface, @@ -238,12 +237,12 @@ const _abi = [ export class IERC20Metadata__factory { static readonly abi = _abi; static createInterface(): IERC20MetadataInterface { - return new utils.Interface(_abi) as IERC20MetadataInterface; + return new Interface(_abi) as IERC20MetadataInterface; } static connect( address: string, - signerOrProvider: Signer | Provider + runner?: ContractRunner | null ): IERC20Metadata { - return new Contract(address, _abi, signerOrProvider) as IERC20Metadata; + return new Contract(address, _abi, runner) as unknown as IERC20Metadata; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.ts deleted file mode 100644 index 8a6fb4d8b..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.ts +++ /dev/null @@ -1,102 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IERC20Permit, - IERC20PermitInterface, -} from "../../../../../../../@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit"; - -const _abi = [ - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "deadline", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "permit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IERC20Permit__factory { - static readonly abi = _abi; - static createInterface(): IERC20PermitInterface { - return new utils.Interface(_abi) as IERC20PermitInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC20Permit { - return new Contract(address, _abi, signerOrProvider) as IERC20Permit; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.ts deleted file mode 100644 index 2c15a06d5..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export { IERC20Permit__factory } from "./IERC20Permit__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts index 2c15a06d5..2c9dd6821 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts @@ -2,4 +2,6 @@ // @ts-nocheck /* tslint:disable */ /* eslint-disable */ +export { ERC20Burnable__factory } from "./ERC20Burnable__factory"; +export { IERC20Metadata__factory } from "./IERC20Metadata__factory"; export { IERC20Permit__factory } from "./IERC20Permit__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts index b0a2db678..885c2cb87 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts @@ -3,4 +3,6 @@ /* tslint:disable */ /* eslint-disable */ export * as extensions from "./extensions"; +export * as presets from "./presets"; +export { ERC20__factory } from "./ERC20__factory"; export { IERC20__factory } from "./IERC20__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/ERC3525__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/ERC3525__factory.ts deleted file mode 100644 index 683183930..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/ERC3525__factory.ts +++ /dev/null @@ -1,777 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { - Signer, - utils, - Contract, - ContractFactory, - BigNumberish, - Overrides, -} from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - ERC3525, - ERC3525Interface, -} from "../../../@solvprotocol/erc-3525/ERC3525"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "name_", - type: "string", - }, - { - internalType: "string", - name: "symbol_", - type: "string", - }, - { - internalType: "uint8", - name: "decimals_", - type: "uint8", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_approved", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "ApprovalForAll", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "ApprovalValue", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "metadataDescriptor", - type: "address", - }, - ], - name: "SetMetadataDescriptor", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_oldSlot", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_newSlot", - type: "uint256", - }, - ], - name: "SlotChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_to", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_fromTokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_toTokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "TransferValue", - type: "event", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "operator_", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "balance", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "contractURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "getApproved", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - { - internalType: "address", - name: "operator_", - type: "address", - }, - ], - name: "isApprovedForAll", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "metadataDescriptor", - outputs: [ - { - internalType: "contract IERC3525MetadataDescriptor", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "ownerOf", - outputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "bytes", - name: "data_", - type: "bytes", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "operator_", - type: "address", - }, - { - internalType: "bool", - name: "approved_", - type: "bool", - }, - ], - name: "setApprovalForAll", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "slotOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "slot_", - type: "uint256", - }, - ], - name: "slotURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "index_", - type: "uint256", - }, - ], - name: "tokenByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - { - internalType: "uint256", - name: "index_", - type: "uint256", - }, - ], - name: "tokenOfOwnerByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "tokenURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "fromTokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "fromTokenId_", - type: "uint256", - }, - { - internalType: "uint256", - name: "toTokenId_", - type: "uint256", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "valueDecimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60806040523480156200001157600080fd5b5060405162002f2838038062002f288339810160408190526200003491620001f0565b8251620000499060009060208601906200007d565b5081516200005f9060019060208501906200007d565b506002805460ff191660ff9290921691909117905550620002b29050565b8280546200008b9062000275565b90600052602060002090601f016020900481019282620000af5760008555620000fa565b82601f10620000ca57805160ff1916838001178555620000fa565b82800160010185558215620000fa579182015b82811115620000fa578251825591602001919060010190620000dd565b50620001089291506200010c565b5090565b5b808211156200010857600081556001016200010d565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200014b57600080fd5b81516001600160401b038082111562000168576200016862000123565b604051601f8301601f19908116603f0116810190828211818310171562000193576200019362000123565b81604052838152602092508683858801011115620001b057600080fd5b600091505b83821015620001d45785820183015181830184015290820190620001b5565b83821115620001e65760008385830101525b9695505050505050565b6000806000606084860312156200020657600080fd5b83516001600160401b03808211156200021e57600080fd5b6200022c8783880162000139565b945060208601519150808211156200024357600080fd5b50620002528682870162000139565b925050604084015160ff811681146200026a57600080fd5b809150509250925092565b600181811c908216806200028a57607f821691505b60208210811415620002ac57634e487b7160e01b600052602260045260246000fd5b50919050565b612c6680620002c26000396000f3fe6080604052600436106101815760003560e01c80634f6ccce7116100d15780639cc7f7081161008a578063c87b56dd11610064578063c87b56dd14610416578063e345e0bc14610436578063e8a3d48514610456578063e985e9c51461046b57600080fd5b80639cc7f708146103c3578063a22cb465146103e3578063b88d4fde1461040357600080fd5b80634f6ccce71461031b5780636352211e1461033b57806370a082311461035b578063840f71131461037b5780638cb0a5111461039b57806395d89b41146103ae57600080fd5b806318160ddd1161013e5780632f745c59116101185780632f745c59146102b3578063310ed7f0146102d35780633e7e8669146102e657806342842e0e1461030857600080fd5b806318160ddd1461026b57806323b872dd14610280578063263f3e7e1461029357600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806309c3dd871461022a5780630f485c021461024a575b600080fd5b34801561019257600080fd5b506101a66101a13660046124dc565b6104b8565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d061055b565b6040516101b29190612551565b3480156101e957600080fd5b506101fd6101f8366004612564565b6105ed565b6040516001600160a01b0390911681526020016101b2565b610228610223366004612594565b61063f565b005b34801561023657600080fd5b506101d0610245366004612564565b6106ce565b61025d6102583660046125be565b6107cf565b6040519081526020016101b2565b34801561027757600080fd5b5060055461025d565b61022861028e3660046125f3565b610811565b34801561029f57600080fd5b5061025d6102ae366004612564565b610842565b3480156102bf57600080fd5b5061025d6102ce366004612594565b61088a565b6102286102e136600461261f565b61092b565b3480156102f257600080fd5b5060025460405160ff90911681526020016101b2565b6102286103163660046125f3565b610941565b34801561032757600080fd5b5061025d610336366004612564565b61095c565b34801561034757600080fd5b506101fd610356366004612564565b6109ed565b34801561036757600080fd5b5061025d61037636600461264b565b610a89565b34801561038757600080fd5b506008546101fd906001600160a01b031681565b6102286103a93660046125be565b610b11565b3480156103ba57600080fd5b506101d0610b99565b3480156103cf57600080fd5b5061025d6103de366004612564565b610ba8565b3480156103ef57600080fd5b506102286103fe366004612674565b610bf0565b61022861041136600461271a565b610bff565b34801561042257600080fd5b506101d0610431366004612564565b610c31565b34801561044257600080fd5b5061025d6104513660046127c5565b610cd0565b34801561046257600080fd5b506101d0610d04565b34801561047757600080fd5b506101a66104863660046127f1565b6001600160a01b0391821660009081526007602090815260408083209390941682526002909201909152205460ff1690565b60006001600160e01b031982166301ffc9a760e01b14806104e957506001600160e01b03198216630354d60560e61b145b8061050457506001600160e01b031982166380ac58cd60e01b145b8061051f57506001600160e01b031982166370b0048160e11b145b8061053a57506001600160e01b0319821663780e9d6360e01b145b8061055557506001600160e01b03198216635b5e139f60e01b145b92915050565b60606000805461056a9061281b565b80601f01602080910402602001604051908101604052809291908181526020018280546105969061281b565b80156105e35780601f106105b8576101008083540402835291602001916105e3565b820191906000526020600020905b8154815290600101906020018083116105c657829003601f168201915b5050505050905090565b60006105f882610e0d565b60008281526006602052604090205460058054909190811061061c5761061c612856565b60009182526020909120600460069092020101546001600160a01b031692915050565b600061064a826109ed565b9050806001600160a01b0316836001600160a01b031614156106875760405162461bcd60e51b815260040161067e9061286c565b60405180910390fd5b336001600160a01b03821614806106a357506106a38133610486565b6106bf5760405162461bcd60e51b815260040161067e906128ae565b6106c98383610e61565b505050565b606060006106e760408051602081019091526000815290565b6008549091506001600160a01b031661074757600081511161071857604051806020016040528060008152506107c8565b8061072284610ef8565b60405160200161073392919061290b565b6040516020818303038152906040526107c8565b600854604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b60006040518083038186803b15801561078c57600080fd5b505afa1580156107a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107c8919081019061294b565b9392505050565b60006107dc338584610f95565b60006107e785611025565b90506107fe84826107f788610842565b600061102f565b610809858285611156565b949350505050565b61081b3382611408565b6108375760405162461bcd60e51b815260040161067e906129c2565b6106c9838383611470565b600061084d82610e0d565b60008281526006602052604090205460058054909190811061087157610871612856565b9060005260206000209060060201600101549050919050565b600061089583610a89565b82106108ee5760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161067e565b6001600160a01b038316600090815260076020526040902080548390811061091857610918612856565b9060005260206000200154905092915050565b610936338483610f95565b6106c9838383611156565b6106c983838360405180602001604052806000815250610bff565b600061096760055490565b82106109c15760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161067e565b600582815481106109d4576109d4612856565b9060005260206000209060060201600001549050919050565b60006109f882610e0d565b600082815260066020526040902054600580549091908110610a1c57610a1c612856565b60009182526020909120600360069092020101546001600160a01b0316905080610a845760405162461bcd60e51b8152602060048201526019602482015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604482015260640161067e565b919050565b60006001600160a01b038216610af55760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161067e565b506001600160a01b031660009081526007602052604090205490565b6000610b1c846109ed565b9050806001600160a01b0316836001600160a01b03161415610b505760405162461bcd60e51b815260040161067e9061286c565b336001600160a01b0382161480610b6c5750610b6c8133610486565b610b885760405162461bcd60e51b815260040161067e906128ae565b610b938484846115d1565b50505050565b60606001805461056a9061281b565b6000610bb382610e0d565b600082815260066020526040902054600580549091908110610bd757610bd7612856565b9060005260206000209060060201600201549050919050565b610bfb338383611709565b5050565b610c093383611408565b610c255760405162461bcd60e51b815260040161067e906129c2565b610b93848484846117d4565b6060610c3c82610e0d565b6000610c5360408051602081019091526000815290565b6008549091506001600160a01b0316610c9f576000815111610c8457604051806020016040528060008152506107c8565b80610c8e84610ef8565b604051602001610733929190612a14565b6008546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401610774565b6000610cdb83610e0d565b5060009182526004602090815260408084206001600160a01b0393909316845291905290205490565b60606000610d1d60408051602081019091526000815290565b6008549091506001600160a01b0316610d7d576000815111610d4e5760405180602001604052806000815250610e07565b80610d5830611847565b604051602001610d69929190612a43565b604051602081830303815290604052610e07565b600860009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b815260040160006040518083038186803b158015610dcb57600080fd5b505afa158015610ddf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e07919081019061294b565b91505090565b610e168161185d565b610e5e5760405162461bcd60e51b8152602060048201526019602482015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604482015260640161067e565b50565b600081815260066020526040902054600580548492908110610e8557610e85612856565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b0392831617905581908316610ebf826109ed565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60606000610f05836118a9565b600101905060008167ffffffffffffffff811115610f2557610f256126ab565b6040519080825280601f01601f191660200182016040528015610f4f576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610f8857610f8d565b610f59565b509392505050565b6000610fa18385610cd0565b9050610fad8484611408565b158015610fbc57506000198114155b15610b9357818110156110115760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e636500604482015260640161067e565b610b9383856110208585612a9d565b6115d1565b6000610555611981565b6001600160a01b03841661108f5760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161067e565b826110e65760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b606482015260840161067e565b6110ef8361185d565b1561113c5760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e746564000000604482015260640161067e565b611147848484611998565b6111518382611a5e565b610b93565b61115f8361185d565b6111bb5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b606482015260840161067e565b6111c48261185d565b61121e5760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b606482015260840161067e565b60008381526006602052604081205460058054909190811061124257611242612856565b906000526020600020906006020190506000600560066000868152602001908152602001600020548154811061127a5761127a612856565b9060005260206000209060060201905082826002015410156112f15760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161067e565b806001015482600101541461135f5760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b606482015260840161067e565b828260020160008282546113739190612a9d565b925050819055508281600201600082825461138e9190612ab4565b9091555050604051838152849086907f0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc69060200160405180910390a36113e585858560405180602001604052806000815250611ae3565b6114015760405162461bcd60e51b815260040161067e90612acc565b5050505050565b600061141382610e0d565b600061141e836109ed565b9050806001600160a01b0316846001600160a01b0316148061144557506114458185610486565b806108095750836001600160a01b031661145e846105ed565b6001600160a01b031614949350505050565b826001600160a01b0316611483826109ed565b6001600160a01b0316146114e55760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b606482015260840161067e565b6001600160a01b0382166115495760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161067e565b600061155482610842565b9050600061156183610ba8565b905061156e600084610e61565b61157783611c84565b6115818584611d20565b61158b8484611e41565b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611401565b6001600160a01b03821661163a5760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b606482015260840161067e565b6116448284611eca565b6116aa5760008381526006602052604090205460058054909190811061166c5761166c612856565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b60008381526004602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b91015b60405180910390a3505050565b816001600160a01b0316836001600160a01b0316141561176b5760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c6572000000000000604482015260640161067e565b6001600160a01b0383811660008181526007602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191016116fc565b6117df848484611470565b6117eb84848484611f9e565b610b935760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b606482015260840161067e565b60606105556001600160a01b0383166014612166565b60055460009015801590610555575060008281526006602052604090205460058054849290811061189057611890612856565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106118e85772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611914576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061193257662386f26fc10000830492506010015b6305f5e100831061194a576305f5e100830492506008015b612710831061195e57612710830492506004015b60648310611970576064830492506002015b600a83106105555760010192915050565b6000611991600380546001019055565b5060035490565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a082015290506119e681612302565b6119f08484611e41565b60405183906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b600082815260066020526040902054600580548392908110611a8257611a82612856565b90600052602060002090600602016002016000828254611aa29190612ab4565b909155505060405181815282906000907f0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc69060200160405180910390a35050565b600080611aef856109ed565b90506001600160a01b0381163b15158015611b8257506040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a79060240160206040518083038186803b158015611b4a57600080fd5b505afa158015611b5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b829190612b14565b15611c7857604051629ce20b60e01b81526001600160a01b03821690629ce20b90611bb99033908a908a908a908a90600401612b31565b602060405180830381600087803b158015611bd357600080fd5b505af1925050508015611c03575060408051601f3d908101601f19168201909252611c0091810190612b6f565b60015b611c5d573d808015611c31576040519150601f19603f3d011682016040523d82523d6000602084013e611c36565b606091505b508051611c555760405162461bcd60e51b815260040161067e90612acc565b805181602001fd5b6001600160e01b031916629ce20b60e01b1491506108099050565b50600195945050505050565b600081815260066020526040812054600580549091908110611ca857611ca8612856565b600091825260208220600560069092020190810154909250905b81811015610b93576000836005018281548110611ce157611ce1612856565b60009182526020808320909101548783526004825260408084206001600160a01b03909216845291528120555080611d1881612b8c565b915050611cc2565b600081815260066020526040812054600580549091908110611d4457611d44612856565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b0394851617905591841681526007909152604081208054909190611d9390600190612a9d565b90506000826000018281548110611dac57611dac612856565b90600052602060002001549050600083600101600086815260200190815260200160002054905081846000018281548110611de957611de9612856565b60009182526020808320909101929092558381526001860190915260408082208390558682528120558354849080611e2357611e23612ba7565b60019003818190600052602060002001600090559055505050505050565b600081815260066020526040902054600580548492908110611e6557611e65612856565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152600780845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b600081815260066020526040812054600580548392908110611eee57611eee612856565b6000918252602082206005600690920201015491505b81811015611f9357600084815260066020526040902054600580546001600160a01b03881692908110611f3957611f39612856565b90600052602060002090600602016005018281548110611f5b57611f5b612856565b6000918252602090912001546001600160a01b03161415611f8157600192505050610555565b80611f8b81612b8c565b915050611f04565b506000949350505050565b60006001600160a01b0384163b1515801561203257506040516301ffc9a760e01b8152630a85bd0160e11b60048201526001600160a01b038516906301ffc9a79060240160206040518083038186803b158015611ffa57600080fd5b505afa15801561200e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120329190612b14565b1561215e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612069903390899088908890600401612bbd565b602060405180830381600087803b15801561208357600080fd5b505af19250505080156120b3575060408051601f3d908101601f191682019092526120b091810190612b6f565b60015b612144573d8080156120e1576040519150601f19603f3d011682016040523d82523d6000602084013e6120e6565b606091505b508051611c555760405162461bcd60e51b815260206004820152602660248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201526531b2b4bb32b960d11b606482015260840161067e565b6001600160e01b031916630a85bd0160e11b149050610809565b506001610809565b60606000612175836002612bfa565b612180906002612ab4565b67ffffffffffffffff811115612198576121986126ab565b6040519080825280601f01601f1916602001820160405280156121c2576020820181803683370190505b509050600360fc1b816000815181106121dd576121dd612856565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061220c5761220c612856565b60200101906001600160f81b031916908160001a9053506000612230846002612bfa565b61223b906001612ab4565b90505b60018111156122b3576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061226f5761226f612856565b1a60f81b82828151811061228557612285612856565b60200101906001600160f81b031916908160001a90535060049490941c936122ac81612c19565b905061223e565b5083156107c85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161067e565b600580548251600090815260066020818152604080842085905560018501865594909252845192027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db08101928355818501517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db1820155928401517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db284015560608401517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db3840180546001600160a01b039283166001600160a01b03199182161790915560808601517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db48601805491909316911617905560a084015180518594610b93937f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db59091019201908280548282559060005260206000209081019282156124a1579160200282015b828111156124a157825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061246c565b506124ad9291506124b1565b5090565b5b808211156124ad57600081556001016124b2565b6001600160e01b031981168114610e5e57600080fd5b6000602082840312156124ee57600080fd5b81356107c8816124c6565b60005b838110156125145781810151838201526020016124fc565b83811115610b935750506000910152565b6000815180845261253d8160208601602086016124f9565b601f01601f19169290920160200192915050565b6020815260006107c86020830184612525565b60006020828403121561257657600080fd5b5035919050565b80356001600160a01b0381168114610a8457600080fd5b600080604083850312156125a757600080fd5b6125b08361257d565b946020939093013593505050565b6000806000606084860312156125d357600080fd5b833592506125e36020850161257d565b9150604084013590509250925092565b60008060006060848603121561260857600080fd5b6126118461257d565b92506125e36020850161257d565b60008060006060848603121561263457600080fd5b505081359360208301359350604090920135919050565b60006020828403121561265d57600080fd5b6107c88261257d565b8015158114610e5e57600080fd5b6000806040838503121561268757600080fd5b6126908361257d565b915060208301356126a081612666565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156126ea576126ea6126ab565b604052919050565b600067ffffffffffffffff82111561270c5761270c6126ab565b50601f01601f191660200190565b6000806000806080858703121561273057600080fd5b6127398561257d565b93506127476020860161257d565b925060408501359150606085013567ffffffffffffffff81111561276a57600080fd5b8501601f8101871361277b57600080fd5b803561278e612789826126f2565b6126c1565b8181528860208385010111156127a357600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b600080604083850312156127d857600080fd5b823591506127e86020840161257d565b90509250929050565b6000806040838503121561280457600080fd5b61280d8361257d565b91506127e86020840161257d565b600181811c9082168061282f57607f821691505b6020821081141561285057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60208082526022908201527f455243333532353a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526039908201527f455243333532353a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b6000835161291d8184602088016124f9565b64736c6f742f60d81b908301908152835161293f8160058401602088016124f9565b01600501949350505050565b60006020828403121561295d57600080fd5b815167ffffffffffffffff81111561297457600080fd5b8201601f8101841361298557600080fd5b8051612993612789826126f2565b8181528560208385010111156129a857600080fd5b6129b98260208301602086016124f9565b95945050505050565b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60008351612a268184602088016124f9565b835190830190612a3a8183602088016124f9565b01949350505050565b60008351612a558184602088016124f9565b68636f6e74726163742f60b81b9083019081528351612a7b8160098401602088016124f9565b01600901949350505050565b634e487b7160e01b600052601160045260246000fd5b600082821015612aaf57612aaf612a87565b500390565b60008219821115612ac757612ac7612a87565b500190565b60208082526028908201527f455243333532353a207472616e7366657220746f206e6f6e20455243333532356040820152672932b1b2b4bb32b960c11b606082015260800190565b600060208284031215612b2657600080fd5b81516107c881612666565b60018060a01b038616815284602082015283604082015282606082015260a060808201526000612b6460a0830184612525565b979650505050505050565b600060208284031215612b8157600080fd5b81516107c8816124c6565b6000600019821415612ba057612ba0612a87565b5060010190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bf090830184612525565b9695505050505050565b6000816000190483118215151615612c1457612c14612a87565b500290565b600081612c2857612c28612a87565b50600019019056fea264697066735822122034c68bf9671d801c821c8e00f25bd35b4d8192d862a86e9f26a1a4d48fff0dae64736f6c63430008090033"; - -type ERC3525ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ERC3525ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class ERC3525__factory extends ContractFactory { - constructor(...args: ERC3525ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - name_: PromiseOrValue, - symbol_: PromiseOrValue, - decimals_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - name_, - symbol_, - decimals_, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - name_: PromiseOrValue, - symbol_: PromiseOrValue, - decimals_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - name_, - symbol_, - decimals_, - overrides || {} - ); - } - override attach(address: string): ERC3525 { - return super.attach(address) as ERC3525; - } - override connect(signer: Signer): ERC3525__factory { - return super.connect(signer) as ERC3525__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ERC3525Interface { - return new utils.Interface(_abi) as ERC3525Interface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ERC3525 { - return new Contract(address, _abi, signerOrProvider) as ERC3525; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/IERC3525Receiver__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/IERC3525Receiver__factory.ts deleted file mode 100644 index 246807e9f..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/IERC3525Receiver__factory.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IERC3525Receiver, - IERC3525ReceiverInterface, -} from "../../../@solvprotocol/erc-3525/IERC3525Receiver"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_operator", - type: "address", - }, - { - internalType: "uint256", - name: "_fromTokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "_toTokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "onERC3525Received", - outputs: [ - { - internalType: "bytes4", - name: "", - type: "bytes4", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IERC3525Receiver__factory { - static readonly abi = _abi; - static createInterface(): IERC3525ReceiverInterface { - return new utils.Interface(_abi) as IERC3525ReceiverInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC3525Receiver { - return new Contract(address, _abi, signerOrProvider) as IERC3525Receiver; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/IERC721Receiver__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/IERC721Receiver__factory.ts deleted file mode 100644 index 752e1144e..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/IERC721Receiver__factory.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IERC721Receiver, - IERC721ReceiverInterface, -} from "../../../@solvprotocol/erc-3525/IERC721Receiver"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_operator", - type: "address", - }, - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "onERC721Received", - outputs: [ - { - internalType: "bytes4", - name: "", - type: "bytes4", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IERC721Receiver__factory { - static readonly abi = _abi; - static createInterface(): IERC721ReceiverInterface { - return new utils.Interface(_abi) as IERC721ReceiverInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC721Receiver { - return new Contract(address, _abi, signerOrProvider) as IERC721Receiver; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC3525Metadata__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC3525Metadata__factory.ts deleted file mode 100644 index 220930570..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC3525Metadata__factory.ts +++ /dev/null @@ -1,614 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IERC3525Metadata, - IERC3525MetadataInterface, -} from "../../../../@solvprotocol/erc-3525/extensions/IERC3525Metadata"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_approved", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "ApprovalForAll", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "ApprovalValue", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_oldSlot", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_newSlot", - type: "uint256", - }, - ], - name: "SlotChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_to", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_fromTokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_toTokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "TransferValue", - type: "event", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - internalType: "address", - name: "_operator", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_approved", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - internalType: "address", - name: "_operator", - type: "address", - }, - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "contractURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "getApproved", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - { - internalType: "address", - name: "_operator", - type: "address", - }, - ], - name: "isApprovedForAll", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "ownerOf", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_operator", - type: "address", - }, - { - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "setApprovalForAll", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "slotOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_slot", - type: "uint256", - }, - ], - name: "slotURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "tokenURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_fromTokenId", - type: "uint256", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_fromTokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "_toTokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "valueDecimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IERC3525Metadata__factory { - static readonly abi = _abi; - static createInterface(): IERC3525MetadataInterface { - return new utils.Interface(_abi) as IERC3525MetadataInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC3525Metadata { - return new Contract(address, _abi, signerOrProvider) as IERC3525Metadata; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC721Enumerable__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC721Enumerable__factory.ts deleted file mode 100644 index 6eadfdd9c..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC721Enumerable__factory.ts +++ /dev/null @@ -1,368 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IERC721Enumerable, - IERC721EnumerableInterface, -} from "../../../../@solvprotocol/erc-3525/extensions/IERC721Enumerable"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_approved", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "ApprovalForAll", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_to", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "_approved", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "getApproved", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - { - internalType: "address", - name: "_operator", - type: "address", - }, - ], - name: "isApprovedForAll", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "ownerOf", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_operator", - type: "address", - }, - { - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "setApprovalForAll", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_index", - type: "uint256", - }, - ], - name: "tokenByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - { - internalType: "uint256", - name: "_index", - type: "uint256", - }, - ], - name: "tokenOfOwnerByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, -] as const; - -export class IERC721Enumerable__factory { - static readonly abi = _abi; - static createInterface(): IERC721EnumerableInterface { - return new utils.Interface(_abi) as IERC721EnumerableInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC721Enumerable { - return new Contract(address, _abi, signerOrProvider) as IERC721Enumerable; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC721Metadata__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC721Metadata__factory.ts deleted file mode 100644 index 19ba48bff..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/extensions/IERC721Metadata__factory.ts +++ /dev/null @@ -1,357 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IERC721Metadata, - IERC721MetadataInterface, -} from "../../../../@solvprotocol/erc-3525/extensions/IERC721Metadata"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_approved", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "ApprovalForAll", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_to", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "_approved", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "getApproved", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - { - internalType: "address", - name: "_operator", - type: "address", - }, - ], - name: "isApprovedForAll", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "ownerOf", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_operator", - type: "address", - }, - { - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "setApprovalForAll", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "tokenURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, -] as const; - -export class IERC721Metadata__factory { - static readonly abi = _abi; - static createInterface(): IERC721MetadataInterface { - return new utils.Interface(_abi) as IERC721MetadataInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC721Metadata { - return new Contract(address, _abi, signerOrProvider) as IERC721Metadata; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/periphery/interface/IERC3525MetadataDescriptor__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/periphery/interface/IERC3525MetadataDescriptor__factory.ts deleted file mode 100644 index 701bcf435..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/@solvprotocol/erc-3525/periphery/interface/IERC3525MetadataDescriptor__factory.ts +++ /dev/null @@ -1,82 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IERC3525MetadataDescriptor, - IERC3525MetadataDescriptorInterface, -} from "../../../../../@solvprotocol/erc-3525/periphery/interface/IERC3525MetadataDescriptor"; - -const _abi = [ - { - inputs: [], - name: "constructContractURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "slot", - type: "uint256", - }, - ], - name: "constructSlotURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "constructTokenURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IERC3525MetadataDescriptor__factory { - static readonly abi = _abi; - static createInterface(): IERC3525MetadataDescriptorInterface { - return new utils.Interface(_abi) as IERC3525MetadataDescriptorInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC3525MetadataDescriptor { - return new Contract( - address, - _abi, - signerOrProvider - ) as IERC3525MetadataDescriptor; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/Forwarder__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/Forwarder__factory.ts deleted file mode 100644 index 80f70c977..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/Forwarder__factory.ts +++ /dev/null @@ -1,202 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { Forwarder, ForwarderInterface } from "../../contracts/Forwarder"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "gas", - type: "uint256", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - internalType: "struct MinimalForwarder.ForwardRequest", - name: "req", - type: "tuple", - }, - { - internalType: "bytes", - name: "signature", - type: "bytes", - }, - ], - name: "execute", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - ], - name: "getNonce", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "gas", - type: "uint256", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - internalType: "struct MinimalForwarder.ForwardRequest", - name: "req", - type: "tuple", - }, - { - internalType: "bytes", - name: "signature", - type: "bytes", - }, - ], - name: "verify", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x61014060405234801561001157600080fd5b50604080518082018252601081526f26b4b734b6b0b62337b93bb0b93232b960811b602080830191825283518085019094526005845264302e302e3160d81b908401528151902060e08190527fae209a0b48f21c054280f2455d32cf309387644879d9acbd8ffc1991638118856101008190524660a0529192917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6100fb8184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b6080523060c052610120525061011092505050565b60805160a05160c05160e0516101005161012051610a3d61015f60003960006104ec0152600061053b015260006105160152600061046f01526000610499015260006104c30152610a3d6000f3fe6080604052600436106100345760003560e01c80632d0335ab1461003957806347153f8214610082578063bf5d3bdb146100a3575b600080fd5b34801561004557600080fd5b5061006f6100543660046107d5565b6001600160a01b031660009081526020819052604090205490565b6040519081526020015b60405180910390f35b610095610090366004610805565b6100d3565b6040516100799291906108d4565b3480156100af57600080fd5b506100c36100be366004610805565b61026c565b6040519015158152602001610079565b600060606100e285858561026c565b61014e5760405162461bcd60e51b815260206004820152603260248201527f4d696e696d616c466f727761726465723a207369676e617475726520646f6573604482015271081b9bdd081b585d18da081c995c5d595cdd60721b60648201526084015b60405180910390fd5b61015d60808601356001610910565b60008061016d60208901896107d5565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000808660200160208101906101a791906107d5565b6001600160a01b0316606088013560408901356101c760a08b018b610936565b6101d460208d018d6107d5565b6040516020016101e69392919061097d565b60408051601f1981840301815290829052610200916109a3565b600060405180830381858888f193505050503d806000811461023e576040519150601f19603f3d011682016040523d82523d6000602084013e610243565b606091505b509092509050610258603f60608901356109bf565b5a1161026057fe5b90969095509350505050565b60008061037f84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061037992507fdd8f4b70b0f4393e889bd39128a30628a78b61816a9eb8199759e7a349657e4891506102dc905060208a018a6107d5565b6102ec60408b0160208c016107d5565b60408b013560608c013560808d013561030860a08f018f610936565b6040516103169291906109e1565b6040805191829003822060208301989098526001600160a01b0396871690820152949093166060850152608084019190915260a083015260c082015260e081019190915261010001604051602081830303815290604052805190602001206103ea565b9061043e565b9050608085013560008061039660208901896107d5565b6001600160a01b03166001600160a01b03168152602001908152602001600020541480156103e157506103cc60208601866107d5565b6001600160a01b0316816001600160a01b0316145b95945050505050565b60006104386103f7610462565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b92915050565b600080600061044d8585610589565b9150915061045a816105cf565b509392505050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156104bb57507f000000000000000000000000000000000000000000000000000000000000000046145b156104e557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000808251604114156105c05760208301516040840151606085015160001a6105b48782858561071b565b945094505050506105c8565b506000905060025b9250929050565b60008160048111156105e3576105e36109f1565b14156105ec5750565b6001816004811115610600576106006109f1565b14156106495760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610145565b600281600481111561065d5761065d6109f1565b14156106ab5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610145565b60038160048111156106bf576106bf6109f1565b14156107185760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610145565b50565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b0383111561074857506000905060036107cc565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561079c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166107c5576000600192509250506107cc565b9150600090505b94509492505050565b6000602082840312156107e757600080fd5b81356001600160a01b03811681146107fe57600080fd5b9392505050565b60008060006040848603121561081a57600080fd5b833567ffffffffffffffff8082111561083257600080fd5b9085019060c0828803121561084657600080fd5b9093506020850135908082111561085c57600080fd5b818601915086601f83011261087057600080fd5b81358181111561087f57600080fd5b87602082850101111561089157600080fd5b6020830194508093505050509250925092565b60005b838110156108bf5781810151838201526020016108a7565b838111156108ce576000848401525b50505050565b821515815260406020820152600082518060408401526108fb8160608501602087016108a4565b601f01601f1916919091016060019392505050565b6000821982111561093157634e487b7160e01b600052601160045260246000fd5b500190565b6000808335601e1984360301811261094d57600080fd5b83018035915067ffffffffffffffff82111561096857600080fd5b6020019150368190038213156105c857600080fd5b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600082516109b58184602087016108a4565b9190910192915050565b6000826109dc57634e487b7160e01b600052601260045260246000fd5b500490565b8183823760009101908152919050565b634e487b7160e01b600052602160045260246000fdfea26469706673582212209be3da76470dc6cdb83dc0f6cac79a63713ad650e809bf42f6b138f9b7ae879c64736f6c63430008090033"; - -type ForwarderConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ForwarderConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class Forwarder__factory extends ContractFactory { - constructor(...args: ForwarderConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): Forwarder { - return super.attach(address) as Forwarder; - } - override connect(signer: Signer): Forwarder__factory { - return super.connect(signer) as Forwarder__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ForwarderInterface { - return new utils.Interface(_abi) as ForwarderInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): Forwarder { - return new Contract(address, _abi, signerOrProvider) as Forwarder; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenClientTest__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenClientTest__factory.ts deleted file mode 100644 index b32ecaa4c..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenClientTest__factory.ts +++ /dev/null @@ -1,127 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { - Signer, - utils, - Contract, - ContractFactory, - BigNumberish, - Overrides, -} from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { - GatewayTokenClientTest, - GatewayTokenClientTestInterface, -} from "../../contracts/GatewayTokenClientTest"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "gatewayTokenContract", - type: "address", - }, - { - internalType: "uint256", - name: "gatekeeperNetwork", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "gatewayToken", - type: "address", - }, - ], - name: "IsGated__InvalidGatewayToken", - type: "error", - }, - { - anonymous: false, - inputs: [], - name: "Success", - type: "event", - }, - { - inputs: [], - name: "testGated", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060405161022038038061022083398101604081905261002f91610058565b600080546001600160a01b0319166001600160a01b039390931692909217909155600155610092565b6000806040838503121561006b57600080fd5b82516001600160a01b038116811461008257600080fd5b6020939093015192949293505050565b61017f806100a16000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063968f76bd14610030575b600080fd5b61003861003a565b005b600054600154604051600162740ee760e11b03198152336004820152602481018290526001600160a01b03909216918290819063ff17e2329060440160206040518083038186803b15801561008e57600080fd5b505afa1580156100a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c69190610120565b6100f2576040516355ec9bfb60e11b81526001600160a01b038416600482015260240160405180910390fd5b6040517f395a9ab3d1230297d931e1fa224ca597ca0e45f620c1aeb74b512bfcc6f66aab90600090a1505050565b60006020828403121561013257600080fd5b8151801515811461014257600080fd5b939250505056fea26469706673582212207b1fbab16fcd6900f56ecbc562d69ca65492efd21933f660b1f1809dedade2c564736f6c63430008090033"; - -type GatewayTokenClientTestConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayTokenClientTestConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayTokenClientTest__factory extends ContractFactory { - constructor(...args: GatewayTokenClientTestConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ); - } - override attach(address: string): GatewayTokenClientTest { - return super.attach(address) as GatewayTokenClientTest; - } - override connect(signer: Signer): GatewayTokenClientTest__factory { - return super.connect(signer) as GatewayTokenClientTest__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayTokenClientTestInterface { - return new utils.Interface(_abi) as GatewayTokenClientTestInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GatewayTokenClientTest { - return new Contract( - address, - _abi, - signerOrProvider - ) as GatewayTokenClientTest; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/GatewayInternalTest__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/GatewayInternalTest__factory.ts deleted file mode 100644 index c6edb3e7d..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/GatewayInternalTest__factory.ts +++ /dev/null @@ -1,2138 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - GatewayInternalTest, - GatewayInternalTestInterface, -} from "../../../contracts/GatewayTokenInternalsTest.sol/GatewayInternalTest"; - -const _abi = [ - { - inputs: [], - name: "Common__MissingAccount", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "Common__NotContract", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "Common__NotSuperAdmin", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "sender", - type: "address", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - ], - name: "Common__Unauthorized", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "available", - type: "uint256", - }, - { - internalType: "uint256", - name: "required", - type: "uint256", - }, - ], - name: "GatewayToken__InsufficientFunds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NetworkAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NetworkDoesNotExist", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NotDAOGoverned", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "GatewayToken__TokenDoesNotExist", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "bool", - name: "allowExpired", - type: "bool", - }, - ], - name: "GatewayToken__TokenDoesNotExistOrIsInactive", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "enum IGatewayToken.TokenState", - name: "state", - type: "uint8", - }, - { - internalType: "enum IGatewayToken.TokenState", - name: "expectedState", - type: "uint8", - }, - ], - name: "GatewayToken__TokenInvalidStateForOperation", - type: "error", - }, - { - inputs: [], - name: "GatewayToken__TransferDisabled", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "ParameterizedAccessControl__RenounceRoleNotForSelf", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousAdmin", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newAdmin", - type: "address", - }, - ], - name: "AdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_approved", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "ApprovalForAll", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "ApprovalValue", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "beacon", - type: "address", - }, - ], - name: "BeaconUpgraded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "bitmask", - type: "uint256", - }, - ], - name: "BitMaskUpdated", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousDAOManager", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newDAOManager", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "DAOManagerTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "Expiration", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "flagsStorage", - type: "address", - }, - ], - name: "FlagsStorageUpdated", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Freeze", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Revoke", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "bytes32", - name: "previousAdminRole", - type: "bytes32", - }, - { - indexed: true, - internalType: "bytes32", - name: "newAdminRole", - type: "bytes32", - }, - ], - name: "RoleAdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleGranted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleRevoked", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "metadataDescriptor", - type: "address", - }, - ], - name: "SetMetadataDescriptor", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_oldSlot", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_newSlot", - type: "uint256", - }, - ], - name: "SlotChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "SuperAdminAdded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "SuperAdminRemoved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_to", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_fromTokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_toTokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "TransferValue", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Unfreeze", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "DAO_MANAGER_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DEFAULT_ADMIN_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "GATEKEEPER_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "NETWORK_AUTHORITY_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "addForwarder", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "addGatekeeper", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "addNetworkAuthority", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "operator_", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "address", - name: "", - type: "address", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "balance", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "burn", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "contractURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "bool", - name: "daoGoverned", - type: "bool", - }, - { - internalType: "address", - name: "daoManager", - type: "address", - }, - ], - name: "createNetwork", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "flagsStorage", - outputs: [ - { - internalType: "contract IFlagsStorage", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "freeze", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "getApproved", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getExpiration", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getMsgData", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "getNetwork", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - ], - name: "getRoleAdmin", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getToken", - outputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint8", - name: "state", - type: "uint8", - }, - { - internalType: "string", - name: "identity", - type: "string", - }, - { - internalType: "uint256", - name: "expiration", - type: "uint256", - }, - { - internalType: "uint256", - name: "bitmask", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getTokenBitmask", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "getTokenIdsByOwnerAndNetwork", - outputs: [ - { - internalType: "uint256[]", - name: "", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "grantRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "hasRole", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "string", - name: "_name", - type: "string", - }, - { - internalType: "string", - name: "_symbol", - type: "string", - }, - { - internalType: "address", - name: "_superAdmin", - type: "address", - }, - { - internalType: "address", - name: "_flagsStorage", - type: "address", - }, - { - internalType: "address[]", - name: "_trustedForwarders", - type: "address[]", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - { - internalType: "address", - name: "operator_", - type: "address", - }, - ], - name: "isApprovedForAll", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "isGatekeeper", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "isNetworkAuthority", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "isNetworkDAOGoverned", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isSuperAdmin", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "isTrustedForwarder", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "metadataDescriptor", - outputs: [ - { - internalType: "contract IERC3525MetadataDescriptorUpgradeable", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiration", - type: "uint256", - }, - { - internalType: "uint256", - name: "mask", - type: "uint256", - }, - { - components: [ - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "enum ChargeType", - name: "chargeType", - type: "uint8", - }, - { - internalType: "address", - name: "token", - type: "address", - }, - { - internalType: "address", - name: "recipient", - type: "address", - }, - ], - internalType: "struct Charge", - name: "", - type: "tuple", - }, - ], - name: "mint", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "ownerOf", - outputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "removeForwarder", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "removeGatekeeper", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "removeNetworkAuthority", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - ], - name: "renameNetwork", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "renounceRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "revoke", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeSuperAdmin", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "bytes", - name: "data_", - type: "bytes", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "operator_", - type: "address", - }, - { - internalType: "bool", - name: "approved_", - type: "bool", - }, - ], - name: "setApprovalForAll", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "mask", - type: "uint256", - }, - ], - name: "setBitmask", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - { - components: [ - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "enum ChargeType", - name: "chargeType", - type: "uint8", - }, - { - internalType: "address", - name: "token", - type: "address", - }, - { - internalType: "address", - name: "recipient", - type: "address", - }, - ], - internalType: "struct Charge", - name: "", - type: "tuple", - }, - ], - name: "setExpiration", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_metadataDescriptor", - type: "address", - }, - ], - name: "setMetadataDescriptor", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "setSuperAdmin", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "slotOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "slot_", - type: "uint256", - }, - ], - name: "slotURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "index_", - type: "uint256", - }, - ], - name: "tokenByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - { - internalType: "uint256", - name: "index_", - type: "uint256", - }, - ], - name: "tokenOfOwnerByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "tokenURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "previousManager", - type: "address", - }, - { - internalType: "address", - name: "newManager", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "transferDAOManager", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "fromTokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "uint256", - name: "newTokenId", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "fromTokenId_", - type: "uint256", - }, - { - internalType: "uint256", - name: "toTokenId_", - type: "uint256", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "transfersRestricted", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "unfreeze", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "flagsStorage", - type: "address", - }, - ], - name: "updateFlagsStorage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - ], - name: "upgradeTo", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "valueDecimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "verifyToken", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "verifyToken", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e8565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e6576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6080516158cd62000120600039600081816114cf0152818161150f015281816116480152818161168801526117bb01526158cd6000f3fe6080604052600436106103d15760003560e01c80637dbded28116101f9578063b5d616351161011e578063df2a7fe1116100b6578063e71fb1101161007a578063e71fb11014610c57578063e8a3d48514610c77578063e985e9c514610c8c578063ff17e23214610cd9578063ff85a97514610cf957600080fd5b8063df2a7fe114610b8d578063df7f453b14610bad578063e0ed6a3114610be6578063e345e0bc14610c06578063e4b50cb814610c2657600080fd5b8063b5d6163514610a75578063b88d4fde14610a95578063babb898d14610aa8578063c2a366fb14610ac8578063c58dbbed14610ae8578063c87b56dd14610b08578063c8e7ca2e14610b28578063d6fd317514610b4b578063d7a78db814610b6d57600080fd5b806395ea57171161019157806395ea5717146109505780639c7525e6146109705780639cc7f70814610990578063a05b775f146109b0578063a217fddf146109d0578063a22cb465146109e5578063a578c09314610a05578063a8fa8e0d14610a35578063b4bd857914610a5557600080fd5b80637dbded281461085757806381e9ff191461087757806382d66d5f14610899578063840f7113146108b95780638423df79146108d95780638cb0a511146108ed5780638eb7a776146108fb57806390eddd521461091b57806395d89b411461093b57600080fd5b80633659cfe6116102fa57806352d1902d116102925780636623fc46116102565780636623fc46146107b55780636dba2729146107d55780636f7caf41146107f557806370a082311461081757806370f081601461083757600080fd5b806352d1902d14610720578063572b6c05146107355780635c41d2fe146107555780635e79b726146107755780636352211e1461079557600080fd5b80633659cfe61461061857806336e45041146106385780633e7e86691461065857806342842e0e1461067a57806342966c681461068d5780634d93172d146106ad5780634f1ef286146106cd5780634f6ccce7146106e057806351da912d1461070057600080fd5b806320c5429b1161036d57806320c5429b1461051257806323b872dd14610532578063263f3e7e146105455780632d33d27a146105655780632f745c5914610585578063310ed7f0146105a557806331416a29146105b857806334e37b8a146105d85780633568dd29146105f857600080fd5b806301ffc9a7146103d657806306fdde031461040b578063081812fc1461042d578063095ea7b31461045a57806309c3dd871461046f5780630f485c021461048f5780631442f521146104b057806315700052146104dd57806318160ddd146104fd575b600080fd5b3480156103e257600080fd5b506103f66103f1366004614b07565b610d19565b60405190151581526020015b60405180910390f35b34801561041757600080fd5b50610420610d7a565b6040516104029190614b7c565b34801561043957600080fd5b5061044d610448366004614b8f565b610e0c565b6040516104029190614ba8565b61046d610468366004614bd3565b610e5e565b005b34801561047b57600080fd5b5061042061048a366004614b8f565b610e77565b6104a261049d366004614bfd565b610f78565b604051908152602001610402565b3480156104bc57600080fd5b506104d06104cb366004614bd3565b610fb7565b6040516104029190614c32565b3480156104e957600080fd5b5061046d6104f8366004614c76565b61106e565b34801561050957600080fd5b50609d546104a2565b34801561051e57600080fd5b5061046d61052d366004614b8f565b6110ce565b61046d610540366004614c91565b611122565b34801561055157600080fd5b506104a2610560366004614b8f565b611168565b34801561057157600080fd5b5060cc5461044d906001600160a01b031681565b34801561059157600080fd5b506104a26105a0366004614bd3565b6111b0565b61046d6105b3366004614cbd565b611251565b3480156105c457600080fd5b5061046d6105d3366004614d2a565b61126e565b3480156105e457600080fd5b5061046d6105f3366004614c76565b611493565b34801561060457600080fd5b5061046d610613366004614bd3565b6114a7565b34801561062457600080fd5b5061046d610633366004614c76565b6114c4565b34801561064457600080fd5b5061046d610653366004614e17565b61158a565b34801561066457600080fd5b50609a5460405160ff9091168152602001610402565b61046d610688366004614c91565b6115e0565b34801561069957600080fd5b5061046d6106a8366004614b8f565b6115fb565b3480156106b957600080fd5b5061046d6106c8366004614c76565b611610565b61046d6106db366004614f0f565b61163d565b3480156106ec57600080fd5b506104a26106fb366004614b8f565b6116f3565b34801561070c57600080fd5b5061046d61071b366004614f5c565b611784565b34801561072c57600080fd5b506104a26117ae565b34801561074157600080fd5b506103f6610750366004614c76565b61185c565b34801561076157600080fd5b5061046d610770366004614c76565b61187a565b34801561078157600080fd5b5061046d610790366004614f96565b6118aa565b3480156107a157600080fd5b5061044d6107b0366004614b8f565b6118c0565b3480156107c157600080fd5b5061046d6107d0366004614b8f565b611930565b3480156107e157600080fd5b506103f66107f0366004614bd3565b611945565b34801561080157600080fd5b506104a260008051602061581183398151915281565b34801561082357600080fd5b506104a2610832366004614c76565b611960565b34801561084357600080fd5b5061046d610852366004614bd3565b6119e8565b34801561086357600080fd5b5061046d610872366004614fd1565b611a01565b34801561088357600080fd5b506104a260008051602061579183398151915281565b3480156108a557600080fd5b5061046d6108b4366004614bd3565b611bc9565b3480156108c557600080fd5b5060a05461044d906001600160a01b031681565b3480156108e557600080fd5b5060016103f6565b61046d610468366004614bfd565b34801561090757600080fd5b5061046d610916366004614e17565b611bde565b34801561092757600080fd5b5061046d610936366004614bd3565b611bfe565b34801561094757600080fd5b50610420611c17565b34801561095c57600080fd5b5061042061096b366004614b8f565b611c26565b34801561097c57600080fd5b5061046d61098b366004615040565b611cc8565b34801561099c57600080fd5b506104a26109ab366004614b8f565b611d77565b3480156109bc57600080fd5b506104a26109cb366004614b8f565b611dbf565b3480156109dc57600080fd5b506104a2600081565b3480156109f157600080fd5b5061046d610a0036600461508b565b611ddd565b348015610a1157600080fd5b506103f6610a20366004614b8f565b60ce6020526000908152604090205460ff1681565b348015610a4157600080fd5b5061046d610a50366004614c91565b611def565b348015610a6157600080fd5b506104a2610a70366004614b8f565b611f68565b348015610a8157600080fd5b5061046d610a90366004614e17565b611f7c565b61046d610aa33660046150c2565b611f9c565b348015610ab457600080fd5b506103f6610ac3366004614e17565b611fcf565b348015610ad457600080fd5b506103f6610ae3366004614bd3565b612000565b348015610af457600080fd5b5061046d610b03366004614c76565b61201b565b348015610b1457600080fd5b50610420610b23366004614b8f565b612078565b348015610b3457600080fd5b50610b3d612117565b604051610402929190615129565b348015610b5757600080fd5b506104a26000805160206157b183398151915281565b348015610b7957600080fd5b5061046d610b88366004614b8f565b61212a565b348015610b9957600080fd5b506104a2610ba8366004614f5c565b61213f565b348015610bb957600080fd5b506103f6610bc8366004614c76565b6001600160a01b0316600090815260cb602052604090205460ff1690565b348015610bf257600080fd5b5061046d610c01366004615158565b61215e565b348015610c1257600080fd5b506104a2610c2136600461519e565b6121a7565b348015610c3257600080fd5b50610c46610c41366004614b8f565b6121db565b6040516104029594939291906151ca565b348015610c6357600080fd5b5061046d610c72366004614c76565b61223b565b348015610c8357600080fd5b5061042061224c565b348015610c9857600080fd5b506103f6610ca736600461520b565b6001600160a01b039182166000908152609f602090815260408083209390941682526002909201909152205460ff1690565b348015610ce557600080fd5b506103f6610cf4366004614bd3565b612355565b348015610d0557600080fd5b506103f6610d14366004614b8f565b6123e7565b60006001600160e01b03198216630354d60560e61b1480610d4a57506001600160e01b031982166380ac58cd60e01b145b80610d6557506001600160e01b031982166370b0048160e11b145b80610d745750610d74826123f4565b92915050565b606060988054610d8990615235565b80601f0160208091040260200160405190810160405280929190818152602001828054610db590615235565b8015610e025780601f10610dd757610100808354040283529160200191610e02565b820191906000526020600020905b815481529060010190602001808311610de557829003601f168201915b5050505050905090565b6000610e1782612429565b6000828152609e6020526040902054609d80549091908110610e3b57610e3b61526a565b60009182526020909120600460069092020101546001600160a01b031692915050565b60405163c03a3ff560e01b815260040160405180910390fd5b60606000610e9060408051602081019091526000815290565b60a0549091506001600160a01b0316610ef0576000815111610ec15760405180602001604052806000815250610f71565b80610ecb8461244e565b604051602001610edc929190615280565b604051602081830303815290604052610f71565b60a054604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b60006040518083038186803b158015610f3557600080fd5b505afa158015610f49573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f7191908101906152c0565b9392505050565b6000610f8c610f856124ea565b85846124f9565b610f9584612574565b9050610fac8382610fa587611168565b600061257e565b610f718482846126a5565b6060600080610fc68585612984565b915091506000816001600160401b03811115610fe457610fe4614e4c565b60405190808252806020026020018201604052801561100d578160200160208202803683370190505b50905060005b828110156110645783818151811061102d5761102d61526a565b60200260200101518282815181106110475761104761526a565b60209081029190910101528061105c81615343565b915050611013565b5095945050505050565b611076612a51565b6040516001600160a01b038216907f286f82d2b1e37b5e9f33e455d014b4a5f6c29388e6e41e1281d4c83e04f4265590600090a26001600160a01b0316600090815260cb60205260409020805460ff19166001179055565b6110df6110da82611168565b612a63565b600081815260cf6020526040808220805460ff191660021790555182917fdb43aa42235c8d63908794a952603e8d43a549383d13123c3d893a3fc2e6249591a250565b61113361112d6124ea565b50600090565b6111585760405162461bcd60e51b815260040161114f90615374565b60405180910390fd5b611163838383612a7b565b505050565b600061117382612429565b6000828152609e6020526040902054609d805490919081106111975761119761526a565b9060005260206000209060060201600101549050919050565b60006111bb83611960565b82106112145760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161114f565b6001600160a01b0383166000908152609f6020526040902080548390811061123e5761123e61526a565b9060005260206000200154905092915050565b61126361125c6124ea565b84836124f9565b6111638383836126a5565b600054610100900460ff161580801561128e5750600054600160ff909116105b806112af575061129d30612bca565b1580156112af575060005460ff166001145b6112cb5760405162461bcd60e51b815260040161114f906153c6565b6000805460ff1916600117905580156112ee576000805461ff0019166101001790555b6001600160a01b03851661131557604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03841661133c57604051630ca2c90160e21b815260040160405180910390fd5b60005b828110156113aa57600084848381811061135b5761135b61526a565b90506020020160208101906113709190614c76565b6001600160a01b0316141561139857604051630ca2c90160e21b815260040160405180910390fd5b806113a281615343565b91505061133f565b5061141e89898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a908190840183828082843760009201829052509250612bd9915050565b6114288383612c0b565b61143184612ccd565b6001600160a01b038516600090815260cb60205260409020805460ff191660011790558015611488576000805461ff0019169055604051600181526000805160206158318339815191529060200160405180910390a15b505050505050505050565b61149b612a51565b6114a481612ccd565b50565b6114c06000805160206157b18339815191528284611bde565b5050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561150d5760405162461bcd60e51b815260040161114f90615414565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661153f612d17565b6001600160a01b0316146115655760405162461bcd60e51b815260040161114f90615460565b61156e81612d33565b604080516000808252602082019092526114a491839190612d3b565b6115926124ea565b6001600160a01b0316816001600160a01b0316146115d5576040516307ca099360e31b8152600481018490526001600160a01b038216602482015260440161114f565b611163838383612eb5565b61116383838360405180602001604052806000815250611f9c565b6116076110da82611168565b6114a481612f51565b611618612a51565b6114a4816001600160a01b03166000908152609760205260409020805460ff19169055565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156116865760405162461bcd60e51b815260040161114f90615414565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166116b8612d17565b6001600160a01b0316146116de5760405162461bcd60e51b815260040161114f90615460565b6116e782612d33565b6114c082826001612d3b565b60006116fe609d5490565b82106117585760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161114f565b609d828154811061176b5761176b61526a565b9060005260206000209060060201600001549050919050565b6117a46000805160206157b183398151915261179f84611168565b61304e565b6114c0828261305b565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146118495760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161114f565b506000805160206157f183398151915290565b6001600160a01b031660009081526097602052604090205460ff1690565b611882612a51565b6114a4816001600160a01b03166000908152609760205260409020805460ff19166001179055565b6118b66110da84611168565b61116383836130aa565b60006118cb82612429565b6000828152609e6020526040902054609d805490919081106118ef576118ef61526a565b60009182526020909120600360069092020101546001600160a01b031690508061192b5760405162461bcd60e51b815260040161114f906154ac565b919050565b61193c6110da82611168565b6114a481613106565b6000610f716000805160206157b18339815191528385611fcf565b60006001600160a01b0382166119cc5760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161114f565b506001600160a01b03166000908152609f602052604090205490565b6114c06000805160206157b18339815191528284611f7c565b600085815260d1602052604090208054611a1a90615235565b159050611a3d57604051636f55f62b60e01b81526004810186905260240161114f565b600085815260d160205260409020611a56908585614971565b508115611b5457600085815260ce60205260409020805460ff19168315151790556001600160a01b038116611a9e57604051630ca2c90160e21b815260040160405180910390fd5b611ab0816001600160a01b0316612bca565b611acf578060405163d4daafa160e01b815260040161114f9190614ba8565b611ae860008051602061579183398151915286836131ad565b611b0160008051602061581183398151915286836131ad565b611b286000805160206158118339815191528660008051602061579183398151915261323e565b611b4f6000805160206157b18339815191528660008051602061579183398151915261323e565b611bc2565b611b7460008051602061581183398151915286611b6f6124ea565b6131ad565b611b9b6000805160206158118339815191528660008051602061581183398151915261323e565b611bc26000805160206157b18339815191528660008051602061581183398151915261323e565b5050505050565b6114c060008051602061581183398151915282845b611be8838361213f565b82611bf3828261304e565b611bc2858585612eb5565b6114c06000805160206158118339815191528284611f7c565b606060998054610d8990615235565b600081815260d160205260409020805460609190611c4390615235565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6f90615235565b8015611cbc5780601f10611c9157610100808354040283529160200191611cbc565b820191906000526020600020905b815481529060010190602001808311611c9f57829003601f168201915b50505050509050919050565b600083815260d1602052604090208054611ce190615235565b15159050611d0557604051630817886d60e41b81526004810184905260240161114f565b611d2060008051602061581183398151915284610ac36124ea565b611d5857611d2c6124ea565b8360008051602061581183398151915260405163c8c801a760e01b815260040161114f939291906154df565b600083815260d160205260409020611d71908383614971565b50505050565b6000611d8282612429565b6000828152609e6020526040902054609d80549091908110611da657611da661526a565b9060005260206000209060060201600201549050919050565b6000611dca826132a9565b50600090815260d0602052604090205490565b6114c0611de86124ea565b83836132d2565b600081815260ce602052604090205460ff16611e215760405163db53ce7160e01b81526004810182905260240161114f565b611e3a60008051602061579183398151915282856133a6565b611e5a60008051602061579183398151915282611e556124ea565b6133a6565b6001600160a01b038216611e8157604051630ca2c90160e21b815260040160405180910390fd5b611e9a6000805160206157918339815191528284611f7c565b611eb36000805160206158118339815191528284611f7c565b611ecc6000805160206157b18339815191528284611f7c565b611ee56000805160206157b18339815191528285611bde565b611efe6000805160206158118339815191528285611bde565b611f176000805160206157918339815191528285611bde565b604080516001600160a01b038086168252841660208201529081018290527f744258a28673e8738e2812c0ab8e8dbd70352f8871b1febac0dd753d96d79f58906060015b60405180910390a1505050565b600081815260cd6020526040812054610d74565b611f86838361213f565b82611f91828261304e565b611bc28585856131ad565b611fa761112d6124ea565b611fc35760405162461bcd60e51b815260040161114f90615374565b611d71848484846133d4565b600091825260ca602090815260408084209484529381528383206001600160a01b0392909216835252205460ff1690565b6000610f716000805160206158118339815191528385611fcf565b612023612a51565b6040516001600160a01b038216907ffb445f6ec07647d2bb7af72821e6b8b7303ec375e934d4a338d38ed5846c2d5690600090a26001600160a01b0316600090815260cb60205260409020805460ff19169055565b606061208382612429565b600061209a60408051602081019091526000815290565b60a0549091506001600160a01b03166120e65760008151116120cb5760405180602001604052806000815250610f71565b806120d58461244e565b604051602001610edc929190615500565b60a0546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401610f1d565b366000612122613447565b915091509091565b6121366110da82611168565b6114a481613452565b600090815260ca60209081526040808320938352929052206001015490565b61216784612a63565b6000612175868660016134a0565b9050831561218f57600081815260d0602052604090208490555b821561219f5761219f818461305b565b505050505050565b60006121b283612429565b506000918252609c602090815260408084206001600160a01b0393909316845291905290205490565b60008060606000806121ec866118c0565b600087815260cf602052604090205490955060ff1660028111156122125761221261535e565b600096875260d0602090815260408089205460cd90925290972054959790969395939450915050565b612243612a51565b6114a4816134b8565b6060600061226560408051602081019091526000815290565b60a0549091506001600160a01b03166122c5576000815111612296576040518060200160405280600081525061234f565b806122a030613502565b6040516020016122b192919061552f565b60405160208183030381529060405261234f565b60a060009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b815260040160006040518083038186803b15801561231357600080fd5b505afa158015612327573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261234f91908101906152c0565b91505090565b60008060006123648585612984565b9150915060005b818110156123db578281815181106123855761238561526a565b60200260200101516000146123c9576123b88382815181106123a9576123a961526a565b60200260200101516000613518565b156123c95760019350505050610d74565b806123d381615343565b91505061236b565b50600095945050505050565b6000610d74826000613518565b60006001600160e01b031982166333cb74f560e11b1480610d7457506301ffc9a760e01b6001600160e01b0319831614610d74565b612432816135bd565b6114a45760405162461bcd60e51b815260040161114f906154ac565b6060600061245b83613609565b60010190506000816001600160401b0381111561247a5761247a614e4c565b6040519080825280601f01601f1916602001820160405280156124a4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846124dd576124e2565b6124ae565b509392505050565b60006124f46136e1565b905090565b600061250583856121a7565b90506000198114611d7157818110156125605760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e636500604482015260640161114f565b611d71838561256f8585615573565b613703565b6000610d74613832565b6001600160a01b0384166125de5760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161114f565b826126355760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b606482015260840161114f565b61263e836135bd565b1561268b5760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e746564000000604482015260640161114f565b612696848484613849565b6126a083826138fd565b611d71565b6126ae836135bd565b61270a5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b606482015260840161114f565b612713826135bd565b61276d5760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b606482015260840161114f565b6000838152609e6020526040812054609d805490919081106127915761279161526a565b906000526020600020906006020190506000609d609e600086815260200190815260200160002054815481106127c9576127c961526a565b9060005260206000209060060201905082826002015410156128405760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161114f565b80600101548260010154146128ae5760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b606482015260840161114f565b828260020160008282546128c29190615573565b92505081905550828160020160008282546128dd919061558a565b9091555050604051838152849086906000805160206157d18339815191529060200160405180910390a361292285858560405180602001604052806000815250613970565b611bc25760405162461bcd60e51b815260206004820152602d60248201527f455243333532353a207472616e736665722072656a656374656420627920455260448201526c21999a991aa932b1b2b4bb32b960991b606482015260840161114f565b606060008061299285611960565b90506000816001600160401b038111156129ae576129ae614e4c565b6040519080825280602002602001820160405280156129d7578160200160208202803683370190505b5090506000805b83811015612a425760006129f289836111b0565b9050876129fe82611168565b1415612a2f57808484612a1081615343565b955081518110612a2257612a2261526a565b6020026020010181815250505b5080612a3a81615343565b9150506129de565b509093509150505b9250929050565b612a61612a5c6124ea565b613ad1565b565b6114a46000805160206157b18339815191528261304e565b826001600160a01b0316612a8e826118c0565b6001600160a01b031614612af05760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b606482015260840161114f565b6001600160a01b038216612b545760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161114f565b6000612b5f82611168565b90506000612b6c83611d77565b9050612b79600084613b0c565b612b8283613ba3565b612b8c8584613c4e565b612b968484613d6f565b82846001600160a01b0316866001600160a01b031660008051602061587883398151915260405160405180910390a4611bc2565b6001600160a01b03163b151590565b600054610100900460ff16612c005760405162461bcd60e51b815260040161114f906155a2565b611163838383613df8565b600054610100900460ff1615808015612c2b5750600054600160ff909116105b80612c4c5750612c3a30612bca565b158015612c4c575060005460ff166001145b612c685760405162461bcd60e51b815260040161114f906153c6565b6000805460ff191660011790558015612c8b576000805461ff0019166101001790555b612c93613e5f565b612c9d8383613e86565b8015611163576000805461ff00191690556040516001815260008051602061583183398151915290602001611f5b565b60cc80546001600160a01b0319166001600160a01b0383169081179091556040517f5e4a30f4224898dbac86adca855a5edd3b8341a3aeb2b6ff0f0b5a82c013b65a90600090a250565b6000805160206157f1833981519152546001600160a01b031690565b6114a4612a51565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615612d6e5761116383613fa9565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b158015612da757600080fd5b505afa925050508015612dd7575060408051601f3d908101601f19168201909252612dd4918101906155ed565b60015b612e3a5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161114f565b6000805160206157f18339815191528114612ea95760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161114f565b50611163838383614043565b612ec0838383611fcf565b1561116357600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff19169055612eff6124ea565b6001600160a01b0316816001600160a01b0316847f6f9148fcdc32766ca802c14716295d56eab7ed848d0dba113966f40087c8839085604051612f4491815260200190565b60405180910390a4505050565b612f5a81612429565b6000818152609e6020526040812054609d80549091908110612f7e57612f7e61526a565b60009182526020909120600691909102016003810154600182015460028301549293506001600160a01b0390911691612fb685613ba3565b612fc08386613c4e565b612fc985614068565b6000856000805160206157d183398151915283604051612feb91815260200190565b60405180910390a3600082867fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a460405185906000906001600160a01b03861690600080516020615878833981519152908390a4611bc2565b6114c08282611e556124ea565b600082815260cd602090815260409182902083905581518481529081018390527f5e07998cef9cea674942c66f0ea7b0bce89ab9473ce240cc93d616c3491f8aeb910160405180910390a15050565b6130b5826001614276565b600082815260d06020526040908190208290555182907f1ebc57da8b3ebab98506502fbb73232ea29fbe86e4963a5a8c004810ad11190d906130fa9084815260200190565b60405180910390a25050565b61310f816132a9565b6001600082815260cf602052604090205460ff1660028111156131345761313461535e565b1461316d57600081815260cf6020526040908190205490516308c9ef2d60e11b815261114f91839160ff90911690600190600401615628565b600081815260cf6020526040808220805460ff191690555182917fe2babfd5e77285a3c3dbc4b25592cbe4a7a26e97a7ac63067a22ebdaa9b82add91a250565b6131b8838383611fcf565b61116357600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff191660011790556131f96124ea565b6001600160a01b0316816001600160a01b0316847f4dc88bd74ca601684356789d5b3dbc9cd44275b2544e8d35041203703b76823285604051612f4491815260200190565b600061324a848461213f565b600084815260ca6020908152604080832088845282529182902060010185905590518581529192508391839187917f15f4a36186b2284157fe71215a07487f6c8bdc1203b3307c3e1fd9693011d3d3910160405180910390a450505050565b6132b2816135bd565b6114a4576040516321fbdd2b60e11b81526004810182905260240161114f565b816001600160a01b0316836001600160a01b031614156133345760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c6572000000000000604482015260640161114f565b6001600160a01b038381166000818152609f602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b6133b1838383611fcf565b6111635780828460405163c8c801a760e01b815260040161114f939291906154df565b6133df848484612a7b565b6133eb848484846142a8565b611d715760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b606482015260840161114f565b36600061212261440b565b61345d816001614276565b600081815260cf6020526040808220805460ff191660011790555182917f779fbee689bbd6f006ecb329206d35c7db7380f9837a8826fb8dc5cfcd3d33dd91a250565b60006134aa613832565b9050610f718482858561257e565b60a080546001600160a01b0319166001600160a01b0383169081179091556040517f5252f52e45fc8ee6a7b43cef3645d23e9a470a34182b8b3a12627556635bfc9c90600090a250565b6060610d746001600160a01b0383166014614440565b600082815260cf602052604081205460ff168181600281111561353d5761353d61535e565b1461354c576000915050610d74565b6000613557856118c0565b600086815260d0602052604090205490915015801590613575575083155b156135a9576001600160a01b038116158015906135a05750600085815260d060205260409020544211155b92505050610d74565b6001600160a01b031615159150610d749050565b609d5460009015801590610d7457506000828152609e6020526040902054609d805484929081106135f0576135f061526a565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106136485772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613674576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061369257662386f26fc10000830492506010015b6305f5e10083106136aa576305f5e100830492506008015b61271083106136be57612710830492506004015b606483106136d0576064830492506002015b600a8310610d745760010192915050565b60006136ec3361185c565b156136fe575060131936013560601c90565b503390565b6001600160a01b03821661376c5760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b606482015260840161114f565b61377682846145db565b6137dc576000838152609e6020526040902054609d8054909190811061379e5761379e61526a565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b6000838152609c602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b9101613399565b6000613842609b80546001019055565b50609b5490565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a08201529050613897816146af565b6138a18484613d6f565b60405183906001600160a01b03861690600090600080516020615878833981519152908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b6000828152609e6020526040902054609d805483929081106139215761392161526a565b90600052602060002090600602016002016000828254613941919061558a565b909155505060405181815282906000906000805160206157d18339815191529060200160405180910390a35050565b60008061397c856118c0565b9050613990816001600160a01b0316612bca565b8015613a1457506040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a79060240160206040518083038186803b1580156139dc57600080fd5b505afa1580156139f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a149190615649565b15613ac3576000816001600160a01b0316629ce20b613a316124ea565b898989896040518663ffffffff1660e01b8152600401613a55959493929190615666565b602060405180830381600087803b158015613a6f57600080fd5b505af1158015613a83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613aa791906156a4565b6001600160e01b031916629ce20b60e01b149250613ac9915050565b60019150505b949350505050565b6001600160a01b038116600090815260cb602052604090205460ff166114a45780604051632957ccdd60e21b815260040161114f9190614ba8565b6000818152609e6020526040902054609d80548492908110613b3057613b3061526a565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b0392831617905581908316613b6a826118c0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609e6020526040812054609d80549091908110613bc757613bc761526a565b600091825260208220600560069092020190810154909250905b81811015613c3f576000836005018281548110613c0057613c0061526a565b6000918252602080832090910154878352609c825260408084206001600160a01b03909216845291528120555080613c3781615343565b915050613be1565b506111636005830160006149f5565b6000818152609e6020526040812054609d80549091908110613c7257613c7261526a565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b039485161790559184168152609f909152604081208054909190613cc190600190615573565b90506000826000018281548110613cda57613cda61526a565b90600052602060002001549050600083600101600086815260200190815260200160002054905081846000018281548110613d1757613d1761526a565b60009182526020808320909101929092558381526001860190915260408082208390558682528120558354849080613d5157613d516156c1565b60019003818190600052602060002001600090559055505050505050565b6000818152609e6020526040902054609d80548492908110613d9357613d9361526a565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152609f80845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b600054610100900460ff16613e1f5760405162461bcd60e51b815260040161114f906155a2565b8251613e32906098906020860190614a13565b508151613e46906099906020850190614a13565b50609a805460ff191660ff929092169190911790555050565b600054610100900460ff16612a615760405162461bcd60e51b815260040161114f906155a2565b600054610100900460ff1615808015613ea65750600054600160ff909116105b80613ec75750613eb530612bca565b158015613ec7575060005460ff166001145b613ee35760405162461bcd60e51b815260040161114f906153c6565b6000805460ff191660011790558015613f06576000805461ff0019166101001790555b60005b82811015613f7857600160976000868685818110613f2957613f2961526a565b9050602002016020810190613f3e9190614c76565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580613f7081615343565b915050613f09565b508015611163576000805461ff00191690556040516001815260008051602061583183398151915290602001611f5b565b613fb281612bca565b6140145760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161114f565b6000805160206157f183398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61404c83614801565b6000825111806140595750805b1561116357611d718383614841565b609d5460009061407a90600190615573565b6000838152609e6020526040812054609d80549394509092849081106140a2576140a261526a565b60009182526020918290206040805160c08101825260069093029091018054835260018101548385015260028101548383015260038101546001600160a01b03908116606085015260048201541660808401526005810180548351818702810187019094528084529394919360a08601939283018282801561414d57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161412f575b505050505081525050905080609d838154811061416c5761416c61526a565b600091825260209182902083516006909202019081558282015160018201556040830151600282015560608301516003820180546001600160a01b039283166001600160a01b031991821617909155608085015160048401805491909316911617905560a0830151805191926141ea92600585019290910190614a87565b505081516000908152609e602052604080822085905586825281205550609d805480614218576142186156c1565b60008281526020812060066000199093019283020181815560018101829055600281018290556003810180546001600160a01b031990811690915560048201805490911690559061426c60058301826149f5565b5050905550505050565b6142808282613518565b6114c0576040516316af84a960e21b815260048101839052811515602482015260440161114f565b60006142bc846001600160a01b0316612bca565b1561440357836001600160a01b031663150b7a026142d86124ea565b8786866040518563ffffffff1660e01b81526004016142fa94939291906156d7565b602060405180830381600087803b15801561431457600080fd5b505af1925050508015614344575060408051601f3d908101601f19168201909252614341918101906156a4565b60015b6143e9573d808015614372576040519150601f19603f3d011682016040523d82523d6000602084013e614377565b606091505b5080516143e15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161114f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613ac9565b506001613ac9565b3660006144173361185c565b15614438576000803661442b601482615573565b9261212293929190615714565b600036612122565b6060600061444f83600261573e565b61445a90600261558a565b6001600160401b0381111561447157614471614e4c565b6040519080825280601f01601f19166020018201604052801561449b576020820181803683370190505b509050600360fc1b816000815181106144b6576144b661526a565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106144e5576144e561526a565b60200101906001600160f81b031916908160001a905350600061450984600261573e565b61451490600161558a565b90505b600181111561458c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106145485761454861526a565b1a60f81b82828151811061455e5761455e61526a565b60200101906001600160f81b031916908160001a90535060049490941c936145858161575d565b9050614517565b508315610f715760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161114f565b6000818152609e6020526040812054609d805483929081106145ff576145ff61526a565b6000918252602082206005600690920201015491505b818110156146a4576000848152609e6020526040902054609d80546001600160a01b0388169290811061464a5761464a61526a565b9060005260206000209060060201600501828154811061466c5761466c61526a565b6000918252602090912001546001600160a01b0316141561469257600192505050610d74565b8061469c81615343565b915050614615565b506000949350505050565b609d805482516000908152609e6020908152604080832084905560018401855593909152835160069092027fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7b8101928355818501517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7c820155928401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7d84015560608401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7e840180546001600160a01b039283166001600160a01b03199182161790915560808601517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7f8601805491909316911617905560a084015180518594611d71937fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf80909101920190614a87565b61480a81613fa9565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061484c83612bca565b6148a75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161114f565b600080846001600160a01b0316846040516148c29190615774565b600060405180830381855af49150503d80600081146148fd576040519150601f19603f3d011682016040523d82523d6000602084013e614902565b606091505b509150915061492a828260405180606001604052806027815260200161585160279139614933565b95945050505050565b60608315614942575081610f71565b610f7183838151156149575781518083602001fd5b8060405162461bcd60e51b815260040161114f9190614b7c565b82805461497d90615235565b90600052602060002090601f01602090048101928261499f57600085556149e5565b82601f106149b85782800160ff198235161785556149e5565b828001600101855582156149e5579182015b828111156149e55782358255916020019190600101906149ca565b506149f1929150614adc565b5090565b50805460008255906000526020600020908101906114a49190614adc565b828054614a1f90615235565b90600052602060002090601f016020900481019282614a4157600085556149e5565b82601f10614a5a57805160ff19168380011785556149e5565b828001600101855582156149e5579182015b828111156149e5578251825591602001919060010190614a6c565b8280548282559060005260206000209081019282156149e5579160200282015b828111156149e557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614aa7565b5b808211156149f15760008155600101614add565b6001600160e01b0319811681146114a457600080fd5b600060208284031215614b1957600080fd5b8135610f7181614af1565b60005b83811015614b3f578181015183820152602001614b27565b83811115611d715750506000910152565b60008151808452614b68816020860160208601614b24565b601f01601f19169290920160200192915050565b602081526000610f716020830184614b50565b600060208284031215614ba157600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b038116811461192b57600080fd5b60008060408385031215614be657600080fd5b614bef83614bbc565b946020939093013593505050565b600080600060608486031215614c1257600080fd5b83359250614c2260208501614bbc565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015614c6a57835183529284019291840191600101614c4e565b50909695505050505050565b600060208284031215614c8857600080fd5b610f7182614bbc565b600080600060608486031215614ca657600080fd5b614caf84614bbc565b9250614c2260208501614bbc565b600080600060608486031215614cd257600080fd5b505081359360208301359350604090920135919050565b60008083601f840112614cfb57600080fd5b5081356001600160401b03811115614d1257600080fd5b602083019150836020828501011115612a4a57600080fd5b60008060008060008060008060a0898b031215614d4657600080fd5b88356001600160401b0380821115614d5d57600080fd5b614d698c838d01614ce9565b909a50985060208b0135915080821115614d8257600080fd5b614d8e8c838d01614ce9565b9098509650869150614da260408c01614bbc565b9550614db060608c01614bbc565b945060808b0135915080821115614dc657600080fd5b818b0191508b601f830112614dda57600080fd5b813581811115614de957600080fd5b8c60208260051b8501011115614dfe57600080fd5b6020830194508093505050509295985092959890939650565b600080600060608486031215614e2c57600080fd5b8335925060208401359150614e4360408501614bbc565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715614e8a57614e8a614e4c565b604052919050565b60006001600160401b03821115614eab57614eab614e4c565b50601f01601f191660200190565b600082601f830112614eca57600080fd5b8135614edd614ed882614e92565b614e62565b818152846020838601011115614ef257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215614f2257600080fd5b614f2b83614bbc565b915060208301356001600160401b03811115614f4657600080fd5b614f5285828601614eb9565b9150509250929050565b60008060408385031215614f6f57600080fd5b50508035926020909101359150565b600060808284031215614f9057600080fd5b50919050565b600080600060c08486031215614fab57600080fd5b8335925060208401359150614e438560408601614f7e565b80151581146114a457600080fd5b600080600080600060808688031215614fe957600080fd5b8535945060208601356001600160401b0381111561500657600080fd5b61501288828901614ce9565b909550935050604086013561502681614fc3565b915061503460608701614bbc565b90509295509295909350565b60008060006040848603121561505557600080fd5b8335925060208401356001600160401b0381111561507257600080fd5b61507e86828701614ce9565b9497909650939450505050565b6000806040838503121561509e57600080fd5b6150a783614bbc565b915060208301356150b781614fc3565b809150509250929050565b600080600080608085870312156150d857600080fd5b6150e185614bbc565b93506150ef60208601614bbc565b92506040850135915060608501356001600160401b0381111561511157600080fd5b61511d87828801614eb9565b91505092959194509250565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6000806000806000610100868803121561517157600080fd5b61517a86614bbc565b94506020860135935060408601359250606086013591506150348760808801614f7e565b600080604083850312156151b157600080fd5b823591506151c160208401614bbc565b90509250929050565b6001600160a01b038616815260ff8516602082015260a0604082018190526000906151f790830186614b50565b606083019490945250608001529392505050565b6000806040838503121561521e57600080fd5b61522783614bbc565b91506151c160208401614bbc565b600181811c9082168061524957607f821691505b60208210811415614f9057634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008351615292818460208801614b24565b64736c6f742f60d81b90830190815283516152b4816005840160208801614b24565b01600501949350505050565b6000602082840312156152d257600080fd5b81516001600160401b038111156152e857600080fd5b8201601f810184136152f957600080fd5b8051615307614ed882614e92565b81815285602083850101111561531c57600080fd5b61492a826020830160208601614b24565b634e487b7160e01b600052601160045260246000fd5b60006000198214156153575761535761532d565b5060010190565b634e487b7160e01b600052602160045260246000fd5b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b602080825260199082015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604082015260600190565b6001600160a01b039390931683526020830191909152604082015260600190565b60008351615512818460208801614b24565b835190830190615526818360208801614b24565b01949350505050565b60008351615541818460208801614b24565b68636f6e74726163742f60b81b9083019081528351615567816009840160208801614b24565b01600901949350505050565b6000828210156155855761558561532d565b500390565b6000821982111561559d5761559d61532d565b500190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6000602082840312156155ff57600080fd5b5051919050565b6003811061562457634e487b7160e01b600052602160045260246000fd5b9052565b8381526060810161563c6020830185615606565b613ac96040830184615606565b60006020828403121561565b57600080fd5b8151610f7181614fc3565b60018060a01b038616815284602082015283604082015282606082015260a06080820152600061569960a0830184614b50565b979650505050505050565b6000602082840312156156b657600080fd5b8151610f7181614af1565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061570a90830184614b50565b9695505050505050565b6000808585111561572457600080fd5b8386111561573157600080fd5b5050820193919092039150565b60008160001904831182151516156157585761575861532d565b500290565b60008161576c5761576c61532d565b506000190190565b60008251615786818460208701614b24565b919091019291505056fefca69b310bd19d275687ebe00b254b0772cf7a367c3f81a9a5a433f831fdc1dc3c63e605be3290ab6b04cfc46c6e1516e626d43236b034f09d7ede1d017beb0c0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc6360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc449b0a7e0acc0a95c71947cb19fdd122b42abca9bdfbd6707ca4f1e3fdaef05e7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122081332b14057f96d3d7eb86d2482ef699ebc418ae13ecfb637db89ee414b5ccc464736f6c63430008090033"; - -type GatewayInternalTestConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayInternalTestConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayInternalTest__factory extends ContractFactory { - constructor(...args: GatewayInternalTestConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): GatewayInternalTest { - return super.attach(address) as GatewayInternalTest; - } - override connect(signer: Signer): GatewayInternalTest__factory { - return super.connect(signer) as GatewayInternalTest__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayInternalTestInterface { - return new utils.Interface(_abi) as GatewayInternalTestInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GatewayInternalTest { - return new Contract(address, _abi, signerOrProvider) as GatewayInternalTest; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/GatewayTokenInternalsTest__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/GatewayTokenInternalsTest__factory.ts deleted file mode 100644 index 5cf0350bb..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/GatewayTokenInternalsTest__factory.ts +++ /dev/null @@ -1,2142 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - GatewayTokenInternalsTest, - GatewayTokenInternalsTestInterface, -} from "../../../contracts/GatewayTokenInternalsTest.sol/GatewayTokenInternalsTest"; - -const _abi = [ - { - inputs: [], - name: "Common__MissingAccount", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "Common__NotContract", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "Common__NotSuperAdmin", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "sender", - type: "address", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - ], - name: "Common__Unauthorized", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "available", - type: "uint256", - }, - { - internalType: "uint256", - name: "required", - type: "uint256", - }, - ], - name: "GatewayToken__InsufficientFunds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NetworkAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NetworkDoesNotExist", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NotDAOGoverned", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "GatewayToken__TokenDoesNotExist", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "bool", - name: "allowExpired", - type: "bool", - }, - ], - name: "GatewayToken__TokenDoesNotExistOrIsInactive", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "enum IGatewayToken.TokenState", - name: "state", - type: "uint8", - }, - { - internalType: "enum IGatewayToken.TokenState", - name: "expectedState", - type: "uint8", - }, - ], - name: "GatewayToken__TokenInvalidStateForOperation", - type: "error", - }, - { - inputs: [], - name: "GatewayToken__TransferDisabled", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "ParameterizedAccessControl__RenounceRoleNotForSelf", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousAdmin", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newAdmin", - type: "address", - }, - ], - name: "AdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_approved", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "ApprovalForAll", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "ApprovalValue", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "beacon", - type: "address", - }, - ], - name: "BeaconUpgraded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "bitmask", - type: "uint256", - }, - ], - name: "BitMaskUpdated", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousDAOManager", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newDAOManager", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "DAOManagerTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "Expiration", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "flagsStorage", - type: "address", - }, - ], - name: "FlagsStorageUpdated", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Freeze", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Revoke", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "bytes32", - name: "previousAdminRole", - type: "bytes32", - }, - { - indexed: true, - internalType: "bytes32", - name: "newAdminRole", - type: "bytes32", - }, - ], - name: "RoleAdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleGranted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleRevoked", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "metadataDescriptor", - type: "address", - }, - ], - name: "SetMetadataDescriptor", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_oldSlot", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_newSlot", - type: "uint256", - }, - ], - name: "SlotChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "SuperAdminAdded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "SuperAdminRemoved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_to", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_fromTokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_toTokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "TransferValue", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Unfreeze", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "DAO_MANAGER_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DEFAULT_ADMIN_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "GATEKEEPER_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "NETWORK_AUTHORITY_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "addForwarder", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "addGatekeeper", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "addNetworkAuthority", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "operator_", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "address", - name: "", - type: "address", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "balance", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "burn", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "contractURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "bool", - name: "daoGoverned", - type: "bool", - }, - { - internalType: "address", - name: "daoManager", - type: "address", - }, - ], - name: "createNetwork", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "flagsStorage", - outputs: [ - { - internalType: "contract IFlagsStorage", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "freeze", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "getApproved", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getExpiration", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getMsgData", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "getNetwork", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - ], - name: "getRoleAdmin", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getToken", - outputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint8", - name: "state", - type: "uint8", - }, - { - internalType: "string", - name: "identity", - type: "string", - }, - { - internalType: "uint256", - name: "expiration", - type: "uint256", - }, - { - internalType: "uint256", - name: "bitmask", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getTokenBitmask", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "getTokenIdsByOwnerAndNetwork", - outputs: [ - { - internalType: "uint256[]", - name: "", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "grantRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "hasRole", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "string", - name: "_name", - type: "string", - }, - { - internalType: "string", - name: "_symbol", - type: "string", - }, - { - internalType: "address", - name: "_superAdmin", - type: "address", - }, - { - internalType: "address", - name: "_flagsStorage", - type: "address", - }, - { - internalType: "address[]", - name: "_trustedForwarders", - type: "address[]", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - { - internalType: "address", - name: "operator_", - type: "address", - }, - ], - name: "isApprovedForAll", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "isGatekeeper", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "isNetworkAuthority", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "isNetworkDAOGoverned", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isSuperAdmin", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "isTrustedForwarder", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "metadataDescriptor", - outputs: [ - { - internalType: "contract IERC3525MetadataDescriptorUpgradeable", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiration", - type: "uint256", - }, - { - internalType: "uint256", - name: "mask", - type: "uint256", - }, - { - components: [ - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "enum ChargeType", - name: "chargeType", - type: "uint8", - }, - { - internalType: "address", - name: "token", - type: "address", - }, - { - internalType: "address", - name: "recipient", - type: "address", - }, - ], - internalType: "struct Charge", - name: "", - type: "tuple", - }, - ], - name: "mint", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "ownerOf", - outputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "removeForwarder", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "removeGatekeeper", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "removeNetworkAuthority", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - ], - name: "renameNetwork", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "renounceRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "revoke", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeSuperAdmin", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "bytes", - name: "data_", - type: "bytes", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "operator_", - type: "address", - }, - { - internalType: "bool", - name: "approved_", - type: "bool", - }, - ], - name: "setApprovalForAll", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "mask", - type: "uint256", - }, - ], - name: "setBitmask", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - { - components: [ - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "enum ChargeType", - name: "chargeType", - type: "uint8", - }, - { - internalType: "address", - name: "token", - type: "address", - }, - { - internalType: "address", - name: "recipient", - type: "address", - }, - ], - internalType: "struct Charge", - name: "", - type: "tuple", - }, - ], - name: "setExpiration", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_metadataDescriptor", - type: "address", - }, - ], - name: "setMetadataDescriptor", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "setSuperAdmin", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "slotOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "slot_", - type: "uint256", - }, - ], - name: "slotURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "index_", - type: "uint256", - }, - ], - name: "tokenByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - { - internalType: "uint256", - name: "index_", - type: "uint256", - }, - ], - name: "tokenOfOwnerByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "tokenURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "previousManager", - type: "address", - }, - { - internalType: "address", - name: "newManager", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "transferDAOManager", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "fromTokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "uint256", - name: "newTokenId", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "fromTokenId_", - type: "uint256", - }, - { - internalType: "uint256", - name: "toTokenId_", - type: "uint256", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "transfersRestricted", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "unfreeze", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "flagsStorage", - type: "address", - }, - ], - name: "updateFlagsStorage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - ], - name: "upgradeTo", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "valueDecimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "verifyToken", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "verifyToken", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e8565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e6576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6080516158cd62000120600039600081816114cf0152818161150f015281816116480152818161168801526117bb01526158cd6000f3fe6080604052600436106103d15760003560e01c80637dbded28116101f9578063b5d616351161011e578063df2a7fe1116100b6578063e71fb1101161007a578063e71fb11014610c57578063e8a3d48514610c77578063e985e9c514610c8c578063ff17e23214610cd9578063ff85a97514610cf957600080fd5b8063df2a7fe114610b8d578063df7f453b14610bad578063e0ed6a3114610be6578063e345e0bc14610c06578063e4b50cb814610c2657600080fd5b8063b5d6163514610a75578063b88d4fde14610a95578063babb898d14610aa8578063c2a366fb14610ac8578063c58dbbed14610ae8578063c87b56dd14610b08578063c8e7ca2e14610b28578063d6fd317514610b4b578063d7a78db814610b6d57600080fd5b806395ea57171161019157806395ea5717146109505780639c7525e6146109705780639cc7f70814610990578063a05b775f146109b0578063a217fddf146109d0578063a22cb465146109e5578063a578c09314610a05578063a8fa8e0d14610a35578063b4bd857914610a5557600080fd5b80637dbded281461085757806381e9ff191461087757806382d66d5f14610899578063840f7113146108b95780638423df79146108d95780638cb0a511146108ed5780638eb7a776146108fb57806390eddd521461091b57806395d89b411461093b57600080fd5b80633659cfe6116102fa57806352d1902d116102925780636623fc46116102565780636623fc46146107b55780636dba2729146107d55780636f7caf41146107f557806370a082311461081757806370f081601461083757600080fd5b806352d1902d14610720578063572b6c05146107355780635c41d2fe146107555780635e79b726146107755780636352211e1461079557600080fd5b80633659cfe61461061857806336e45041146106385780633e7e86691461065857806342842e0e1461067a57806342966c681461068d5780634d93172d146106ad5780634f1ef286146106cd5780634f6ccce7146106e057806351da912d1461070057600080fd5b806320c5429b1161036d57806320c5429b1461051257806323b872dd14610532578063263f3e7e146105455780632d33d27a146105655780632f745c5914610585578063310ed7f0146105a557806331416a29146105b857806334e37b8a146105d85780633568dd29146105f857600080fd5b806301ffc9a7146103d657806306fdde031461040b578063081812fc1461042d578063095ea7b31461045a57806309c3dd871461046f5780630f485c021461048f5780631442f521146104b057806315700052146104dd57806318160ddd146104fd575b600080fd5b3480156103e257600080fd5b506103f66103f1366004614b07565b610d19565b60405190151581526020015b60405180910390f35b34801561041757600080fd5b50610420610d7a565b6040516104029190614b7c565b34801561043957600080fd5b5061044d610448366004614b8f565b610e0c565b6040516104029190614ba8565b61046d610468366004614bd3565b610e5e565b005b34801561047b57600080fd5b5061042061048a366004614b8f565b610e77565b6104a261049d366004614bfd565b610f78565b604051908152602001610402565b3480156104bc57600080fd5b506104d06104cb366004614bd3565b610fb7565b6040516104029190614c32565b3480156104e957600080fd5b5061046d6104f8366004614c76565b61106e565b34801561050957600080fd5b50609d546104a2565b34801561051e57600080fd5b5061046d61052d366004614b8f565b6110ce565b61046d610540366004614c91565b611122565b34801561055157600080fd5b506104a2610560366004614b8f565b611168565b34801561057157600080fd5b5060cc5461044d906001600160a01b031681565b34801561059157600080fd5b506104a26105a0366004614bd3565b6111b0565b61046d6105b3366004614cbd565b611251565b3480156105c457600080fd5b5061046d6105d3366004614d2a565b61126e565b3480156105e457600080fd5b5061046d6105f3366004614c76565b611493565b34801561060457600080fd5b5061046d610613366004614bd3565b6114a7565b34801561062457600080fd5b5061046d610633366004614c76565b6114c4565b34801561064457600080fd5b5061046d610653366004614e17565b61158a565b34801561066457600080fd5b50609a5460405160ff9091168152602001610402565b61046d610688366004614c91565b6115e0565b34801561069957600080fd5b5061046d6106a8366004614b8f565b6115fb565b3480156106b957600080fd5b5061046d6106c8366004614c76565b611610565b61046d6106db366004614f0f565b61163d565b3480156106ec57600080fd5b506104a26106fb366004614b8f565b6116f3565b34801561070c57600080fd5b5061046d61071b366004614f5c565b611784565b34801561072c57600080fd5b506104a26117ae565b34801561074157600080fd5b506103f6610750366004614c76565b61185c565b34801561076157600080fd5b5061046d610770366004614c76565b61187a565b34801561078157600080fd5b5061046d610790366004614f96565b6118aa565b3480156107a157600080fd5b5061044d6107b0366004614b8f565b6118c0565b3480156107c157600080fd5b5061046d6107d0366004614b8f565b611930565b3480156107e157600080fd5b506103f66107f0366004614bd3565b611945565b34801561080157600080fd5b506104a260008051602061581183398151915281565b34801561082357600080fd5b506104a2610832366004614c76565b611960565b34801561084357600080fd5b5061046d610852366004614bd3565b6119e8565b34801561086357600080fd5b5061046d610872366004614fd1565b611a01565b34801561088357600080fd5b506104a260008051602061579183398151915281565b3480156108a557600080fd5b5061046d6108b4366004614bd3565b611bc9565b3480156108c557600080fd5b5060a05461044d906001600160a01b031681565b3480156108e557600080fd5b5060016103f6565b61046d610468366004614bfd565b34801561090757600080fd5b5061046d610916366004614e17565b611bde565b34801561092757600080fd5b5061046d610936366004614bd3565b611bfe565b34801561094757600080fd5b50610420611c17565b34801561095c57600080fd5b5061042061096b366004614b8f565b611c26565b34801561097c57600080fd5b5061046d61098b366004615040565b611cc8565b34801561099c57600080fd5b506104a26109ab366004614b8f565b611d77565b3480156109bc57600080fd5b506104a26109cb366004614b8f565b611dbf565b3480156109dc57600080fd5b506104a2600081565b3480156109f157600080fd5b5061046d610a0036600461508b565b611ddd565b348015610a1157600080fd5b506103f6610a20366004614b8f565b60ce6020526000908152604090205460ff1681565b348015610a4157600080fd5b5061046d610a50366004614c91565b611def565b348015610a6157600080fd5b506104a2610a70366004614b8f565b611f68565b348015610a8157600080fd5b5061046d610a90366004614e17565b611f7c565b61046d610aa33660046150c2565b611f9c565b348015610ab457600080fd5b506103f6610ac3366004614e17565b611fcf565b348015610ad457600080fd5b506103f6610ae3366004614bd3565b612000565b348015610af457600080fd5b5061046d610b03366004614c76565b61201b565b348015610b1457600080fd5b50610420610b23366004614b8f565b612078565b348015610b3457600080fd5b50610b3d612117565b604051610402929190615129565b348015610b5757600080fd5b506104a26000805160206157b183398151915281565b348015610b7957600080fd5b5061046d610b88366004614b8f565b61212a565b348015610b9957600080fd5b506104a2610ba8366004614f5c565b61213f565b348015610bb957600080fd5b506103f6610bc8366004614c76565b6001600160a01b0316600090815260cb602052604090205460ff1690565b348015610bf257600080fd5b5061046d610c01366004615158565b61215e565b348015610c1257600080fd5b506104a2610c2136600461519e565b6121a7565b348015610c3257600080fd5b50610c46610c41366004614b8f565b6121db565b6040516104029594939291906151ca565b348015610c6357600080fd5b5061046d610c72366004614c76565b61223b565b348015610c8357600080fd5b5061042061224c565b348015610c9857600080fd5b506103f6610ca736600461520b565b6001600160a01b039182166000908152609f602090815260408083209390941682526002909201909152205460ff1690565b348015610ce557600080fd5b506103f6610cf4366004614bd3565b612355565b348015610d0557600080fd5b506103f6610d14366004614b8f565b6123e7565b60006001600160e01b03198216630354d60560e61b1480610d4a57506001600160e01b031982166380ac58cd60e01b145b80610d6557506001600160e01b031982166370b0048160e11b145b80610d745750610d74826123f4565b92915050565b606060988054610d8990615235565b80601f0160208091040260200160405190810160405280929190818152602001828054610db590615235565b8015610e025780601f10610dd757610100808354040283529160200191610e02565b820191906000526020600020905b815481529060010190602001808311610de557829003601f168201915b5050505050905090565b6000610e1782612429565b6000828152609e6020526040902054609d80549091908110610e3b57610e3b61526a565b60009182526020909120600460069092020101546001600160a01b031692915050565b60405163c03a3ff560e01b815260040160405180910390fd5b60606000610e9060408051602081019091526000815290565b60a0549091506001600160a01b0316610ef0576000815111610ec15760405180602001604052806000815250610f71565b80610ecb8461244e565b604051602001610edc929190615280565b604051602081830303815290604052610f71565b60a054604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b60006040518083038186803b158015610f3557600080fd5b505afa158015610f49573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f7191908101906152c0565b9392505050565b6000610f8c610f856124ea565b85846124f9565b610f9584612574565b9050610fac8382610fa587611168565b600061257e565b610f718482846126a5565b6060600080610fc68585612984565b915091506000816001600160401b03811115610fe457610fe4614e4c565b60405190808252806020026020018201604052801561100d578160200160208202803683370190505b50905060005b828110156110645783818151811061102d5761102d61526a565b60200260200101518282815181106110475761104761526a565b60209081029190910101528061105c81615343565b915050611013565b5095945050505050565b611076612a51565b6040516001600160a01b038216907f286f82d2b1e37b5e9f33e455d014b4a5f6c29388e6e41e1281d4c83e04f4265590600090a26001600160a01b0316600090815260cb60205260409020805460ff19166001179055565b6110df6110da82611168565b612a63565b600081815260cf6020526040808220805460ff191660021790555182917fdb43aa42235c8d63908794a952603e8d43a549383d13123c3d893a3fc2e6249591a250565b61113361112d6124ea565b50600090565b6111585760405162461bcd60e51b815260040161114f90615374565b60405180910390fd5b611163838383612a7b565b505050565b600061117382612429565b6000828152609e6020526040902054609d805490919081106111975761119761526a565b9060005260206000209060060201600101549050919050565b60006111bb83611960565b82106112145760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161114f565b6001600160a01b0383166000908152609f6020526040902080548390811061123e5761123e61526a565b9060005260206000200154905092915050565b61126361125c6124ea565b84836124f9565b6111638383836126a5565b600054610100900460ff161580801561128e5750600054600160ff909116105b806112af575061129d30612bca565b1580156112af575060005460ff166001145b6112cb5760405162461bcd60e51b815260040161114f906153c6565b6000805460ff1916600117905580156112ee576000805461ff0019166101001790555b6001600160a01b03851661131557604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03841661133c57604051630ca2c90160e21b815260040160405180910390fd5b60005b828110156113aa57600084848381811061135b5761135b61526a565b90506020020160208101906113709190614c76565b6001600160a01b0316141561139857604051630ca2c90160e21b815260040160405180910390fd5b806113a281615343565b91505061133f565b5061141e89898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a908190840183828082843760009201829052509250612bd9915050565b6114288383612c0b565b61143184612ccd565b6001600160a01b038516600090815260cb60205260409020805460ff191660011790558015611488576000805461ff0019169055604051600181526000805160206158318339815191529060200160405180910390a15b505050505050505050565b61149b612a51565b6114a481612ccd565b50565b6114c06000805160206157b18339815191528284611bde565b5050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561150d5760405162461bcd60e51b815260040161114f90615414565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661153f612d17565b6001600160a01b0316146115655760405162461bcd60e51b815260040161114f90615460565b61156e81612d33565b604080516000808252602082019092526114a491839190612d3b565b6115926124ea565b6001600160a01b0316816001600160a01b0316146115d5576040516307ca099360e31b8152600481018490526001600160a01b038216602482015260440161114f565b611163838383612eb5565b61116383838360405180602001604052806000815250611f9c565b6116076110da82611168565b6114a481612f51565b611618612a51565b6114a4816001600160a01b03166000908152609760205260409020805460ff19169055565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156116865760405162461bcd60e51b815260040161114f90615414565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166116b8612d17565b6001600160a01b0316146116de5760405162461bcd60e51b815260040161114f90615460565b6116e782612d33565b6114c082826001612d3b565b60006116fe609d5490565b82106117585760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161114f565b609d828154811061176b5761176b61526a565b9060005260206000209060060201600001549050919050565b6117a46000805160206157b183398151915261179f84611168565b61304e565b6114c0828261305b565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146118495760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161114f565b506000805160206157f183398151915290565b6001600160a01b031660009081526097602052604090205460ff1690565b611882612a51565b6114a4816001600160a01b03166000908152609760205260409020805460ff19166001179055565b6118b66110da84611168565b61116383836130aa565b60006118cb82612429565b6000828152609e6020526040902054609d805490919081106118ef576118ef61526a565b60009182526020909120600360069092020101546001600160a01b031690508061192b5760405162461bcd60e51b815260040161114f906154ac565b919050565b61193c6110da82611168565b6114a481613106565b6000610f716000805160206157b18339815191528385611fcf565b60006001600160a01b0382166119cc5760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161114f565b506001600160a01b03166000908152609f602052604090205490565b6114c06000805160206157b18339815191528284611f7c565b600085815260d1602052604090208054611a1a90615235565b159050611a3d57604051636f55f62b60e01b81526004810186905260240161114f565b600085815260d160205260409020611a56908585614971565b508115611b5457600085815260ce60205260409020805460ff19168315151790556001600160a01b038116611a9e57604051630ca2c90160e21b815260040160405180910390fd5b611ab0816001600160a01b0316612bca565b611acf578060405163d4daafa160e01b815260040161114f9190614ba8565b611ae860008051602061579183398151915286836131ad565b611b0160008051602061581183398151915286836131ad565b611b286000805160206158118339815191528660008051602061579183398151915261323e565b611b4f6000805160206157b18339815191528660008051602061579183398151915261323e565b611bc2565b611b7460008051602061581183398151915286611b6f6124ea565b6131ad565b611b9b6000805160206158118339815191528660008051602061581183398151915261323e565b611bc26000805160206157b18339815191528660008051602061581183398151915261323e565b5050505050565b6114c060008051602061581183398151915282845b611be8838361213f565b82611bf3828261304e565b611bc2858585612eb5565b6114c06000805160206158118339815191528284611f7c565b606060998054610d8990615235565b600081815260d160205260409020805460609190611c4390615235565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6f90615235565b8015611cbc5780601f10611c9157610100808354040283529160200191611cbc565b820191906000526020600020905b815481529060010190602001808311611c9f57829003601f168201915b50505050509050919050565b600083815260d1602052604090208054611ce190615235565b15159050611d0557604051630817886d60e41b81526004810184905260240161114f565b611d2060008051602061581183398151915284610ac36124ea565b611d5857611d2c6124ea565b8360008051602061581183398151915260405163c8c801a760e01b815260040161114f939291906154df565b600083815260d160205260409020611d71908383614971565b50505050565b6000611d8282612429565b6000828152609e6020526040902054609d80549091908110611da657611da661526a565b9060005260206000209060060201600201549050919050565b6000611dca826132a9565b50600090815260d0602052604090205490565b6114c0611de86124ea565b83836132d2565b600081815260ce602052604090205460ff16611e215760405163db53ce7160e01b81526004810182905260240161114f565b611e3a60008051602061579183398151915282856133a6565b611e5a60008051602061579183398151915282611e556124ea565b6133a6565b6001600160a01b038216611e8157604051630ca2c90160e21b815260040160405180910390fd5b611e9a6000805160206157918339815191528284611f7c565b611eb36000805160206158118339815191528284611f7c565b611ecc6000805160206157b18339815191528284611f7c565b611ee56000805160206157b18339815191528285611bde565b611efe6000805160206158118339815191528285611bde565b611f176000805160206157918339815191528285611bde565b604080516001600160a01b038086168252841660208201529081018290527f744258a28673e8738e2812c0ab8e8dbd70352f8871b1febac0dd753d96d79f58906060015b60405180910390a1505050565b600081815260cd6020526040812054610d74565b611f86838361213f565b82611f91828261304e565b611bc28585856131ad565b611fa761112d6124ea565b611fc35760405162461bcd60e51b815260040161114f90615374565b611d71848484846133d4565b600091825260ca602090815260408084209484529381528383206001600160a01b0392909216835252205460ff1690565b6000610f716000805160206158118339815191528385611fcf565b612023612a51565b6040516001600160a01b038216907ffb445f6ec07647d2bb7af72821e6b8b7303ec375e934d4a338d38ed5846c2d5690600090a26001600160a01b0316600090815260cb60205260409020805460ff19169055565b606061208382612429565b600061209a60408051602081019091526000815290565b60a0549091506001600160a01b03166120e65760008151116120cb5760405180602001604052806000815250610f71565b806120d58461244e565b604051602001610edc929190615500565b60a0546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401610f1d565b366000612122613447565b915091509091565b6121366110da82611168565b6114a481613452565b600090815260ca60209081526040808320938352929052206001015490565b61216784612a63565b6000612175868660016134a0565b9050831561218f57600081815260d0602052604090208490555b821561219f5761219f818461305b565b505050505050565b60006121b283612429565b506000918252609c602090815260408084206001600160a01b0393909316845291905290205490565b60008060606000806121ec866118c0565b600087815260cf602052604090205490955060ff1660028111156122125761221261535e565b600096875260d0602090815260408089205460cd90925290972054959790969395939450915050565b612243612a51565b6114a4816134b8565b6060600061226560408051602081019091526000815290565b60a0549091506001600160a01b03166122c5576000815111612296576040518060200160405280600081525061234f565b806122a030613502565b6040516020016122b192919061552f565b60405160208183030381529060405261234f565b60a060009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b815260040160006040518083038186803b15801561231357600080fd5b505afa158015612327573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261234f91908101906152c0565b91505090565b60008060006123648585612984565b9150915060005b818110156123db578281815181106123855761238561526a565b60200260200101516000146123c9576123b88382815181106123a9576123a961526a565b60200260200101516000613518565b156123c95760019350505050610d74565b806123d381615343565b91505061236b565b50600095945050505050565b6000610d74826000613518565b60006001600160e01b031982166333cb74f560e11b1480610d7457506301ffc9a760e01b6001600160e01b0319831614610d74565b612432816135bd565b6114a45760405162461bcd60e51b815260040161114f906154ac565b6060600061245b83613609565b60010190506000816001600160401b0381111561247a5761247a614e4c565b6040519080825280601f01601f1916602001820160405280156124a4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846124dd576124e2565b6124ae565b509392505050565b60006124f46136e1565b905090565b600061250583856121a7565b90506000198114611d7157818110156125605760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e636500604482015260640161114f565b611d71838561256f8585615573565b613703565b6000610d74613832565b6001600160a01b0384166125de5760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161114f565b826126355760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b606482015260840161114f565b61263e836135bd565b1561268b5760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e746564000000604482015260640161114f565b612696848484613849565b6126a083826138fd565b611d71565b6126ae836135bd565b61270a5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b606482015260840161114f565b612713826135bd565b61276d5760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b606482015260840161114f565b6000838152609e6020526040812054609d805490919081106127915761279161526a565b906000526020600020906006020190506000609d609e600086815260200190815260200160002054815481106127c9576127c961526a565b9060005260206000209060060201905082826002015410156128405760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161114f565b80600101548260010154146128ae5760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b606482015260840161114f565b828260020160008282546128c29190615573565b92505081905550828160020160008282546128dd919061558a565b9091555050604051838152849086906000805160206157d18339815191529060200160405180910390a361292285858560405180602001604052806000815250613970565b611bc25760405162461bcd60e51b815260206004820152602d60248201527f455243333532353a207472616e736665722072656a656374656420627920455260448201526c21999a991aa932b1b2b4bb32b960991b606482015260840161114f565b606060008061299285611960565b90506000816001600160401b038111156129ae576129ae614e4c565b6040519080825280602002602001820160405280156129d7578160200160208202803683370190505b5090506000805b83811015612a425760006129f289836111b0565b9050876129fe82611168565b1415612a2f57808484612a1081615343565b955081518110612a2257612a2261526a565b6020026020010181815250505b5080612a3a81615343565b9150506129de565b509093509150505b9250929050565b612a61612a5c6124ea565b613ad1565b565b6114a46000805160206157b18339815191528261304e565b826001600160a01b0316612a8e826118c0565b6001600160a01b031614612af05760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b606482015260840161114f565b6001600160a01b038216612b545760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161114f565b6000612b5f82611168565b90506000612b6c83611d77565b9050612b79600084613b0c565b612b8283613ba3565b612b8c8584613c4e565b612b968484613d6f565b82846001600160a01b0316866001600160a01b031660008051602061587883398151915260405160405180910390a4611bc2565b6001600160a01b03163b151590565b600054610100900460ff16612c005760405162461bcd60e51b815260040161114f906155a2565b611163838383613df8565b600054610100900460ff1615808015612c2b5750600054600160ff909116105b80612c4c5750612c3a30612bca565b158015612c4c575060005460ff166001145b612c685760405162461bcd60e51b815260040161114f906153c6565b6000805460ff191660011790558015612c8b576000805461ff0019166101001790555b612c93613e5f565b612c9d8383613e86565b8015611163576000805461ff00191690556040516001815260008051602061583183398151915290602001611f5b565b60cc80546001600160a01b0319166001600160a01b0383169081179091556040517f5e4a30f4224898dbac86adca855a5edd3b8341a3aeb2b6ff0f0b5a82c013b65a90600090a250565b6000805160206157f1833981519152546001600160a01b031690565b6114a4612a51565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615612d6e5761116383613fa9565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b158015612da757600080fd5b505afa925050508015612dd7575060408051601f3d908101601f19168201909252612dd4918101906155ed565b60015b612e3a5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161114f565b6000805160206157f18339815191528114612ea95760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161114f565b50611163838383614043565b612ec0838383611fcf565b1561116357600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff19169055612eff6124ea565b6001600160a01b0316816001600160a01b0316847f6f9148fcdc32766ca802c14716295d56eab7ed848d0dba113966f40087c8839085604051612f4491815260200190565b60405180910390a4505050565b612f5a81612429565b6000818152609e6020526040812054609d80549091908110612f7e57612f7e61526a565b60009182526020909120600691909102016003810154600182015460028301549293506001600160a01b0390911691612fb685613ba3565b612fc08386613c4e565b612fc985614068565b6000856000805160206157d183398151915283604051612feb91815260200190565b60405180910390a3600082867fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a460405185906000906001600160a01b03861690600080516020615878833981519152908390a4611bc2565b6114c08282611e556124ea565b600082815260cd602090815260409182902083905581518481529081018390527f5e07998cef9cea674942c66f0ea7b0bce89ab9473ce240cc93d616c3491f8aeb910160405180910390a15050565b6130b5826001614276565b600082815260d06020526040908190208290555182907f1ebc57da8b3ebab98506502fbb73232ea29fbe86e4963a5a8c004810ad11190d906130fa9084815260200190565b60405180910390a25050565b61310f816132a9565b6001600082815260cf602052604090205460ff1660028111156131345761313461535e565b1461316d57600081815260cf6020526040908190205490516308c9ef2d60e11b815261114f91839160ff90911690600190600401615628565b600081815260cf6020526040808220805460ff191690555182917fe2babfd5e77285a3c3dbc4b25592cbe4a7a26e97a7ac63067a22ebdaa9b82add91a250565b6131b8838383611fcf565b61116357600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff191660011790556131f96124ea565b6001600160a01b0316816001600160a01b0316847f4dc88bd74ca601684356789d5b3dbc9cd44275b2544e8d35041203703b76823285604051612f4491815260200190565b600061324a848461213f565b600084815260ca6020908152604080832088845282529182902060010185905590518581529192508391839187917f15f4a36186b2284157fe71215a07487f6c8bdc1203b3307c3e1fd9693011d3d3910160405180910390a450505050565b6132b2816135bd565b6114a4576040516321fbdd2b60e11b81526004810182905260240161114f565b816001600160a01b0316836001600160a01b031614156133345760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c6572000000000000604482015260640161114f565b6001600160a01b038381166000818152609f602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b6133b1838383611fcf565b6111635780828460405163c8c801a760e01b815260040161114f939291906154df565b6133df848484612a7b565b6133eb848484846142a8565b611d715760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b606482015260840161114f565b36600061212261440b565b61345d816001614276565b600081815260cf6020526040808220805460ff191660011790555182917f779fbee689bbd6f006ecb329206d35c7db7380f9837a8826fb8dc5cfcd3d33dd91a250565b60006134aa613832565b9050610f718482858561257e565b60a080546001600160a01b0319166001600160a01b0383169081179091556040517f5252f52e45fc8ee6a7b43cef3645d23e9a470a34182b8b3a12627556635bfc9c90600090a250565b6060610d746001600160a01b0383166014614440565b600082815260cf602052604081205460ff168181600281111561353d5761353d61535e565b1461354c576000915050610d74565b6000613557856118c0565b600086815260d0602052604090205490915015801590613575575083155b156135a9576001600160a01b038116158015906135a05750600085815260d060205260409020544211155b92505050610d74565b6001600160a01b031615159150610d749050565b609d5460009015801590610d7457506000828152609e6020526040902054609d805484929081106135f0576135f061526a565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106136485772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613674576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061369257662386f26fc10000830492506010015b6305f5e10083106136aa576305f5e100830492506008015b61271083106136be57612710830492506004015b606483106136d0576064830492506002015b600a8310610d745760010192915050565b60006136ec3361185c565b156136fe575060131936013560601c90565b503390565b6001600160a01b03821661376c5760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b606482015260840161114f565b61377682846145db565b6137dc576000838152609e6020526040902054609d8054909190811061379e5761379e61526a565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b6000838152609c602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b9101613399565b6000613842609b80546001019055565b50609b5490565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a08201529050613897816146af565b6138a18484613d6f565b60405183906001600160a01b03861690600090600080516020615878833981519152908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b6000828152609e6020526040902054609d805483929081106139215761392161526a565b90600052602060002090600602016002016000828254613941919061558a565b909155505060405181815282906000906000805160206157d18339815191529060200160405180910390a35050565b60008061397c856118c0565b9050613990816001600160a01b0316612bca565b8015613a1457506040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a79060240160206040518083038186803b1580156139dc57600080fd5b505afa1580156139f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a149190615649565b15613ac3576000816001600160a01b0316629ce20b613a316124ea565b898989896040518663ffffffff1660e01b8152600401613a55959493929190615666565b602060405180830381600087803b158015613a6f57600080fd5b505af1158015613a83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613aa791906156a4565b6001600160e01b031916629ce20b60e01b149250613ac9915050565b60019150505b949350505050565b6001600160a01b038116600090815260cb602052604090205460ff166114a45780604051632957ccdd60e21b815260040161114f9190614ba8565b6000818152609e6020526040902054609d80548492908110613b3057613b3061526a565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b0392831617905581908316613b6a826118c0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609e6020526040812054609d80549091908110613bc757613bc761526a565b600091825260208220600560069092020190810154909250905b81811015613c3f576000836005018281548110613c0057613c0061526a565b6000918252602080832090910154878352609c825260408084206001600160a01b03909216845291528120555080613c3781615343565b915050613be1565b506111636005830160006149f5565b6000818152609e6020526040812054609d80549091908110613c7257613c7261526a565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b039485161790559184168152609f909152604081208054909190613cc190600190615573565b90506000826000018281548110613cda57613cda61526a565b90600052602060002001549050600083600101600086815260200190815260200160002054905081846000018281548110613d1757613d1761526a565b60009182526020808320909101929092558381526001860190915260408082208390558682528120558354849080613d5157613d516156c1565b60019003818190600052602060002001600090559055505050505050565b6000818152609e6020526040902054609d80548492908110613d9357613d9361526a565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152609f80845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b600054610100900460ff16613e1f5760405162461bcd60e51b815260040161114f906155a2565b8251613e32906098906020860190614a13565b508151613e46906099906020850190614a13565b50609a805460ff191660ff929092169190911790555050565b600054610100900460ff16612a615760405162461bcd60e51b815260040161114f906155a2565b600054610100900460ff1615808015613ea65750600054600160ff909116105b80613ec75750613eb530612bca565b158015613ec7575060005460ff166001145b613ee35760405162461bcd60e51b815260040161114f906153c6565b6000805460ff191660011790558015613f06576000805461ff0019166101001790555b60005b82811015613f7857600160976000868685818110613f2957613f2961526a565b9050602002016020810190613f3e9190614c76565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580613f7081615343565b915050613f09565b508015611163576000805461ff00191690556040516001815260008051602061583183398151915290602001611f5b565b613fb281612bca565b6140145760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161114f565b6000805160206157f183398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61404c83614801565b6000825111806140595750805b1561116357611d718383614841565b609d5460009061407a90600190615573565b6000838152609e6020526040812054609d80549394509092849081106140a2576140a261526a565b60009182526020918290206040805160c08101825260069093029091018054835260018101548385015260028101548383015260038101546001600160a01b03908116606085015260048201541660808401526005810180548351818702810187019094528084529394919360a08601939283018282801561414d57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161412f575b505050505081525050905080609d838154811061416c5761416c61526a565b600091825260209182902083516006909202019081558282015160018201556040830151600282015560608301516003820180546001600160a01b039283166001600160a01b031991821617909155608085015160048401805491909316911617905560a0830151805191926141ea92600585019290910190614a87565b505081516000908152609e602052604080822085905586825281205550609d805480614218576142186156c1565b60008281526020812060066000199093019283020181815560018101829055600281018290556003810180546001600160a01b031990811690915560048201805490911690559061426c60058301826149f5565b5050905550505050565b6142808282613518565b6114c0576040516316af84a960e21b815260048101839052811515602482015260440161114f565b60006142bc846001600160a01b0316612bca565b1561440357836001600160a01b031663150b7a026142d86124ea565b8786866040518563ffffffff1660e01b81526004016142fa94939291906156d7565b602060405180830381600087803b15801561431457600080fd5b505af1925050508015614344575060408051601f3d908101601f19168201909252614341918101906156a4565b60015b6143e9573d808015614372576040519150601f19603f3d011682016040523d82523d6000602084013e614377565b606091505b5080516143e15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161114f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613ac9565b506001613ac9565b3660006144173361185c565b15614438576000803661442b601482615573565b9261212293929190615714565b600036612122565b6060600061444f83600261573e565b61445a90600261558a565b6001600160401b0381111561447157614471614e4c565b6040519080825280601f01601f19166020018201604052801561449b576020820181803683370190505b509050600360fc1b816000815181106144b6576144b661526a565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106144e5576144e561526a565b60200101906001600160f81b031916908160001a905350600061450984600261573e565b61451490600161558a565b90505b600181111561458c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106145485761454861526a565b1a60f81b82828151811061455e5761455e61526a565b60200101906001600160f81b031916908160001a90535060049490941c936145858161575d565b9050614517565b508315610f715760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161114f565b6000818152609e6020526040812054609d805483929081106145ff576145ff61526a565b6000918252602082206005600690920201015491505b818110156146a4576000848152609e6020526040902054609d80546001600160a01b0388169290811061464a5761464a61526a565b9060005260206000209060060201600501828154811061466c5761466c61526a565b6000918252602090912001546001600160a01b0316141561469257600192505050610d74565b8061469c81615343565b915050614615565b506000949350505050565b609d805482516000908152609e6020908152604080832084905560018401855593909152835160069092027fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7b8101928355818501517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7c820155928401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7d84015560608401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7e840180546001600160a01b039283166001600160a01b03199182161790915560808601517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7f8601805491909316911617905560a084015180518594611d71937fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf80909101920190614a87565b61480a81613fa9565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061484c83612bca565b6148a75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161114f565b600080846001600160a01b0316846040516148c29190615774565b600060405180830381855af49150503d80600081146148fd576040519150601f19603f3d011682016040523d82523d6000602084013e614902565b606091505b509150915061492a828260405180606001604052806027815260200161585160279139614933565b95945050505050565b60608315614942575081610f71565b610f7183838151156149575781518083602001fd5b8060405162461bcd60e51b815260040161114f9190614b7c565b82805461497d90615235565b90600052602060002090601f01602090048101928261499f57600085556149e5565b82601f106149b85782800160ff198235161785556149e5565b828001600101855582156149e5579182015b828111156149e55782358255916020019190600101906149ca565b506149f1929150614adc565b5090565b50805460008255906000526020600020908101906114a49190614adc565b828054614a1f90615235565b90600052602060002090601f016020900481019282614a4157600085556149e5565b82601f10614a5a57805160ff19168380011785556149e5565b828001600101855582156149e5579182015b828111156149e5578251825591602001919060010190614a6c565b8280548282559060005260206000209081019282156149e5579160200282015b828111156149e557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614aa7565b5b808211156149f15760008155600101614add565b6001600160e01b0319811681146114a457600080fd5b600060208284031215614b1957600080fd5b8135610f7181614af1565b60005b83811015614b3f578181015183820152602001614b27565b83811115611d715750506000910152565b60008151808452614b68816020860160208601614b24565b601f01601f19169290920160200192915050565b602081526000610f716020830184614b50565b600060208284031215614ba157600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b038116811461192b57600080fd5b60008060408385031215614be657600080fd5b614bef83614bbc565b946020939093013593505050565b600080600060608486031215614c1257600080fd5b83359250614c2260208501614bbc565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015614c6a57835183529284019291840191600101614c4e565b50909695505050505050565b600060208284031215614c8857600080fd5b610f7182614bbc565b600080600060608486031215614ca657600080fd5b614caf84614bbc565b9250614c2260208501614bbc565b600080600060608486031215614cd257600080fd5b505081359360208301359350604090920135919050565b60008083601f840112614cfb57600080fd5b5081356001600160401b03811115614d1257600080fd5b602083019150836020828501011115612a4a57600080fd5b60008060008060008060008060a0898b031215614d4657600080fd5b88356001600160401b0380821115614d5d57600080fd5b614d698c838d01614ce9565b909a50985060208b0135915080821115614d8257600080fd5b614d8e8c838d01614ce9565b9098509650869150614da260408c01614bbc565b9550614db060608c01614bbc565b945060808b0135915080821115614dc657600080fd5b818b0191508b601f830112614dda57600080fd5b813581811115614de957600080fd5b8c60208260051b8501011115614dfe57600080fd5b6020830194508093505050509295985092959890939650565b600080600060608486031215614e2c57600080fd5b8335925060208401359150614e4360408501614bbc565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715614e8a57614e8a614e4c565b604052919050565b60006001600160401b03821115614eab57614eab614e4c565b50601f01601f191660200190565b600082601f830112614eca57600080fd5b8135614edd614ed882614e92565b614e62565b818152846020838601011115614ef257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215614f2257600080fd5b614f2b83614bbc565b915060208301356001600160401b03811115614f4657600080fd5b614f5285828601614eb9565b9150509250929050565b60008060408385031215614f6f57600080fd5b50508035926020909101359150565b600060808284031215614f9057600080fd5b50919050565b600080600060c08486031215614fab57600080fd5b8335925060208401359150614e438560408601614f7e565b80151581146114a457600080fd5b600080600080600060808688031215614fe957600080fd5b8535945060208601356001600160401b0381111561500657600080fd5b61501288828901614ce9565b909550935050604086013561502681614fc3565b915061503460608701614bbc565b90509295509295909350565b60008060006040848603121561505557600080fd5b8335925060208401356001600160401b0381111561507257600080fd5b61507e86828701614ce9565b9497909650939450505050565b6000806040838503121561509e57600080fd5b6150a783614bbc565b915060208301356150b781614fc3565b809150509250929050565b600080600080608085870312156150d857600080fd5b6150e185614bbc565b93506150ef60208601614bbc565b92506040850135915060608501356001600160401b0381111561511157600080fd5b61511d87828801614eb9565b91505092959194509250565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6000806000806000610100868803121561517157600080fd5b61517a86614bbc565b94506020860135935060408601359250606086013591506150348760808801614f7e565b600080604083850312156151b157600080fd5b823591506151c160208401614bbc565b90509250929050565b6001600160a01b038616815260ff8516602082015260a0604082018190526000906151f790830186614b50565b606083019490945250608001529392505050565b6000806040838503121561521e57600080fd5b61522783614bbc565b91506151c160208401614bbc565b600181811c9082168061524957607f821691505b60208210811415614f9057634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008351615292818460208801614b24565b64736c6f742f60d81b90830190815283516152b4816005840160208801614b24565b01600501949350505050565b6000602082840312156152d257600080fd5b81516001600160401b038111156152e857600080fd5b8201601f810184136152f957600080fd5b8051615307614ed882614e92565b81815285602083850101111561531c57600080fd5b61492a826020830160208601614b24565b634e487b7160e01b600052601160045260246000fd5b60006000198214156153575761535761532d565b5060010190565b634e487b7160e01b600052602160045260246000fd5b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b602080825260199082015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604082015260600190565b6001600160a01b039390931683526020830191909152604082015260600190565b60008351615512818460208801614b24565b835190830190615526818360208801614b24565b01949350505050565b60008351615541818460208801614b24565b68636f6e74726163742f60b81b9083019081528351615567816009840160208801614b24565b01600901949350505050565b6000828210156155855761558561532d565b500390565b6000821982111561559d5761559d61532d565b500190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6000602082840312156155ff57600080fd5b5051919050565b6003811061562457634e487b7160e01b600052602160045260246000fd5b9052565b8381526060810161563c6020830185615606565b613ac96040830184615606565b60006020828403121561565b57600080fd5b8151610f7181614fc3565b60018060a01b038616815284602082015283604082015282606082015260a06080820152600061569960a0830184614b50565b979650505050505050565b6000602082840312156156b657600080fd5b8151610f7181614af1565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061570a90830184614b50565b9695505050505050565b6000808585111561572457600080fd5b8386111561573157600080fd5b5050820193919092039150565b60008160001904831182151516156157585761575861532d565b500290565b60008161576c5761576c61532d565b506000190190565b60008251615786818460208701614b24565b919091019291505056fefca69b310bd19d275687ebe00b254b0772cf7a367c3f81a9a5a433f831fdc1dc3c63e605be3290ab6b04cfc46c6e1516e626d43236b034f09d7ede1d017beb0c0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc6360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc449b0a7e0acc0a95c71947cb19fdd122b42abca9bdfbd6707ca4f1e3fdaef05e7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220f1d979e53408bfe9fc772c7ccbd21075e0396b5e7509a9a219128de60efe192e64736f6c63430008090033"; - -type GatewayTokenInternalsTestConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayTokenInternalsTestConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayTokenInternalsTest__factory extends ContractFactory { - constructor(...args: GatewayTokenInternalsTestConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): GatewayTokenInternalsTest { - return super.attach(address) as GatewayTokenInternalsTest; - } - override connect(signer: Signer): GatewayTokenInternalsTest__factory { - return super.connect(signer) as GatewayTokenInternalsTest__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayTokenInternalsTestInterface { - return new utils.Interface(_abi) as GatewayTokenInternalsTestInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GatewayTokenInternalsTest { - return new Contract( - address, - _abi, - signerOrProvider - ) as GatewayTokenInternalsTest; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/index.ts deleted file mode 100644 index 38b672ed3..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest.sol/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export { GatewayInternalTest__factory } from "./GatewayInternalTest__factory"; -export { GatewayTokenInternalsTest__factory } from "./GatewayTokenInternalsTest__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest__factory.ts deleted file mode 100644 index f0010e993..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenInternalsTest__factory.ts +++ /dev/null @@ -1,2188 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { - GatewayTokenInternalsTest, - GatewayTokenInternalsTestInterface, -} from "../../contracts/GatewayTokenInternalsTest"; - -const _abi = [ - { - inputs: [], - name: "Common__MissingAccount", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "Common__NotContract", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "Common__NotSuperAdmin", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "sender", - type: "address", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - ], - name: "Common__Unauthorized", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "available", - type: "uint256", - }, - { - internalType: "uint256", - name: "required", - type: "uint256", - }, - ], - name: "GatewayToken__InsufficientFunds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NetworkAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NetworkDoesNotExist", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NotDAOGoverned", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "GatewayToken__TokenDoesNotExist", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "bool", - name: "allowExpired", - type: "bool", - }, - ], - name: "GatewayToken__TokenDoesNotExistOrIsInactive", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "enum IGatewayToken.TokenState", - name: "state", - type: "uint8", - }, - { - internalType: "enum IGatewayToken.TokenState", - name: "expectedState", - type: "uint8", - }, - ], - name: "GatewayToken__TokenInvalidStateForOperation", - type: "error", - }, - { - inputs: [], - name: "GatewayToken__TransferDisabled", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "ParameterizedAccessControl__RenounceRoleNotForSelf", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousAdmin", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newAdmin", - type: "address", - }, - ], - name: "AdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_approved", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "ApprovalForAll", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "ApprovalValue", - type: "event", - }, - { - anonymous: false, - inputs: [], - name: "AuthorizedUpgrade", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "beacon", - type: "address", - }, - ], - name: "BeaconUpgraded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "bitmask", - type: "uint256", - }, - ], - name: "BitMaskUpdated", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousDAOManager", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newDAOManager", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "DAOManagerTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "Expiration", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "flagsStorage", - type: "address", - }, - ], - name: "FlagsStorageUpdated", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Freeze", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "MsgData", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "", - type: "address", - }, - ], - name: "MsgSender", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Revoke", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "bytes32", - name: "previousAdminRole", - type: "bytes32", - }, - { - indexed: true, - internalType: "bytes32", - name: "newAdminRole", - type: "bytes32", - }, - ], - name: "RoleAdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleGranted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleRevoked", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "metadataDescriptor", - type: "address", - }, - ], - name: "SetMetadataDescriptor", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_oldSlot", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_newSlot", - type: "uint256", - }, - ], - name: "SlotChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "SuperAdminAdded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "SuperAdminRemoved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_to", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_fromTokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_toTokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "TransferValue", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Unfreeze", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "DAO_MANAGER_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DEFAULT_ADMIN_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "GATEKEEPER_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "NETWORK_AUTHORITY_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "addForwarder", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "addGatekeeper", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "addNetworkAuthority", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "operator_", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "address", - name: "", - type: "address", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "authorizedUpgrade", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "balance", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "burn", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "contractURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "bool", - name: "daoGoverned", - type: "bool", - }, - { - internalType: "address", - name: "daoManager", - type: "address", - }, - ], - name: "createNetwork", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "flagsStorage", - outputs: [ - { - internalType: "contract IFlagsStorage", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "freeze", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "getApproved", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getExpiration", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "x", - type: "uint256", - }, - ], - name: "getMsgData", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getMsgSender", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "getNetwork", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - ], - name: "getRoleAdmin", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getToken", - outputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint8", - name: "state", - type: "uint8", - }, - { - internalType: "string", - name: "identity", - type: "string", - }, - { - internalType: "uint256", - name: "expiration", - type: "uint256", - }, - { - internalType: "uint256", - name: "bitmask", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getTokenBitmask", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "getTokenIdsByOwnerAndNetwork", - outputs: [ - { - internalType: "uint256[]", - name: "", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "grantRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "hasRole", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "string", - name: "_name", - type: "string", - }, - { - internalType: "string", - name: "_symbol", - type: "string", - }, - { - internalType: "address", - name: "_superAdmin", - type: "address", - }, - { - internalType: "address", - name: "_flagsStorage", - type: "address", - }, - { - internalType: "address[]", - name: "_trustedForwarders", - type: "address[]", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - { - internalType: "address", - name: "operator_", - type: "address", - }, - ], - name: "isApprovedForAll", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "isGatekeeper", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "isNetworkAuthority", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "isNetworkDAOGoverned", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isSuperAdmin", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "isTrustedForwarder", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "metadataDescriptor", - outputs: [ - { - internalType: "contract IERC3525MetadataDescriptorUpgradeable", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiration", - type: "uint256", - }, - { - internalType: "uint256", - name: "mask", - type: "uint256", - }, - { - components: [ - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "enum ChargeType", - name: "chargeType", - type: "uint8", - }, - { - internalType: "address", - name: "token", - type: "address", - }, - { - internalType: "address", - name: "recipient", - type: "address", - }, - ], - internalType: "struct Charge", - name: "", - type: "tuple", - }, - ], - name: "mint", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "ownerOf", - outputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "removeForwarder", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "removeGatekeeper", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "removeNetworkAuthority", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - ], - name: "renameNetwork", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "renounceRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "revoke", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeSuperAdmin", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "bytes", - name: "data_", - type: "bytes", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "operator_", - type: "address", - }, - { - internalType: "bool", - name: "approved_", - type: "bool", - }, - ], - name: "setApprovalForAll", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "mask", - type: "uint256", - }, - ], - name: "setBitmask", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - { - components: [ - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "enum ChargeType", - name: "chargeType", - type: "uint8", - }, - { - internalType: "address", - name: "token", - type: "address", - }, - { - internalType: "address", - name: "recipient", - type: "address", - }, - ], - internalType: "struct Charge", - name: "", - type: "tuple", - }, - ], - name: "setExpiration", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_metadataDescriptor", - type: "address", - }, - ], - name: "setMetadataDescriptor", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "setSuperAdmin", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "slotOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "slot_", - type: "uint256", - }, - ], - name: "slotURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "index_", - type: "uint256", - }, - ], - name: "tokenByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - { - internalType: "uint256", - name: "index_", - type: "uint256", - }, - ], - name: "tokenOfOwnerByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "tokenURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "previousManager", - type: "address", - }, - { - internalType: "address", - name: "newManager", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "transferDAOManager", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "fromTokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "uint256", - name: "newTokenId", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "fromTokenId_", - type: "uint256", - }, - { - internalType: "uint256", - name: "toTokenId_", - type: "uint256", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "transfersRestricted", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "unfreeze", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "flagsStorage", - type: "address", - }, - ], - name: "updateFlagsStorage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - ], - name: "upgradeTo", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "valueDecimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "verifyToken", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "verifyToken", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e8565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e6576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051615a86620001206000396000818161152c0152818161156c015281816116a5015281816116e501526118180152615a866000f3fe6080604052600436106104075760003560e01c80637dbded2811610214578063b5d616351161011e578063df2a7fe1116100b6578063e71fb1101161007a578063e71fb11014610cb4578063e8a3d48514610cd4578063e985e9c514610ce9578063ff17e23214610d36578063ff85a97514610d5657600080fd5b8063df2a7fe114610bea578063df7f453b14610c0a578063e0ed6a3114610c43578063e345e0bc14610c63578063e4b50cb814610c8357600080fd5b8063b5d6163514610ae0578063b86b1a5414610b00578063b88d4fde14610b15578063babb898d14610b28578063c2a366fb14610b48578063c58dbbed14610b68578063c87b56dd14610b88578063d6fd317514610ba8578063d7a78db814610bca57600080fd5b806395d89b41116101ac578063a217fddf11610170578063a217fddf14610a3b578063a22cb46514610a50578063a578c09314610a70578063a8fa8e0d14610aa0578063b4bd857914610ac057600080fd5b806395d89b41146109a657806395ea5717146109bb5780639c7525e6146109db5780639cc7f708146109fb578063a05b775f14610a1b57600080fd5b80637dbded28146108a2578063805618a1146108c257806381e9ff19146108e257806382d66d5f14610904578063840f7113146109245780638423df79146109445780638cb0a511146109585780638eb7a7761461096657806390eddd521461098657600080fd5b806336e4504111610315578063572b6c05116102ad5780636dba2729116102715780636dba27291461080b5780636f7caf411461082b57806370a082311461084d57806370f081601461086d5780637a6ce2e11461088d57600080fd5b8063572b6c051461076b5780635c41d2fe1461078b5780635e79b726146107ab5780636352211e146107cb5780636623fc46146107eb57600080fd5b806336e450411461066e5780633e7e86691461068e57806342842e0e146106b057806342966c68146106c35780634d93172d146106e35780634f1ef286146107035780634f6ccce71461071657806351da912d1461073657806352d1902d1461075657600080fd5b806320c5429b116103a3578063310ed7f011610367578063310ed7f0146105db57806331416a29146105ee57806334e37b8a1461060e5780633568dd291461062e5780633659cfe61461064e57600080fd5b806320c5429b1461054857806323b872dd14610568578063263f3e7e1461057b5780632d33d27a1461059b5780632f745c59146105bb57600080fd5b806301ffc9a71461040c57806306fdde0314610441578063081812fc14610463578063095ea7b31461049057806309c3dd87146104a55780630f485c02146104c55780631442f521146104e6578063157000521461051357806318160ddd14610533575b600080fd5b34801561041857600080fd5b5061042c610427366004614c9e565b610d76565b60405190151581526020015b60405180910390f35b34801561044d57600080fd5b50610456610dd7565b6040516104389190614d13565b34801561046f57600080fd5b5061048361047e366004614d26565b610e69565b6040516104389190614d3f565b6104a361049e366004614d6a565b610ebb565b005b3480156104b157600080fd5b506104566104c0366004614d26565b610ed4565b6104d86104d3366004614d94565b610fd5565b604051908152602001610438565b3480156104f257600080fd5b50610506610501366004614d6a565b611014565b6040516104389190614dc9565b34801561051f57600080fd5b506104a361052e366004614e0d565b6110cb565b34801561053f57600080fd5b50609d546104d8565b34801561055457600080fd5b506104a3610563366004614d26565b61112b565b6104a3610576366004614e28565b61117f565b34801561058757600080fd5b506104d8610596366004614d26565b6111c5565b3480156105a757600080fd5b5060cc54610483906001600160a01b031681565b3480156105c757600080fd5b506104d86105d6366004614d6a565b61120d565b6104a36105e9366004614e54565b6112ae565b3480156105fa57600080fd5b506104a3610609366004614ec1565b6112cb565b34801561061a57600080fd5b506104a3610629366004614e0d565b6114f0565b34801561063a57600080fd5b506104a3610649366004614d6a565b611504565b34801561065a57600080fd5b506104a3610669366004614e0d565b611521565b34801561067a57600080fd5b506104a3610689366004614fae565b6115e7565b34801561069a57600080fd5b50609a5460405160ff9091168152602001610438565b6104a36106be366004614e28565b61163d565b3480156106cf57600080fd5b506104a36106de366004614d26565b611658565b3480156106ef57600080fd5b506104a36106fe366004614e0d565b61166d565b6104a36107113660046150a6565b61169a565b34801561072257600080fd5b506104d8610731366004614d26565b611750565b34801561074257600080fd5b506104a36107513660046150f3565b6117e1565b34801561076257600080fd5b506104d861180b565b34801561077757600080fd5b5061042c610786366004614e0d565b6118b9565b34801561079757600080fd5b506104a36107a6366004614e0d565b6118d7565b3480156107b757600080fd5b506104a36107c636600461512d565b611907565b3480156107d757600080fd5b506104836107e6366004614d26565b61191d565b3480156107f757600080fd5b506104a3610806366004614d26565b61198d565b34801561081757600080fd5b5061042c610826366004614d6a565b6119a2565b34801561083757600080fd5b506104d86000805160206159ca83398151915281565b34801561085957600080fd5b506104d8610868366004614e0d565b6119bd565b34801561087957600080fd5b506104a3610888366004614d6a565b611a45565b34801561089957600080fd5b506104a3611a5e565b3480156108ae57600080fd5b506104a36108bd366004615168565b611a9e565b3480156108ce57600080fd5b506104a36108dd366004614d26565b611c8d565b3480156108ee57600080fd5b506104d860008051602061594a83398151915281565b34801561091057600080fd5b506104a361091f366004614d6a565b611d06565b34801561093057600080fd5b5060a054610483906001600160a01b031681565b34801561095057600080fd5b50600161042c565b6104a361049e366004614d94565b34801561097257600080fd5b506104a3610981366004614fae565b611d1b565b34801561099257600080fd5b506104a36109a1366004614d6a565b611d3b565b3480156109b257600080fd5b50610456611d54565b3480156109c757600080fd5b506104566109d6366004614d26565b611d63565b3480156109e757600080fd5b506104a36109f63660046151d7565b611e05565b348015610a0757600080fd5b506104d8610a16366004614d26565b611eb4565b348015610a2757600080fd5b506104d8610a36366004614d26565b611efc565b348015610a4757600080fd5b506104d8600081565b348015610a5c57600080fd5b506104a3610a6b366004615222565b611f1a565b348015610a7c57600080fd5b5061042c610a8b366004614d26565b60ce6020526000908152604090205460ff1681565b348015610aac57600080fd5b506104a3610abb366004614e28565b611f2c565b348015610acc57600080fd5b506104d8610adb366004614d26565b612085565b348015610aec57600080fd5b506104a3610afb366004614fae565b612099565b348015610b0c57600080fd5b506104a36120b9565b6104a3610b23366004615259565b6120f4565b348015610b3457600080fd5b5061042c610b43366004614fae565b612127565b348015610b5457600080fd5b5061042c610b63366004614d6a565b612158565b348015610b7457600080fd5b506104a3610b83366004614e0d565b612173565b348015610b9457600080fd5b50610456610ba3366004614d26565b6121d0565b348015610bb457600080fd5b506104d860008051602061596a83398151915281565b348015610bd657600080fd5b506104a3610be5366004614d26565b61226f565b348015610bf657600080fd5b506104d8610c053660046150f3565b612284565b348015610c1657600080fd5b5061042c610c25366004614e0d565b6001600160a01b0316600090815260cb602052604090205460ff1690565b348015610c4f57600080fd5b506104a3610c5e3660046152c0565b6122a3565b348015610c6f57600080fd5b506104d8610c7e366004615306565b6122ec565b348015610c8f57600080fd5b50610ca3610c9e366004614d26565b612320565b604051610438959493929190615332565b348015610cc057600080fd5b506104a3610ccf366004614e0d565b612380565b348015610ce057600080fd5b50610456612391565b348015610cf557600080fd5b5061042c610d04366004615373565b6001600160a01b039182166000908152609f602090815260408083209390941682526002909201909152205460ff1690565b348015610d4257600080fd5b5061042c610d51366004614d6a565b61249a565b348015610d6257600080fd5b5061042c610d71366004614d26565b61250b565b60006001600160e01b03198216630354d60560e61b1480610da757506001600160e01b031982166380ac58cd60e01b145b80610dc257506001600160e01b031982166370b0048160e11b145b80610dd15750610dd182612518565b92915050565b606060988054610de69061539d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e129061539d565b8015610e5f5780601f10610e3457610100808354040283529160200191610e5f565b820191906000526020600020905b815481529060010190602001808311610e4257829003601f168201915b5050505050905090565b6000610e748261254d565b6000828152609e6020526040902054609d80549091908110610e9857610e986153d2565b60009182526020909120600460069092020101546001600160a01b031692915050565b60405163c03a3ff560e01b815260040160405180910390fd5b60606000610eed60408051602081019091526000815290565b60a0549091506001600160a01b0316610f4d576000815111610f1e5760405180602001604052806000815250610fce565b80610f2884612572565b604051602001610f399291906153e8565b604051602081830303815290604052610fce565b60a054604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b60006040518083038186803b158015610f9257600080fd5b505afa158015610fa6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fce9190810190615428565b9392505050565b6000610fe9610fe261260e565b858461261d565b610ff284612698565b90506110098382611002876111c5565b60006126a2565b610fce8482846127c9565b60606000806110238585612aa8565b915091506000816001600160401b0381111561104157611041614fe3565b60405190808252806020026020018201604052801561106a578160200160208202803683370190505b50905060005b828110156110c15783818151811061108a5761108a6153d2565b60200260200101518282815181106110a4576110a46153d2565b6020908102919091010152806110b9816154ab565b915050611070565b5095945050505050565b6110d3612b75565b6040516001600160a01b038216907f286f82d2b1e37b5e9f33e455d014b4a5f6c29388e6e41e1281d4c83e04f4265590600090a26001600160a01b0316600090815260cb60205260409020805460ff19166001179055565b61113c611137826111c5565b612b87565b600081815260cf6020526040808220805460ff191660021790555182917fdb43aa42235c8d63908794a952603e8d43a549383d13123c3d893a3fc2e6249591a250565b61119061118a61260e565b50600090565b6111b55760405162461bcd60e51b81526004016111ac906154dc565b60405180910390fd5b6111c0838383612b9f565b505050565b60006111d08261254d565b6000828152609e6020526040902054609d805490919081106111f4576111f46153d2565b9060005260206000209060060201600101549050919050565b6000611218836119bd565b82106112715760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016111ac565b6001600160a01b0383166000908152609f6020526040902080548390811061129b5761129b6153d2565b9060005260206000200154905092915050565b6112c06112b961260e565b848361261d565b6111c08383836127c9565b600054610100900460ff16158080156112eb5750600054600160ff909116105b8061130c57506112fa30612cee565b15801561130c575060005460ff166001145b6113285760405162461bcd60e51b81526004016111ac9061552e565b6000805460ff19166001179055801561134b576000805461ff0019166101001790555b6001600160a01b03851661137257604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03841661139957604051630ca2c90160e21b815260040160405180910390fd5b60005b828110156114075760008484838181106113b8576113b86153d2565b90506020020160208101906113cd9190614e0d565b6001600160a01b031614156113f557604051630ca2c90160e21b815260040160405180910390fd5b806113ff816154ab565b91505061139c565b5061147b89898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a908190840183828082843760009201829052509250612cfd915050565b6114858383612d2f565b61148e84612df1565b6001600160a01b038516600090815260cb60205260409020805460ff1916600117905580156114e5576000805461ff0019169055604051600181526000805160206159ea8339815191529060200160405180910390a15b505050505050505050565b6114f8612b75565b61150181612df1565b50565b61151d60008051602061596a8339815191528284611d1b565b5050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561156a5760405162461bcd60e51b81526004016111ac9061557c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661159c612e3b565b6001600160a01b0316146115c25760405162461bcd60e51b81526004016111ac906155c8565b6115cb81612e57565b6040805160008082526020820190925261150191839190612e5f565b6115ef61260e565b6001600160a01b0316816001600160a01b031614611632576040516307ca099360e31b8152600481018490526001600160a01b03821660248201526044016111ac565b6111c0838383612fd9565b6111c0838383604051806020016040528060008152506120f4565b611664611137826111c5565b61150181613075565b611675612b75565b611501816001600160a01b03166000908152609760205260409020805460ff19169055565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156116e35760405162461bcd60e51b81526004016111ac9061557c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611715612e3b565b6001600160a01b03161461173b5760405162461bcd60e51b81526004016111ac906155c8565b61174482612e57565b61151d82826001612e5f565b600061175b609d5490565b82106117b55760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016111ac565b609d82815481106117c8576117c86153d2565b9060005260206000209060060201600001549050919050565b61180160008051602061596a8339815191526117fc846111c5565b613172565b61151d8282613184565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146118a65760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016111ac565b506000805160206159aa83398151915290565b6001600160a01b031660009081526097602052604090205460ff1690565b6118df612b75565b611501816001600160a01b03166000908152609760205260409020805460ff19166001179055565b611913611137846111c5565b6111c083836131d3565b60006119288261254d565b6000828152609e6020526040902054609d8054909190811061194c5761194c6153d2565b60009182526020909120600360069092020101546001600160a01b03169050806119885760405162461bcd60e51b81526004016111ac90615614565b919050565b611999611137826111c5565b6115018161322f565b6000610fce60008051602061596a8339815191528385612127565b60006001600160a01b038216611a295760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016111ac565b506001600160a01b03166000908152609f602052604090205490565b61151d60008051602061596a8339815191528284612099565b7f7bf2655c5b27bca5462f1f973c316c9537b2da6083e494b623f3313ad847ec08611a8761260e565b604051611a949190614d3f565b60405180910390a1565b600085815260d1602052604090208054611ab79061539d565b159050611ada57604051636f55f62b60e01b8152600481018690526024016111ac565b600085815260d160205260409020611af3908585614b08565b508115611c1857600085815260ce60205260409020805460ff19168315151790556001600160a01b038116611b3b57604051630ca2c90160e21b815260040160405180910390fd5b611b4d816001600160a01b0316612cee565b611b6c578060405163d4daafa160e01b81526004016111ac9190614d3f565b611b8560008051602061594a83398151915286836132d6565b611b9e6000805160206159ca83398151915286836132d6565b611bc56000805160206159ca8339815191528660008051602061594a833981519152613367565b611bec60008051602061596a8339815191528660008051602061594a833981519152613367565b611c1360008051602061594a8339815191528660008051602061594a833981519152613367565b611c86565b611c386000805160206159ca83398151915286611c3361260e565b6132d6565b611c5f6000805160206159ca833981519152866000805160206159ca833981519152613367565b611c8660008051602061596a833981519152866000805160206159ca833981519152613367565b5050505050565b611cc46040518060400160405280601581526020017443616c6c6564206765744d7367446174612825642960581b815250826133d2565b7fb7555489d68d7992c7b1a74fb60c1d5affc6c5cc407edaddcf435089a1a6b8a7611ced613417565b604051611cfb929190615647565b60405180910390a150565b61151d6000805160206159ca83398151915282845b611d258383612284565b82611d308282613172565b611c86858585612fd9565b61151d6000805160206159ca8339815191528284612099565b606060998054610de69061539d565b600081815260d160205260409020805460609190611d809061539d565b80601f0160208091040260200160405190810160405280929190818152602001828054611dac9061539d565b8015611df95780601f10611dce57610100808354040283529160200191611df9565b820191906000526020600020905b815481529060010190602001808311611ddc57829003601f168201915b50505050509050919050565b600083815260d1602052604090208054611e1e9061539d565b15159050611e4257604051630817886d60e41b8152600481018490526024016111ac565b611e5d6000805160206159ca83398151915284610b4361260e565b611e9557611e6961260e565b836000805160206159ca83398151915260405163c8c801a760e01b81526004016111ac93929190615676565b600083815260d160205260409020611eae908383614b08565b50505050565b6000611ebf8261254d565b6000828152609e6020526040902054609d80549091908110611ee357611ee36153d2565b9060005260206000209060060201600201549050919050565b6000611f078261342a565b50600090815260d0602052604090205490565b61151d611f2561260e565b8383613453565b600081815260ce602052604090205460ff16611f5e5760405163db53ce7160e01b8152600481018290526024016111ac565b611f7760008051602061594a8339815191528285613527565b6001600160a01b038216611f9e57604051630ca2c90160e21b815260040160405180910390fd5b611fb760008051602061594a8339815191528284612099565b611fd06000805160206159ca8339815191528284612099565b611fe960008051602061596a8339815191528284612099565b61200260008051602061596a8339815191528285611d1b565b61201b6000805160206159ca8339815191528285611d1b565b61203460008051602061594a8339815191528285611d1b565b604080516001600160a01b038086168252841660208201529081018290527f744258a28673e8738e2812c0ab8e8dbd70352f8871b1febac0dd753d96d79f58906060015b60405180910390a1505050565b600081815260cd6020526040812054610dd1565b6120a38383612284565b826120ae8282613172565b611c868585856132d6565b6120c96120c461260e565b612e57565b6040517f196e5e7c3b25979d0bf02b0f686399eb501ef6085673d009cf76369bdc11363890600090a1565b6120ff61118a61260e565b61211b5760405162461bcd60e51b81526004016111ac906154dc565b611eae84848484613555565b600091825260ca602090815260408084209484529381528383206001600160a01b0392909216835252205460ff1690565b6000610fce6000805160206159ca8339815191528385612127565b61217b612b75565b6040516001600160a01b038216907ffb445f6ec07647d2bb7af72821e6b8b7303ec375e934d4a338d38ed5846c2d5690600090a26001600160a01b0316600090815260cb60205260409020805460ff19169055565b60606121db8261254d565b60006121f260408051602081019091526000815290565b60a0549091506001600160a01b031661223e5760008151116122235760405180602001604052806000815250610fce565b8061222d84612572565b604051602001610f39929190615697565b60a0546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401610f7a565b61227b611137826111c5565b611501816135c8565b600090815260ca60209081526040808320938352929052206001015490565b6122ac84612b87565b60006122ba86866001613616565b905083156122d457600081815260d0602052604090208490555b82156122e4576122e48184613184565b505050505050565b60006122f78361254d565b506000918252609c602090815260408084206001600160a01b0393909316845291905290205490565b60008060606000806123318661191d565b600087815260cf602052604090205490955060ff166002811115612357576123576154c6565b600096875260d0602090815260408089205460cd90925290972054959790969395939450915050565b612388612b75565b6115018161362e565b606060006123aa60408051602081019091526000815290565b60a0549091506001600160a01b031661240a5760008151116123db5760405180602001604052806000815250612494565b806123e530613678565b6040516020016123f69291906156c6565b604051602081830303815290604052612494565b60a060009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b815260040160006040518083038186803b15801561245857600080fd5b505afa15801561246c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124949190810190615428565b91505090565b60008060006124a98585612aa8565b9150915060005b818110156124ff576124dc8382815181106124cd576124cd6153d2565b6020026020010151600061368e565b156124ed5760019350505050610dd1565b806124f7816154ab565b9150506124b0565b50600095945050505050565b6000610dd182600061368e565b60006001600160e01b031982166333cb74f560e11b1480610dd157506301ffc9a760e01b6001600160e01b0319831614610dd1565b61255681613733565b6115015760405162461bcd60e51b81526004016111ac90615614565b6060600061257f8361377f565b60010190506000816001600160401b0381111561259e5761259e614fe3565b6040519080825280601f01601f1916602001820160405280156125c8576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461260157612606565b6125d2565b509392505050565b6000612618613857565b905090565b600061262983856122ec565b90506000198114611eae57818110156126845760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e63650060448201526064016111ac565b611eae8385612693858561570a565b613879565b6000610dd16139a8565b6001600160a01b0384166127025760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016111ac565b826127595760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b60648201526084016111ac565b61276283613733565b156127af5760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e74656400000060448201526064016111ac565b6127ba8484846139bf565b6127c48382613a73565b611eae565b6127d283613733565b61282e5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b60648201526084016111ac565b61283782613733565b6128915760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b60648201526084016111ac565b6000838152609e6020526040812054609d805490919081106128b5576128b56153d2565b906000526020600020906006020190506000609d609e600086815260200190815260200160002054815481106128ed576128ed6153d2565b9060005260206000209060060201905082826002015410156129645760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016111ac565b80600101548260010154146129d25760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b60648201526084016111ac565b828260020160008282546129e6919061570a565b9250508190555082816002016000828254612a019190615721565b90915550506040518381528490869060008051602061598a8339815191529060200160405180910390a3612a4685858560405180602001604052806000815250613ae6565b611c865760405162461bcd60e51b815260206004820152602d60248201527f455243333532353a207472616e736665722072656a656374656420627920455260448201526c21999a991aa932b1b2b4bb32b960991b60648201526084016111ac565b6060600080612ab6856119bd565b90506000816001600160401b03811115612ad257612ad2614fe3565b604051908082528060200260200182016040528015612afb578160200160208202803683370190505b5090506000805b83811015612b66576000612b16898361120d565b905087612b22826111c5565b1415612b5357808484612b34816154ab565b955081518110612b4657612b466153d2565b6020026020010181815250505b5080612b5e816154ab565b915050612b02565b509093509150505b9250929050565b612b85612b8061260e565b613c47565b565b61150160008051602061596a83398151915282613172565b826001600160a01b0316612bb28261191d565b6001600160a01b031614612c145760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b60648201526084016111ac565b6001600160a01b038216612c785760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016111ac565b6000612c83826111c5565b90506000612c9083611eb4565b9050612c9d600084613c82565b612ca683613d19565b612cb08584613dc4565b612cba8484613ee5565b82846001600160a01b0316866001600160a01b0316600080516020615a3183398151915260405160405180910390a4611c86565b6001600160a01b03163b151590565b600054610100900460ff16612d245760405162461bcd60e51b81526004016111ac90615739565b6111c0838383613f6e565b600054610100900460ff1615808015612d4f5750600054600160ff909116105b80612d705750612d5e30612cee565b158015612d70575060005460ff166001145b612d8c5760405162461bcd60e51b81526004016111ac9061552e565b6000805460ff191660011790558015612daf576000805461ff0019166101001790555b612db7613fd5565b612dc18383613ffc565b80156111c0576000805461ff0019169055604051600181526000805160206159ea83398151915290602001612078565b60cc80546001600160a01b0319166001600160a01b0383169081179091556040517f5e4a30f4224898dbac86adca855a5edd3b8341a3aeb2b6ff0f0b5a82c013b65a90600090a250565b6000805160206159aa833981519152546001600160a01b031690565b611501612b75565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615612e92576111c08361411f565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b158015612ecb57600080fd5b505afa925050508015612efb575060408051601f3d908101601f19168201909252612ef891810190615784565b60015b612f5e5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016111ac565b6000805160206159aa8339815191528114612fcd5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016111ac565b506111c08383836141b9565b612fe4838383612127565b156111c057600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff1916905561302361260e565b6001600160a01b0316816001600160a01b0316847f6f9148fcdc32766ca802c14716295d56eab7ed848d0dba113966f40087c883908560405161306891815260200190565b60405180910390a4505050565b61307e8161254d565b6000818152609e6020526040812054609d805490919081106130a2576130a26153d2565b60009182526020909120600691909102016003810154600182015460028301549293506001600160a01b03909116916130da85613d19565b6130e48386613dc4565b6130ed856141de565b60008560008051602061598a8339815191528360405161310f91815260200190565b60405180910390a3600082867fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a460405185906000906001600160a01b03861690600080516020615a31833981519152908390a4611c86565b61151d828261317f61260e565b613527565b600082815260cd602090815260409182902083905581518481529081018390527f5e07998cef9cea674942c66f0ea7b0bce89ab9473ce240cc93d616c3491f8aeb910160405180910390a15050565b6131de8260016143ec565b600082815260d06020526040908190208290555182907f1ebc57da8b3ebab98506502fbb73232ea29fbe86e4963a5a8c004810ad11190d906132239084815260200190565b60405180910390a25050565b6132388161342a565b6001600082815260cf602052604090205460ff16600281111561325d5761325d6154c6565b1461329657600081815260cf6020526040908190205490516308c9ef2d60e11b81526111ac91839160ff909116906001906004016157bf565b600081815260cf6020526040808220805460ff191690555182917fe2babfd5e77285a3c3dbc4b25592cbe4a7a26e97a7ac63067a22ebdaa9b82add91a250565b6132e1838383612127565b6111c057600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff1916600117905561332261260e565b6001600160a01b0316816001600160a01b0316847f4dc88bd74ca601684356789d5b3dbc9cd44275b2544e8d35041203703b7682328560405161306891815260200190565b60006133738484612284565b600084815260ca6020908152604080832088845282529182902060010185905590518581529192508391839187917f15f4a36186b2284157fe71215a07487f6c8bdc1203b3307c3e1fd9693011d3d3910160405180910390a450505050565b61151d82826040516024016133e89291906157e0565b60408051601f198184030181529190526020810180516001600160e01b0316632d839cb360e21b17905261441e565b36600061342261443f565b915091509091565b61343381613733565b611501576040516321fbdd2b60e11b8152600481018290526024016111ac565b816001600160a01b0316836001600160a01b031614156134b55760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c657200000000000060448201526064016111ac565b6001600160a01b038381166000818152609f602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b613532838383612127565b6111c05780828460405163c8c801a760e01b81526004016111ac93929190615676565b613560848484612b9f565b61356c84848484614474565b611eae5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b60648201526084016111ac565b6135d38160016143ec565b600081815260cf6020526040808220805460ff191660011790555182917f779fbee689bbd6f006ecb329206d35c7db7380f9837a8826fb8dc5cfcd3d33dd91a250565b60006136206139a8565b9050610fce848285856126a2565b60a080546001600160a01b0319166001600160a01b0383169081179091556040517f5252f52e45fc8ee6a7b43cef3645d23e9a470a34182b8b3a12627556635bfc9c90600090a250565b6060610dd16001600160a01b03831660146145d7565b600082815260cf602052604081205460ff16818160028111156136b3576136b36154c6565b146136c2576000915050610dd1565b60006136cd8561191d565b600086815260d06020526040902054909150158015906136eb575083155b1561371f576001600160a01b038116158015906137165750600085815260d060205260409020544211155b92505050610dd1565b6001600160a01b031615159150610dd19050565b609d5460009015801590610dd157506000828152609e6020526040902054609d80548492908110613766576137666153d2565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106137be5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106137ea576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061380857662386f26fc10000830492506010015b6305f5e1008310613820576305f5e100830492506008015b612710831061383457612710830492506004015b60648310613846576064830492506002015b600a8310610dd15760010192915050565b6000613862336118b9565b15613874575060131936013560601c90565b503390565b6001600160a01b0382166138e25760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b60648201526084016111ac565b6138ec8284614772565b613952576000838152609e6020526040902054609d80549091908110613914576139146153d2565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b6000838152609c602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b910161351a565b60006139b8609b80546001019055565b50609b5490565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a08201529050613a0d81614846565b613a178484613ee5565b60405183906001600160a01b03861690600090600080516020615a31833981519152908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b6000828152609e6020526040902054609d80548392908110613a9757613a976153d2565b90600052602060002090600602016002016000828254613ab79190615721565b9091555050604051818152829060009060008051602061598a8339815191529060200160405180910390a35050565b600080613af28561191d565b9050613b06816001600160a01b0316612cee565b8015613b8a57506040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a79060240160206040518083038186803b158015613b5257600080fd5b505afa158015613b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b8a9190615802565b15613c39576000816001600160a01b0316629ce20b613ba761260e565b898989896040518663ffffffff1660e01b8152600401613bcb95949392919061581f565b602060405180830381600087803b158015613be557600080fd5b505af1158015613bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c1d919061585d565b6001600160e01b031916629ce20b60e01b149250613c3f915050565b60019150505b949350505050565b6001600160a01b038116600090815260cb602052604090205460ff166115015780604051632957ccdd60e21b81526004016111ac9190614d3f565b6000818152609e6020526040902054609d80548492908110613ca657613ca66153d2565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b0392831617905581908316613ce08261191d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609e6020526040812054609d80549091908110613d3d57613d3d6153d2565b600091825260208220600560069092020190810154909250905b81811015613db5576000836005018281548110613d7657613d766153d2565b6000918252602080832090910154878352609c825260408084206001600160a01b03909216845291528120555080613dad816154ab565b915050613d57565b506111c0600583016000614b8c565b6000818152609e6020526040812054609d80549091908110613de857613de86153d2565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b039485161790559184168152609f909152604081208054909190613e379060019061570a565b90506000826000018281548110613e5057613e506153d2565b90600052602060002001549050600083600101600086815260200190815260200160002054905081846000018281548110613e8d57613e8d6153d2565b60009182526020808320909101929092558381526001860190915260408082208390558682528120558354849080613ec757613ec761587a565b60019003818190600052602060002001600090559055505050505050565b6000818152609e6020526040902054609d80548492908110613f0957613f096153d2565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152609f80845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b600054610100900460ff16613f955760405162461bcd60e51b81526004016111ac90615739565b8251613fa8906098906020860190614baa565b508151613fbc906099906020850190614baa565b50609a805460ff191660ff929092169190911790555050565b600054610100900460ff16612b855760405162461bcd60e51b81526004016111ac90615739565b600054610100900460ff161580801561401c5750600054600160ff909116105b8061403d575061402b30612cee565b15801561403d575060005460ff166001145b6140595760405162461bcd60e51b81526004016111ac9061552e565b6000805460ff19166001179055801561407c576000805461ff0019166101001790555b60005b828110156140ee5760016097600086868581811061409f5761409f6153d2565b90506020020160208101906140b49190614e0d565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806140e6816154ab565b91505061407f565b5080156111c0576000805461ff0019169055604051600181526000805160206159ea83398151915290602001612078565b61412881612cee565b61418a5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016111ac565b6000805160206159aa83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6141c283614998565b6000825111806141cf5750805b156111c057611eae83836149d8565b609d546000906141f09060019061570a565b6000838152609e6020526040812054609d8054939450909284908110614218576142186153d2565b60009182526020918290206040805160c08101825260069093029091018054835260018101548385015260028101548383015260038101546001600160a01b03908116606085015260048201541660808401526005810180548351818702810187019094528084529394919360a0860193928301828280156142c357602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116142a5575b505050505081525050905080609d83815481106142e2576142e26153d2565b600091825260209182902083516006909202019081558282015160018201556040830151600282015560608301516003820180546001600160a01b039283166001600160a01b031991821617909155608085015160048401805491909316911617905560a08301518051919261436092600585019290910190614c1e565b505081516000908152609e602052604080822085905586825281205550609d80548061438e5761438e61587a565b60008281526020812060066000199093019283020181815560018101829055600281018290556003810180546001600160a01b03199081169091556004820180549091169055906143e26005830182614b8c565b5050905550505050565b6143f6828261368e565b61151d576040516316af84a960e21b81526004810183905281151560248201526044016111ac565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b36600061444b336118b9565b1561446c576000803661445f60148261570a565b9261342293929190615890565b600036613422565b6000614488846001600160a01b0316612cee565b156145cf57836001600160a01b031663150b7a026144a461260e565b8786866040518563ffffffff1660e01b81526004016144c694939291906158ba565b602060405180830381600087803b1580156144e057600080fd5b505af1925050508015614510575060408051601f3d908101601f1916820190925261450d9181019061585d565b60015b6145b5573d80801561453e576040519150601f19603f3d011682016040523d82523d6000602084013e614543565b606091505b5080516145ad5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016111ac565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613c3f565b506001613c3f565b606060006145e68360026158f7565b6145f1906002615721565b6001600160401b0381111561460857614608614fe3565b6040519080825280601f01601f191660200182016040528015614632576020820181803683370190505b509050600360fc1b8160008151811061464d5761464d6153d2565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061467c5761467c6153d2565b60200101906001600160f81b031916908160001a90535060006146a08460026158f7565b6146ab906001615721565b90505b6001811115614723576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106146df576146df6153d2565b1a60f81b8282815181106146f5576146f56153d2565b60200101906001600160f81b031916908160001a90535060049490941c9361471c81615916565b90506146ae565b508315610fce5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016111ac565b6000818152609e6020526040812054609d80548392908110614796576147966153d2565b6000918252602082206005600690920201015491505b8181101561483b576000848152609e6020526040902054609d80546001600160a01b038816929081106147e1576147e16153d2565b90600052602060002090600602016005018281548110614803576148036153d2565b6000918252602090912001546001600160a01b0316141561482957600192505050610dd1565b80614833816154ab565b9150506147ac565b506000949350505050565b609d805482516000908152609e6020908152604080832084905560018401855593909152835160069092027fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7b8101928355818501517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7c820155928401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7d84015560608401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7e840180546001600160a01b039283166001600160a01b03199182161790915560808601517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7f8601805491909316911617905560a084015180518594611eae937fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf80909101920190614c1e565b6149a18161411f565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606149e383612cee565b614a3e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016111ac565b600080846001600160a01b031684604051614a59919061592d565b600060405180830381855af49150503d8060008114614a94576040519150601f19603f3d011682016040523d82523d6000602084013e614a99565b606091505b5091509150614ac18282604051806060016040528060278152602001615a0a60279139614aca565b95945050505050565b60608315614ad9575081610fce565b610fce8383815115614aee5781518083602001fd5b8060405162461bcd60e51b81526004016111ac9190614d13565b828054614b149061539d565b90600052602060002090601f016020900481019282614b365760008555614b7c565b82601f10614b4f5782800160ff19823516178555614b7c565b82800160010185558215614b7c579182015b82811115614b7c578235825591602001919060010190614b61565b50614b88929150614c73565b5090565b50805460008255906000526020600020908101906115019190614c73565b828054614bb69061539d565b90600052602060002090601f016020900481019282614bd85760008555614b7c565b82601f10614bf157805160ff1916838001178555614b7c565b82800160010185558215614b7c579182015b82811115614b7c578251825591602001919060010190614c03565b828054828255906000526020600020908101928215614b7c579160200282015b82811115614b7c57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614c3e565b5b80821115614b885760008155600101614c74565b6001600160e01b03198116811461150157600080fd5b600060208284031215614cb057600080fd5b8135610fce81614c88565b60005b83811015614cd6578181015183820152602001614cbe565b83811115611eae5750506000910152565b60008151808452614cff816020860160208601614cbb565b601f01601f19169290920160200192915050565b602081526000610fce6020830184614ce7565b600060208284031215614d3857600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b038116811461198857600080fd5b60008060408385031215614d7d57600080fd5b614d8683614d53565b946020939093013593505050565b600080600060608486031215614da957600080fd5b83359250614db960208501614d53565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015614e0157835183529284019291840191600101614de5565b50909695505050505050565b600060208284031215614e1f57600080fd5b610fce82614d53565b600080600060608486031215614e3d57600080fd5b614e4684614d53565b9250614db960208501614d53565b600080600060608486031215614e6957600080fd5b505081359360208301359350604090920135919050565b60008083601f840112614e9257600080fd5b5081356001600160401b03811115614ea957600080fd5b602083019150836020828501011115612b6e57600080fd5b60008060008060008060008060a0898b031215614edd57600080fd5b88356001600160401b0380821115614ef457600080fd5b614f008c838d01614e80565b909a50985060208b0135915080821115614f1957600080fd5b614f258c838d01614e80565b9098509650869150614f3960408c01614d53565b9550614f4760608c01614d53565b945060808b0135915080821115614f5d57600080fd5b818b0191508b601f830112614f7157600080fd5b813581811115614f8057600080fd5b8c60208260051b8501011115614f9557600080fd5b6020830194508093505050509295985092959890939650565b600080600060608486031215614fc357600080fd5b8335925060208401359150614fda60408501614d53565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561502157615021614fe3565b604052919050565b60006001600160401b0382111561504257615042614fe3565b50601f01601f191660200190565b600082601f83011261506157600080fd5b813561507461506f82615029565b614ff9565b81815284602083860101111561508957600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156150b957600080fd5b6150c283614d53565b915060208301356001600160401b038111156150dd57600080fd5b6150e985828601615050565b9150509250929050565b6000806040838503121561510657600080fd5b50508035926020909101359150565b60006080828403121561512757600080fd5b50919050565b600080600060c0848603121561514257600080fd5b8335925060208401359150614fda8560408601615115565b801515811461150157600080fd5b60008060008060006080868803121561518057600080fd5b8535945060208601356001600160401b0381111561519d57600080fd5b6151a988828901614e80565b90955093505060408601356151bd8161515a565b91506151cb60608701614d53565b90509295509295909350565b6000806000604084860312156151ec57600080fd5b8335925060208401356001600160401b0381111561520957600080fd5b61521586828701614e80565b9497909650939450505050565b6000806040838503121561523557600080fd5b61523e83614d53565b9150602083013561524e8161515a565b809150509250929050565b6000806000806080858703121561526f57600080fd5b61527885614d53565b935061528660208601614d53565b92506040850135915060608501356001600160401b038111156152a857600080fd5b6152b487828801615050565b91505092959194509250565b600080600080600061010086880312156152d957600080fd5b6152e286614d53565b94506020860135935060408601359250606086013591506151cb8760808801615115565b6000806040838503121561531957600080fd5b8235915061532960208401614d53565b90509250929050565b6001600160a01b038616815260ff8516602082015260a06040820181905260009061535f90830186614ce7565b606083019490945250608001529392505050565b6000806040838503121561538657600080fd5b61538f83614d53565b915061532960208401614d53565b600181811c908216806153b157607f821691505b6020821081141561512757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600083516153fa818460208801614cbb565b64736c6f742f60d81b908301908152835161541c816005840160208801614cbb565b01600501949350505050565b60006020828403121561543a57600080fd5b81516001600160401b0381111561545057600080fd5b8201601f8101841361546157600080fd5b805161546f61506f82615029565b81815285602083850101111561548457600080fd5b614ac1826020830160208601614cbb565b634e487b7160e01b600052601160045260246000fd5b60006000198214156154bf576154bf615495565b5060010190565b634e487b7160e01b600052602160045260246000fd5b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b602080825260199082015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604082015260600190565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6001600160a01b039390931683526020830191909152604082015260600190565b600083516156a9818460208801614cbb565b8351908301906156bd818360208801614cbb565b01949350505050565b600083516156d8818460208801614cbb565b68636f6e74726163742f60b81b90830190815283516156fe816009840160208801614cbb565b01600901949350505050565b60008282101561571c5761571c615495565b500390565b6000821982111561573457615734615495565b500190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60006020828403121561579657600080fd5b5051919050565b600381106157bb57634e487b7160e01b600052602160045260246000fd5b9052565b838152606081016157d3602083018561579d565b613c3f604083018461579d565b6040815260006157f36040830185614ce7565b90508260208301529392505050565b60006020828403121561581457600080fd5b8151610fce8161515a565b60018060a01b038616815284602082015283604082015282606082015260a06080820152600061585260a0830184614ce7565b979650505050505050565b60006020828403121561586f57600080fd5b8151610fce81614c88565b634e487b7160e01b600052603160045260246000fd5b600080858511156158a057600080fd5b838611156158ad57600080fd5b5050820193919092039150565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906158ed90830184614ce7565b9695505050505050565b600081600019048311821515161561591157615911615495565b500290565b60008161592557615925615495565b506000190190565b6000825161593f818460208701614cbb565b919091019291505056fefca69b310bd19d275687ebe00b254b0772cf7a367c3f81a9a5a433f831fdc1dc3c63e605be3290ab6b04cfc46c6e1516e626d43236b034f09d7ede1d017beb0c0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc6360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc449b0a7e0acc0a95c71947cb19fdd122b42abca9bdfbd6707ca4f1e3fdaef05e7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212206b6abd3bdd7fd13bc58dae46c6f85cc8c5c5e0b758bffc4fe4e4b26f7908fdea64736f6c63430008090033"; - -type GatewayTokenInternalsTestConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayTokenInternalsTestConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayTokenInternalsTest__factory extends ContractFactory { - constructor(...args: GatewayTokenInternalsTestConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): GatewayTokenInternalsTest { - return super.attach(address) as GatewayTokenInternalsTest; - } - override connect(signer: Signer): GatewayTokenInternalsTest__factory { - return super.connect(signer) as GatewayTokenInternalsTest__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayTokenInternalsTestInterface { - return new utils.Interface(_abi) as GatewayTokenInternalsTestInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GatewayTokenInternalsTest { - return new Contract( - address, - _abi, - signerOrProvider - ) as GatewayTokenInternalsTest; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenUpgradeTest__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenUpgradeTest__factory.ts deleted file mode 100644 index 9ba816856..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/GatewayTokenUpgradeTest__factory.ts +++ /dev/null @@ -1,2129 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { - GatewayTokenUpgradeTest, - GatewayTokenUpgradeTestInterface, -} from "../../contracts/GatewayTokenUpgradeTest"; - -const _abi = [ - { - inputs: [], - name: "Common__MissingAccount", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "Common__NotContract", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "Common__NotSuperAdmin", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "sender", - type: "address", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - ], - name: "Common__Unauthorized", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "available", - type: "uint256", - }, - { - internalType: "uint256", - name: "required", - type: "uint256", - }, - ], - name: "GatewayToken__InsufficientFunds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NetworkAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NetworkDoesNotExist", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "GatewayToken__NotDAOGoverned", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "GatewayToken__TokenDoesNotExist", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "bool", - name: "allowExpired", - type: "bool", - }, - ], - name: "GatewayToken__TokenDoesNotExistOrIsInactive", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "enum IGatewayToken.TokenState", - name: "state", - type: "uint8", - }, - { - internalType: "enum IGatewayToken.TokenState", - name: "expectedState", - type: "uint8", - }, - ], - name: "GatewayToken__TokenInvalidStateForOperation", - type: "error", - }, - { - inputs: [], - name: "GatewayToken__TransferDisabled", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "ParameterizedAccessControl__RenounceRoleNotForSelf", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousAdmin", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newAdmin", - type: "address", - }, - ], - name: "AdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_approved", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "bool", - name: "_approved", - type: "bool", - }, - ], - name: "ApprovalForAll", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_operator", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "ApprovalValue", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "beacon", - type: "address", - }, - ], - name: "BeaconUpgraded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "bitmask", - type: "uint256", - }, - ], - name: "BitMaskUpdated", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousDAOManager", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newDAOManager", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "DAOManagerTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "Expiration", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "flagsStorage", - type: "address", - }, - ], - name: "FlagsStorageUpdated", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Freeze", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Revoke", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "bytes32", - name: "previousAdminRole", - type: "bytes32", - }, - { - indexed: true, - internalType: "bytes32", - name: "newAdminRole", - type: "bytes32", - }, - ], - name: "RoleAdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleGranted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleRevoked", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "metadataDescriptor", - type: "address", - }, - ], - name: "SetMetadataDescriptor", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_oldSlot", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_newSlot", - type: "uint256", - }, - ], - name: "SlotChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "SuperAdminAdded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "SuperAdminRemoved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "_to", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_tokenId", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_fromTokenId", - type: "uint256", - }, - { - indexed: true, - internalType: "uint256", - name: "_toTokenId", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "TransferValue", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Unfreeze", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "DAO_MANAGER_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DEFAULT_ADMIN_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "GATEKEEPER_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "NETWORK_AUTHORITY_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "addForwarder", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "addGatekeeper", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "addNetworkAuthority", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "operator_", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "address", - name: "", - type: "address", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "approve", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "balance", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "burn", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "contractURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "bool", - name: "daoGoverned", - type: "bool", - }, - { - internalType: "address", - name: "daoManager", - type: "address", - }, - ], - name: "createNetwork", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "flagsStorage", - outputs: [ - { - internalType: "contract IFlagsStorage", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "freeze", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "getApproved", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getExpiration", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "getNetwork", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - ], - name: "getRoleAdmin", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getToken", - outputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint8", - name: "state", - type: "uint8", - }, - { - internalType: "string", - name: "identity", - type: "string", - }, - { - internalType: "uint256", - name: "expiration", - type: "uint256", - }, - { - internalType: "uint256", - name: "bitmask", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "getTokenBitmask", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "getTokenIdsByOwnerAndNetwork", - outputs: [ - { - internalType: "uint256[]", - name: "", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "grantRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "hasRole", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "string", - name: "_name", - type: "string", - }, - { - internalType: "string", - name: "_symbol", - type: "string", - }, - { - internalType: "address", - name: "_superAdmin", - type: "address", - }, - { - internalType: "address", - name: "_flagsStorage", - type: "address", - }, - { - internalType: "address[]", - name: "_trustedForwarders", - type: "address[]", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - { - internalType: "address", - name: "operator_", - type: "address", - }, - ], - name: "isApprovedForAll", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "isGatekeeper", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "isNetworkAuthority", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "isNetworkDAOGoverned", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isSuperAdmin", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "isTrustedForwarder", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "metadataDescriptor", - outputs: [ - { - internalType: "contract IERC3525MetadataDescriptorUpgradeable", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiration", - type: "uint256", - }, - { - internalType: "uint256", - name: "mask", - type: "uint256", - }, - { - components: [ - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "enum ChargeType", - name: "chargeType", - type: "uint8", - }, - { - internalType: "address", - name: "token", - type: "address", - }, - { - internalType: "address", - name: "recipient", - type: "address", - }, - ], - internalType: "struct Charge", - name: "", - type: "tuple", - }, - ], - name: "mint", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "ownerOf", - outputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "removeForwarder", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "gatekeeper", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "removeGatekeeper", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "authority", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "removeNetworkAuthority", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - ], - name: "renameNetwork", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "renounceRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "revoke", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "uint256", - name: "domain", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeSuperAdmin", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - { - internalType: "bytes", - name: "data_", - type: "bytes", - }, - ], - name: "safeTransferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "operator_", - type: "address", - }, - { - internalType: "bool", - name: "approved_", - type: "bool", - }, - ], - name: "setApprovalForAll", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "mask", - type: "uint256", - }, - ], - name: "setBitmask", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - { - components: [ - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "enum ChargeType", - name: "chargeType", - type: "uint8", - }, - { - internalType: "address", - name: "token", - type: "address", - }, - { - internalType: "address", - name: "recipient", - type: "address", - }, - ], - internalType: "struct Charge", - name: "", - type: "tuple", - }, - ], - name: "setExpiration", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_metadataDescriptor", - type: "address", - }, - ], - name: "setMetadataDescriptor", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "setSuperAdmin", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "slotOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "slot_", - type: "uint256", - }, - ], - name: "slotURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "index_", - type: "uint256", - }, - ], - name: "tokenByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner_", - type: "address", - }, - { - internalType: "uint256", - name: "index_", - type: "uint256", - }, - ], - name: "tokenOfOwnerByIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "tokenURI", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "previousManager", - type: "address", - }, - { - internalType: "address", - name: "newManager", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "transferDAOManager", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "fromTokenId_", - type: "uint256", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "uint256", - name: "newTokenId", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from_", - type: "address", - }, - { - internalType: "address", - name: "to_", - type: "address", - }, - { - internalType: "uint256", - name: "tokenId_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "fromTokenId_", - type: "uint256", - }, - { - internalType: "uint256", - name: "toTokenId_", - type: "uint256", - }, - { - internalType: "uint256", - name: "value_", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "transfersRestricted", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "unfreeze", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "flagsStorage", - type: "address", - }, - ], - name: "updateFlagsStorage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - ], - name: "upgradeTo", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "valueDecimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "verifyToken", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "verifyToken", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e8565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e6576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b60805161581a62000120600039600081816114aa015281816114ea01528181611623015281816116630152611796015261581a6000f3fe6080604052600436106103b65760003560e01c806370f08160116101f9578063b4bd85791161011e578063df2a7fe1116100b6578063e71fb1101161007a578063e71fb11014610c32578063e8a3d48514610c52578063e985e9c514610c67578063ff17e23214610cb4578063ff85a97514610cd457600080fd5b8063df2a7fe114610b68578063df7f453b14610b88578063e0ed6a3114610bc1578063e345e0bc14610be1578063e4b50cb814610c0157600080fd5b8063b4bd857914610a53578063b5d6163514610a73578063b88d4fde14610a93578063babb898d14610aa6578063c2a366fb14610ac6578063c58dbbed14610ae6578063c87b56dd14610b06578063d6fd317514610b26578063d7a78db814610b4857600080fd5b806395d89b411161019157806395d89b411461093957806395ea57171461094e5780639c7525e61461096e5780639cc7f7081461098e578063a05b775f146109ae578063a217fddf146109ce578063a22cb465146109e3578063a578c09314610a03578063a8fa8e0d14610a3357600080fd5b806370f08160146108355780637dbded281461085557806381e9ff191461087557806382d66d5f14610897578063840f7113146108b75780638423df79146108d75780638cb0a511146108eb5780638eb7a776146108f957806390eddd521461091957600080fd5b80633659cfe6116102df57806352d1902d1161027757806352d1902d14610705578063572b6c051461071a5780635c41d2fe146107535780635e79b726146107735780636352211e146107935780636623fc46146107b35780636dba2729146107d35780636f7caf41146107f357806370a082311461081557600080fd5b80633659cfe6146105fd57806336e450411461061d5780633e7e86691461063d57806342842e0e1461065f57806342966c68146106725780634d93172d146106925780634f1ef286146106b25780634f6ccce7146106c557806351da912d146106e557600080fd5b806320c5429b1161035257806320c5429b146104f757806323b872dd14610517578063263f3e7e1461052a5780632d33d27a1461054a5780632f745c591461056a578063310ed7f01461058a57806331416a291461059d57806334e37b8a146105bd5780633568dd29146105dd57600080fd5b806301ffc9a7146103bb57806306fdde03146103f0578063081812fc14610412578063095ea7b31461043f57806309c3dd87146104545780630f485c02146104745780631442f5211461049557806315700052146104c257806318160ddd146104e2575b600080fd5b3480156103c757600080fd5b506103db6103d6366004614aad565b610cf4565b60405190151581526020015b60405180910390f35b3480156103fc57600080fd5b50610405610d55565b6040516103e79190614b22565b34801561041e57600080fd5b5061043261042d366004614b35565b610de7565b6040516103e79190614b4e565b61045261044d366004614b79565b610e39565b005b34801561046057600080fd5b5061040561046f366004614b35565b610e52565b610487610482366004614ba3565b610f53565b6040519081526020016103e7565b3480156104a157600080fd5b506104b56104b0366004614b79565b610f92565b6040516103e79190614bd8565b3480156104ce57600080fd5b506104526104dd366004614c1c565b611049565b3480156104ee57600080fd5b50609d54610487565b34801561050357600080fd5b50610452610512366004614b35565b6110a9565b610452610525366004614c37565b6110fd565b34801561053657600080fd5b50610487610545366004614b35565b611143565b34801561055657600080fd5b5060cc54610432906001600160a01b031681565b34801561057657600080fd5b50610487610585366004614b79565b61118b565b610452610598366004614c63565b61122c565b3480156105a957600080fd5b506104526105b8366004614cd0565b611249565b3480156105c957600080fd5b506104526105d8366004614c1c565b61146e565b3480156105e957600080fd5b506104526105f8366004614b79565b611482565b34801561060957600080fd5b50610452610618366004614c1c565b61149f565b34801561062957600080fd5b50610452610638366004614dbd565b611565565b34801561064957600080fd5b50609a5460405160ff90911681526020016103e7565b61045261066d366004614c37565b6115bb565b34801561067e57600080fd5b5061045261068d366004614b35565b6115d6565b34801561069e57600080fd5b506104526106ad366004614c1c565b6115eb565b6104526106c0366004614eb5565b611618565b3480156106d157600080fd5b506104876106e0366004614b35565b6116ce565b3480156106f157600080fd5b50610452610700366004614f02565b61175f565b34801561071157600080fd5b50610487611789565b34801561072657600080fd5b506103db610735366004614c1c565b6001600160a01b031660009081526097602052604090205460ff1690565b34801561075f57600080fd5b5061045261076e366004614c1c565b611837565b34801561077f57600080fd5b5061045261078e366004614f3c565b611867565b34801561079f57600080fd5b506104326107ae366004614b35565b61187d565b3480156107bf57600080fd5b506104526107ce366004614b35565b6118ed565b3480156107df57600080fd5b506103db6107ee366004614b79565b611902565b3480156107ff57600080fd5b5061048760008051602061575e83398151915281565b34801561082157600080fd5b50610487610830366004614c1c565b61191d565b34801561084157600080fd5b50610452610850366004614b79565b6119a5565b34801561086157600080fd5b50610452610870366004614f77565b6119be565b34801561088157600080fd5b506104876000805160206156de83398151915281565b3480156108a357600080fd5b506104526108b2366004614b79565b611bad565b3480156108c357600080fd5b5060a054610432906001600160a01b031681565b3480156108e357600080fd5b5060016103db565b61045261044d366004614ba3565b34801561090557600080fd5b50610452610914366004614dbd565b611bc2565b34801561092557600080fd5b50610452610934366004614b79565b611be2565b34801561094557600080fd5b50610405611bfb565b34801561095a57600080fd5b50610405610969366004614b35565b611c0a565b34801561097a57600080fd5b50610452610989366004614fe6565b611cac565b34801561099a57600080fd5b506104876109a9366004614b35565b611d5b565b3480156109ba57600080fd5b506104876109c9366004614b35565b611da3565b3480156109da57600080fd5b50610487600081565b3480156109ef57600080fd5b506104526109fe366004615031565b611dc1565b348015610a0f57600080fd5b506103db610a1e366004614b35565b60ce6020526000908152604090205460ff1681565b348015610a3f57600080fd5b50610452610a4e366004614c37565b611dd3565b348015610a5f57600080fd5b50610487610a6e366004614b35565b611f2c565b348015610a7f57600080fd5b50610452610a8e366004614dbd565b611f40565b610452610aa1366004615068565b611f60565b348015610ab257600080fd5b506103db610ac1366004614dbd565b611f93565b348015610ad257600080fd5b506103db610ae1366004614b79565b611fc4565b348015610af257600080fd5b50610452610b01366004614c1c565b611fdf565b348015610b1257600080fd5b50610405610b21366004614b35565b61203c565b348015610b3257600080fd5b506104876000805160206156fe83398151915281565b348015610b5457600080fd5b50610452610b63366004614b35565b6120db565b348015610b7457600080fd5b50610487610b83366004614f02565b6120f0565b348015610b9457600080fd5b506103db610ba3366004614c1c565b6001600160a01b0316600090815260cb602052604090205460ff1690565b348015610bcd57600080fd5b50610452610bdc3660046150cf565b61210f565b348015610bed57600080fd5b50610487610bfc366004615115565b6121a1565b348015610c0d57600080fd5b50610c21610c1c366004614b35565b6121d5565b6040516103e7959493929190615141565b348015610c3e57600080fd5b50610452610c4d366004614c1c565b612235565b348015610c5e57600080fd5b50610405612246565b348015610c7357600080fd5b506103db610c82366004615182565b6001600160a01b039182166000908152609f602090815260408083209390941682526002909201909152205460ff1690565b348015610cc057600080fd5b506103db610ccf366004614b79565b61234f565b348015610ce057600080fd5b506103db610cef366004614b35565b6123c0565b60006001600160e01b03198216630354d60560e61b1480610d2557506001600160e01b031982166380ac58cd60e01b145b80610d4057506001600160e01b031982166370b0048160e11b145b80610d4f5750610d4f826123cd565b92915050565b606060988054610d64906151ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610d90906151ac565b8015610ddd5780601f10610db257610100808354040283529160200191610ddd565b820191906000526020600020905b815481529060010190602001808311610dc057829003601f168201915b5050505050905090565b6000610df282612402565b6000828152609e6020526040902054609d80549091908110610e1657610e166151e1565b60009182526020909120600460069092020101546001600160a01b031692915050565b60405163c03a3ff560e01b815260040160405180910390fd5b60606000610e6b60408051602081019091526000815290565b60a0549091506001600160a01b0316610ecb576000815111610e9c5760405180602001604052806000815250610f4c565b80610ea684612427565b604051602001610eb79291906151f7565b604051602081830303815290604052610f4c565b60a054604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b60006040518083038186803b158015610f1057600080fd5b505afa158015610f24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f4c9190810190615237565b9392505050565b6000610f67610f606124c3565b85846124d2565b610f708461254d565b9050610f878382610f8087611143565b6000612557565b610f4c84828461267e565b6060600080610fa1858561295d565b915091506000816001600160401b03811115610fbf57610fbf614df2565b604051908082528060200260200182016040528015610fe8578160200160208202803683370190505b50905060005b8281101561103f57838181518110611008576110086151e1565b6020026020010151828281518110611022576110226151e1565b602090810291909101015280611037816152ba565b915050610fee565b5095945050505050565b611051612a2a565b6040516001600160a01b038216907f286f82d2b1e37b5e9f33e455d014b4a5f6c29388e6e41e1281d4c83e04f4265590600090a26001600160a01b0316600090815260cb60205260409020805460ff19166001179055565b6110ba6110b582611143565b612a3c565b600081815260cf6020526040808220805460ff191660021790555182917fdb43aa42235c8d63908794a952603e8d43a549383d13123c3d893a3fc2e6249591a250565b61110e6111086124c3565b50600090565b6111335760405162461bcd60e51b815260040161112a906152eb565b60405180910390fd5b61113e838383612a54565b505050565b600061114e82612402565b6000828152609e6020526040902054609d80549091908110611172576111726151e1565b9060005260206000209060060201600101549050919050565b60006111968361191d565b82106111ef5760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161112a565b6001600160a01b0383166000908152609f60205260409020805483908110611219576112196151e1565b9060005260206000200154905092915050565b61123e6112376124c3565b84836124d2565b61113e83838361267e565b600054610100900460ff16158080156112695750600054600160ff909116105b8061128a575061127830612ba3565b15801561128a575060005460ff166001145b6112a65760405162461bcd60e51b815260040161112a9061533d565b6000805460ff1916600117905580156112c9576000805461ff0019166101001790555b6001600160a01b0385166112f057604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03841661131757604051630ca2c90160e21b815260040160405180910390fd5b60005b82811015611385576000848483818110611336576113366151e1565b905060200201602081019061134b9190614c1c565b6001600160a01b0316141561137357604051630ca2c90160e21b815260040160405180910390fd5b8061137d816152ba565b91505061131a565b506113f989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a908190840183828082843760009201829052509250612bb2915050565b6114038383612be4565b61140c84612ca6565b6001600160a01b038516600090815260cb60205260409020805460ff191660011790558015611463576000805461ff00191690556040516001815260008051602061577e8339815191529060200160405180910390a15b505050505050505050565b611476612a2a565b61147f81612ca6565b50565b61149b6000805160206156fe8339815191528284611bc2565b5050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156114e85760405162461bcd60e51b815260040161112a9061538b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661151a612cf0565b6001600160a01b0316146115405760405162461bcd60e51b815260040161112a906153d7565b61154981612d0c565b6040805160008082526020820190925261147f91839190612d14565b61156d6124c3565b6001600160a01b0316816001600160a01b0316146115b0576040516307ca099360e31b8152600481018490526001600160a01b038216602482015260440161112a565b61113e838383612e8e565b61113e83838360405180602001604052806000815250611f60565b6115e26110b582611143565b61147f81612f2a565b6115f3612a2a565b61147f816001600160a01b03166000908152609760205260409020805460ff19169055565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156116615760405162461bcd60e51b815260040161112a9061538b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611693612cf0565b6001600160a01b0316146116b95760405162461bcd60e51b815260040161112a906153d7565b6116c282612d0c565b61149b82826001612d14565b60006116d9609d5490565b82106117335760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161112a565b609d8281548110611746576117466151e1565b9060005260206000209060060201600001549050919050565b61177f6000805160206156fe83398151915261177a84611143565b613027565b61149b8282613039565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146118245760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161112a565b5060008051602061573e83398151915290565b61183f612a2a565b61147f816001600160a01b03166000908152609760205260409020805460ff19166001179055565b6118736110b584611143565b61113e8383613088565b600061188882612402565b6000828152609e6020526040902054609d805490919081106118ac576118ac6151e1565b60009182526020909120600360069092020101546001600160a01b03169050806118e85760405162461bcd60e51b815260040161112a90615423565b919050565b6118f96110b582611143565b61147f816130e4565b6000610f4c6000805160206156fe8339815191528385611f93565b60006001600160a01b0382166119895760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161112a565b506001600160a01b03166000908152609f602052604090205490565b61149b6000805160206156fe8339815191528284611f40565b600085815260d16020526040902080546119d7906151ac565b1590506119fa57604051636f55f62b60e01b81526004810186905260240161112a565b600085815260d160205260409020611a13908585614917565b508115611b3857600085815260ce60205260409020805460ff19168315151790556001600160a01b038116611a5b57604051630ca2c90160e21b815260040160405180910390fd5b611a6d816001600160a01b0316612ba3565b611a8c578060405163d4daafa160e01b815260040161112a9190614b4e565b611aa56000805160206156de833981519152868361318b565b611abe60008051602061575e833981519152868361318b565b611ae560008051602061575e833981519152866000805160206156de83398151915261321c565b611b0c6000805160206156fe833981519152866000805160206156de83398151915261321c565b611b336000805160206156de833981519152866000805160206156de83398151915261321c565b611ba6565b611b5860008051602061575e83398151915286611b536124c3565b61318b565b611b7f60008051602061575e8339815191528660008051602061575e83398151915261321c565b611ba66000805160206156fe8339815191528660008051602061575e83398151915261321c565b5050505050565b61149b60008051602061575e83398151915282845b611bcc83836120f0565b82611bd78282613027565b611ba6858585612e8e565b61149b60008051602061575e8339815191528284611f40565b606060998054610d64906151ac565b600081815260d160205260409020805460609190611c27906151ac565b80601f0160208091040260200160405190810160405280929190818152602001828054611c53906151ac565b8015611ca05780601f10611c7557610100808354040283529160200191611ca0565b820191906000526020600020905b815481529060010190602001808311611c8357829003601f168201915b50505050509050919050565b600083815260d1602052604090208054611cc5906151ac565b15159050611ce957604051630817886d60e41b81526004810184905260240161112a565b611d0460008051602061575e83398151915284610ac16124c3565b611d3c57611d106124c3565b8360008051602061575e83398151915260405163c8c801a760e01b815260040161112a93929190615456565b600083815260d160205260409020611d55908383614917565b50505050565b6000611d6682612402565b6000828152609e6020526040902054609d80549091908110611d8a57611d8a6151e1565b9060005260206000209060060201600201549050919050565b6000611dae82613287565b50600090815260d0602052604090205490565b61149b611dcc6124c3565b83836132b0565b600081815260ce602052604090205460ff16611e055760405163db53ce7160e01b81526004810182905260240161112a565b611e1e6000805160206156de8339815191528285613384565b6001600160a01b038216611e4557604051630ca2c90160e21b815260040160405180910390fd5b611e5e6000805160206156de8339815191528284611f40565b611e7760008051602061575e8339815191528284611f40565b611e906000805160206156fe8339815191528284611f40565b611ea96000805160206156fe8339815191528285611bc2565b611ec260008051602061575e8339815191528285611bc2565b611edb6000805160206156de8339815191528285611bc2565b604080516001600160a01b038086168252841660208201529081018290527f744258a28673e8738e2812c0ab8e8dbd70352f8871b1febac0dd753d96d79f58906060015b60405180910390a1505050565b600081815260cd6020526040812054610d4f565b611f4a83836120f0565b82611f558282613027565b611ba685858561318b565b611f6b6111086124c3565b611f875760405162461bcd60e51b815260040161112a906152eb565b611d55848484846133b2565b600091825260ca602090815260408084209484529381528383206001600160a01b0392909216835252205460ff1690565b6000610f4c60008051602061575e8339815191528385611f93565b611fe7612a2a565b6040516001600160a01b038216907ffb445f6ec07647d2bb7af72821e6b8b7303ec375e934d4a338d38ed5846c2d5690600090a26001600160a01b0316600090815260cb60205260409020805460ff19169055565b606061204782612402565b600061205e60408051602081019091526000815290565b60a0549091506001600160a01b03166120aa57600081511161208f5760405180602001604052806000815250610f4c565b8061209984612427565b604051602001610eb7929190615477565b60a0546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401610ef8565b6120e76110b582611143565b61147f81613425565b600090815260ca60209081526040808320938352929052206001015490565b61211884612a3c565b600061212686866001613473565b9050600084116121785760405162461bcd60e51b815260206004820181905260248201527f54455354204d4f44453a20457870697279206d757374206265203e207a65726f604482015260640161112a565b600081815260d0602052604090208490558215612199576121998184613039565b505050505050565b60006121ac83612402565b506000918252609c602090815260408084206001600160a01b0393909316845291905290205490565b60008060606000806121e68661187d565b600087815260cf602052604090205490955060ff16600281111561220c5761220c6152d5565b600096875260d0602090815260408089205460cd90925290972054959790969395939450915050565b61223d612a2a565b61147f8161348b565b6060600061225f60408051602081019091526000815290565b60a0549091506001600160a01b03166122bf5760008151116122905760405180602001604052806000815250612349565b8061229a306134d5565b6040516020016122ab9291906154a6565b604051602081830303815290604052612349565b60a060009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b815260040160006040518083038186803b15801561230d57600080fd5b505afa158015612321573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123499190810190615237565b91505090565b600080600061235e858561295d565b9150915060005b818110156123b457612391838281518110612382576123826151e1565b602002602001015160006134eb565b156123a25760019350505050610d4f565b806123ac816152ba565b915050612365565b50600095945050505050565b6000610d4f8260006134eb565b60006001600160e01b031982166333cb74f560e11b1480610d4f57506301ffc9a760e01b6001600160e01b0319831614610d4f565b61240b81613590565b61147f5760405162461bcd60e51b815260040161112a90615423565b60606000612434836135dc565b60010190506000816001600160401b0381111561245357612453614df2565b6040519080825280601f01601f19166020018201604052801561247d576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846124b6576124bb565b612487565b509392505050565b60006124cd6136b4565b905090565b60006124de83856121a1565b90506000198114611d5557818110156125395760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e636500604482015260640161112a565b611d55838561254885856154ea565b6136de565b6000610d4f61380d565b6001600160a01b0384166125b75760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161112a565b8261260e5760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b606482015260840161112a565b61261783613590565b156126645760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e746564000000604482015260640161112a565b61266f848484613824565b61267983826138d8565b611d55565b61268783613590565b6126e35760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b606482015260840161112a565b6126ec82613590565b6127465760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b606482015260840161112a565b6000838152609e6020526040812054609d8054909190811061276a5761276a6151e1565b906000526020600020906006020190506000609d609e600086815260200190815260200160002054815481106127a2576127a26151e1565b9060005260206000209060060201905082826002015410156128195760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161112a565b80600101548260010154146128875760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b606482015260840161112a565b8282600201600082825461289b91906154ea565b92505081905550828160020160008282546128b69190615501565b90915550506040518381528490869060008051602061571e8339815191529060200160405180910390a36128fb8585856040518060200160405280600081525061394b565b611ba65760405162461bcd60e51b815260206004820152602d60248201527f455243333532353a207472616e736665722072656a656374656420627920455260448201526c21999a991aa932b1b2b4bb32b960991b606482015260840161112a565b606060008061296b8561191d565b90506000816001600160401b0381111561298757612987614df2565b6040519080825280602002602001820160405280156129b0578160200160208202803683370190505b5090506000805b83811015612a1b5760006129cb898361118b565b9050876129d782611143565b1415612a08578084846129e9816152ba565b9550815181106129fb576129fb6151e1565b6020026020010181815250505b5080612a13816152ba565b9150506129b7565b509093509150505b9250929050565b612a3a612a356124c3565b613aac565b565b61147f6000805160206156fe83398151915282613027565b826001600160a01b0316612a678261187d565b6001600160a01b031614612ac95760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b606482015260840161112a565b6001600160a01b038216612b2d5760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161112a565b6000612b3882611143565b90506000612b4583611d5b565b9050612b52600084613ae7565b612b5b83613b7e565b612b658584613c29565b612b6f8484613d4a565b82846001600160a01b0316866001600160a01b03166000805160206157c583398151915260405160405180910390a4611ba6565b6001600160a01b03163b151590565b600054610100900460ff16612bd95760405162461bcd60e51b815260040161112a90615519565b61113e838383613dd3565b600054610100900460ff1615808015612c045750600054600160ff909116105b80612c255750612c1330612ba3565b158015612c25575060005460ff166001145b612c415760405162461bcd60e51b815260040161112a9061533d565b6000805460ff191660011790558015612c64576000805461ff0019166101001790555b612c6c613e3a565b612c768383613e61565b801561113e576000805461ff00191690556040516001815260008051602061577e83398151915290602001611f1f565b60cc80546001600160a01b0319166001600160a01b0383169081179091556040517f5e4a30f4224898dbac86adca855a5edd3b8341a3aeb2b6ff0f0b5a82c013b65a90600090a250565b60008051602061573e833981519152546001600160a01b031690565b61147f612a2a565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615612d475761113e83613f84565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b158015612d8057600080fd5b505afa925050508015612db0575060408051601f3d908101601f19168201909252612dad91810190615564565b60015b612e135760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161112a565b60008051602061573e8339815191528114612e825760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161112a565b5061113e83838361401e565b612e99838383611f93565b1561113e57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff19169055612ed86124c3565b6001600160a01b0316816001600160a01b0316847f6f9148fcdc32766ca802c14716295d56eab7ed848d0dba113966f40087c8839085604051612f1d91815260200190565b60405180910390a4505050565b612f3381612402565b6000818152609e6020526040812054609d80549091908110612f5757612f576151e1565b60009182526020909120600691909102016003810154600182015460028301549293506001600160a01b0390911691612f8f85613b7e565b612f998386613c29565b612fa285614043565b60008560008051602061571e83398151915283604051612fc491815260200190565b60405180910390a3600082867fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a460405185906000906001600160a01b038616906000805160206157c5833981519152908390a4611ba6565b61149b82826130346124c3565b613384565b600082815260cd602090815260409182902083905581518481529081018390527f5e07998cef9cea674942c66f0ea7b0bce89ab9473ce240cc93d616c3491f8aeb910160405180910390a15050565b613093826001614251565b600082815260d06020526040908190208290555182907f1ebc57da8b3ebab98506502fbb73232ea29fbe86e4963a5a8c004810ad11190d906130d89084815260200190565b60405180910390a25050565b6130ed81613287565b6001600082815260cf602052604090205460ff166002811115613112576131126152d5565b1461314b57600081815260cf6020526040908190205490516308c9ef2d60e11b815261112a91839160ff9091169060019060040161559f565b600081815260cf6020526040808220805460ff191690555182917fe2babfd5e77285a3c3dbc4b25592cbe4a7a26e97a7ac63067a22ebdaa9b82add91a250565b613196838383611f93565b61113e57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff191660011790556131d76124c3565b6001600160a01b0316816001600160a01b0316847f4dc88bd74ca601684356789d5b3dbc9cd44275b2544e8d35041203703b76823285604051612f1d91815260200190565b600061322884846120f0565b600084815260ca6020908152604080832088845282529182902060010185905590518581529192508391839187917f15f4a36186b2284157fe71215a07487f6c8bdc1203b3307c3e1fd9693011d3d3910160405180910390a450505050565b61329081613590565b61147f576040516321fbdd2b60e11b81526004810182905260240161112a565b816001600160a01b0316836001600160a01b031614156133125760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c6572000000000000604482015260640161112a565b6001600160a01b038381166000818152609f602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b61338f838383611f93565b61113e5780828460405163c8c801a760e01b815260040161112a93929190615456565b6133bd848484612a54565b6133c984848484614283565b611d555760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b606482015260840161112a565b613430816001614251565b600081815260cf6020526040808220805460ff191660011790555182917f779fbee689bbd6f006ecb329206d35c7db7380f9837a8826fb8dc5cfcd3d33dd91a250565b600061347d61380d565b9050610f4c84828585612557565b60a080546001600160a01b0319166001600160a01b0383169081179091556040517f5252f52e45fc8ee6a7b43cef3645d23e9a470a34182b8b3a12627556635bfc9c90600090a250565b6060610d4f6001600160a01b03831660146143e6565b600082815260cf602052604081205460ff1681816002811115613510576135106152d5565b1461351f576000915050610d4f565b600061352a8561187d565b600086815260d0602052604090205490915015801590613548575083155b1561357c576001600160a01b038116158015906135735750600085815260d060205260409020544211155b92505050610d4f565b6001600160a01b031615159150610d4f9050565b609d5460009015801590610d4f57506000828152609e6020526040902054609d805484929081106135c3576135c36151e1565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061361b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613647576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061366557662386f26fc10000830492506010015b6305f5e100831061367d576305f5e100830492506008015b612710831061369157612710830492506004015b606483106136a3576064830492506002015b600a8310610d4f5760010192915050565b3360009081526097602052604081205460ff16156136d9575060131936013560601c90565b503390565b6001600160a01b0382166137475760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b606482015260840161112a565b6137518284614581565b6137b7576000838152609e6020526040902054609d80549091908110613779576137796151e1565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b6000838152609c602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b9101613377565b600061381d609b80546001019055565b50609b5490565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a0820152905061387281614655565b61387c8484613d4a565b60405183906001600160a01b038616906000906000805160206157c5833981519152908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b6000828152609e6020526040902054609d805483929081106138fc576138fc6151e1565b9060005260206000209060060201600201600082825461391c9190615501565b9091555050604051818152829060009060008051602061571e8339815191529060200160405180910390a35050565b6000806139578561187d565b905061396b816001600160a01b0316612ba3565b80156139ef57506040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a79060240160206040518083038186803b1580156139b757600080fd5b505afa1580156139cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139ef91906155c0565b15613a9e576000816001600160a01b0316629ce20b613a0c6124c3565b898989896040518663ffffffff1660e01b8152600401613a309594939291906155dd565b602060405180830381600087803b158015613a4a57600080fd5b505af1158015613a5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a82919061561b565b6001600160e01b031916629ce20b60e01b149250613aa4915050565b60019150505b949350505050565b6001600160a01b038116600090815260cb602052604090205460ff1661147f5780604051632957ccdd60e21b815260040161112a9190614b4e565b6000818152609e6020526040902054609d80548492908110613b0b57613b0b6151e1565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b0392831617905581908316613b458261187d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609e6020526040812054609d80549091908110613ba257613ba26151e1565b600091825260208220600560069092020190810154909250905b81811015613c1a576000836005018281548110613bdb57613bdb6151e1565b6000918252602080832090910154878352609c825260408084206001600160a01b03909216845291528120555080613c12816152ba565b915050613bbc565b5061113e60058301600061499b565b6000818152609e6020526040812054609d80549091908110613c4d57613c4d6151e1565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b039485161790559184168152609f909152604081208054909190613c9c906001906154ea565b90506000826000018281548110613cb557613cb56151e1565b90600052602060002001549050600083600101600086815260200190815260200160002054905081846000018281548110613cf257613cf26151e1565b60009182526020808320909101929092558381526001860190915260408082208390558682528120558354849080613d2c57613d2c615638565b60019003818190600052602060002001600090559055505050505050565b6000818152609e6020526040902054609d80548492908110613d6e57613d6e6151e1565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152609f80845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b600054610100900460ff16613dfa5760405162461bcd60e51b815260040161112a90615519565b8251613e0d9060989060208601906149b9565b508151613e219060999060208501906149b9565b50609a805460ff191660ff929092169190911790555050565b600054610100900460ff16612a3a5760405162461bcd60e51b815260040161112a90615519565b600054610100900460ff1615808015613e815750600054600160ff909116105b80613ea25750613e9030612ba3565b158015613ea2575060005460ff166001145b613ebe5760405162461bcd60e51b815260040161112a9061533d565b6000805460ff191660011790558015613ee1576000805461ff0019166101001790555b60005b82811015613f5357600160976000868685818110613f0457613f046151e1565b9050602002016020810190613f199190614c1c565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580613f4b816152ba565b915050613ee4565b50801561113e576000805461ff00191690556040516001815260008051602061577e83398151915290602001611f1f565b613f8d81612ba3565b613fef5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161112a565b60008051602061573e83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b614027836147a7565b6000825111806140345750805b1561113e57611d5583836147e7565b609d54600090614055906001906154ea565b6000838152609e6020526040812054609d805493945090928490811061407d5761407d6151e1565b60009182526020918290206040805160c08101825260069093029091018054835260018101548385015260028101548383015260038101546001600160a01b03908116606085015260048201541660808401526005810180548351818702810187019094528084529394919360a08601939283018282801561412857602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161410a575b505050505081525050905080609d8381548110614147576141476151e1565b600091825260209182902083516006909202019081558282015160018201556040830151600282015560608301516003820180546001600160a01b039283166001600160a01b031991821617909155608085015160048401805491909316911617905560a0830151805191926141c592600585019290910190614a2d565b505081516000908152609e602052604080822085905586825281205550609d8054806141f3576141f3615638565b60008281526020812060066000199093019283020181815560018101829055600281018290556003810180546001600160a01b0319908116909155600482018054909116905590614247600583018261499b565b5050905550505050565b61425b82826134eb565b61149b576040516316af84a960e21b815260048101839052811515602482015260440161112a565b6000614297846001600160a01b0316612ba3565b156143de57836001600160a01b031663150b7a026142b36124c3565b8786866040518563ffffffff1660e01b81526004016142d5949392919061564e565b602060405180830381600087803b1580156142ef57600080fd5b505af192505050801561431f575060408051601f3d908101601f1916820190925261431c9181019061561b565b60015b6143c4573d80801561434d576040519150601f19603f3d011682016040523d82523d6000602084013e614352565b606091505b5080516143bc5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161112a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613aa4565b506001613aa4565b606060006143f583600261568b565b614400906002615501565b6001600160401b0381111561441757614417614df2565b6040519080825280601f01601f191660200182016040528015614441576020820181803683370190505b509050600360fc1b8160008151811061445c5761445c6151e1565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061448b5761448b6151e1565b60200101906001600160f81b031916908160001a90535060006144af84600261568b565b6144ba906001615501565b90505b6001811115614532576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106144ee576144ee6151e1565b1a60f81b828281518110614504576145046151e1565b60200101906001600160f81b031916908160001a90535060049490941c9361452b816156aa565b90506144bd565b508315610f4c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161112a565b6000818152609e6020526040812054609d805483929081106145a5576145a56151e1565b6000918252602082206005600690920201015491505b8181101561464a576000848152609e6020526040902054609d80546001600160a01b038816929081106145f0576145f06151e1565b90600052602060002090600602016005018281548110614612576146126151e1565b6000918252602090912001546001600160a01b0316141561463857600192505050610d4f565b80614642816152ba565b9150506145bb565b506000949350505050565b609d805482516000908152609e6020908152604080832084905560018401855593909152835160069092027fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7b8101928355818501517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7c820155928401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7d84015560608401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7e840180546001600160a01b039283166001600160a01b03199182161790915560808601517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7f8601805491909316911617905560a084015180518594611d55937fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf80909101920190614a2d565b6147b081613f84565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606147f283612ba3565b61484d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161112a565b600080846001600160a01b03168460405161486891906156c1565b600060405180830381855af49150503d80600081146148a3576040519150601f19603f3d011682016040523d82523d6000602084013e6148a8565b606091505b50915091506148d0828260405180606001604052806027815260200161579e602791396148d9565b95945050505050565b606083156148e8575081610f4c565b610f4c83838151156148fd5781518083602001fd5b8060405162461bcd60e51b815260040161112a9190614b22565b828054614923906151ac565b90600052602060002090601f016020900481019282614945576000855561498b565b82601f1061495e5782800160ff1982351617855561498b565b8280016001018555821561498b579182015b8281111561498b578235825591602001919060010190614970565b50614997929150614a82565b5090565b508054600082559060005260206000209081019061147f9190614a82565b8280546149c5906151ac565b90600052602060002090601f0160209004810192826149e7576000855561498b565b82601f10614a0057805160ff191683800117855561498b565b8280016001018555821561498b579182015b8281111561498b578251825591602001919060010190614a12565b82805482825590600052602060002090810192821561498b579160200282015b8281111561498b57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614a4d565b5b808211156149975760008155600101614a83565b6001600160e01b03198116811461147f57600080fd5b600060208284031215614abf57600080fd5b8135610f4c81614a97565b60005b83811015614ae5578181015183820152602001614acd565b83811115611d555750506000910152565b60008151808452614b0e816020860160208601614aca565b601f01601f19169290920160200192915050565b602081526000610f4c6020830184614af6565b600060208284031215614b4757600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b03811681146118e857600080fd5b60008060408385031215614b8c57600080fd5b614b9583614b62565b946020939093013593505050565b600080600060608486031215614bb857600080fd5b83359250614bc860208501614b62565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015614c1057835183529284019291840191600101614bf4565b50909695505050505050565b600060208284031215614c2e57600080fd5b610f4c82614b62565b600080600060608486031215614c4c57600080fd5b614c5584614b62565b9250614bc860208501614b62565b600080600060608486031215614c7857600080fd5b505081359360208301359350604090920135919050565b60008083601f840112614ca157600080fd5b5081356001600160401b03811115614cb857600080fd5b602083019150836020828501011115612a2357600080fd5b60008060008060008060008060a0898b031215614cec57600080fd5b88356001600160401b0380821115614d0357600080fd5b614d0f8c838d01614c8f565b909a50985060208b0135915080821115614d2857600080fd5b614d348c838d01614c8f565b9098509650869150614d4860408c01614b62565b9550614d5660608c01614b62565b945060808b0135915080821115614d6c57600080fd5b818b0191508b601f830112614d8057600080fd5b813581811115614d8f57600080fd5b8c60208260051b8501011115614da457600080fd5b6020830194508093505050509295985092959890939650565b600080600060608486031215614dd257600080fd5b8335925060208401359150614de960408501614b62565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715614e3057614e30614df2565b604052919050565b60006001600160401b03821115614e5157614e51614df2565b50601f01601f191660200190565b600082601f830112614e7057600080fd5b8135614e83614e7e82614e38565b614e08565b818152846020838601011115614e9857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215614ec857600080fd5b614ed183614b62565b915060208301356001600160401b03811115614eec57600080fd5b614ef885828601614e5f565b9150509250929050565b60008060408385031215614f1557600080fd5b50508035926020909101359150565b600060808284031215614f3657600080fd5b50919050565b600080600060c08486031215614f5157600080fd5b8335925060208401359150614de98560408601614f24565b801515811461147f57600080fd5b600080600080600060808688031215614f8f57600080fd5b8535945060208601356001600160401b03811115614fac57600080fd5b614fb888828901614c8f565b9095509350506040860135614fcc81614f69565b9150614fda60608701614b62565b90509295509295909350565b600080600060408486031215614ffb57600080fd5b8335925060208401356001600160401b0381111561501857600080fd5b61502486828701614c8f565b9497909650939450505050565b6000806040838503121561504457600080fd5b61504d83614b62565b9150602083013561505d81614f69565b809150509250929050565b6000806000806080858703121561507e57600080fd5b61508785614b62565b935061509560208601614b62565b92506040850135915060608501356001600160401b038111156150b757600080fd5b6150c387828801614e5f565b91505092959194509250565b600080600080600061010086880312156150e857600080fd5b6150f186614b62565b9450602086013593506040860135925060608601359150614fda8760808801614f24565b6000806040838503121561512857600080fd5b8235915061513860208401614b62565b90509250929050565b6001600160a01b038616815260ff8516602082015260a06040820181905260009061516e90830186614af6565b606083019490945250608001529392505050565b6000806040838503121561519557600080fd5b61519e83614b62565b915061513860208401614b62565b600181811c908216806151c057607f821691505b60208210811415614f3657634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008351615209818460208801614aca565b64736c6f742f60d81b908301908152835161522b816005840160208801614aca565b01600501949350505050565b60006020828403121561524957600080fd5b81516001600160401b0381111561525f57600080fd5b8201601f8101841361527057600080fd5b805161527e614e7e82614e38565b81815285602083850101111561529357600080fd5b6148d0826020830160208601614aca565b634e487b7160e01b600052601160045260246000fd5b60006000198214156152ce576152ce6152a4565b5060010190565b634e487b7160e01b600052602160045260246000fd5b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b602080825260199082015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604082015260600190565b6001600160a01b039390931683526020830191909152604082015260600190565b60008351615489818460208801614aca565b83519083019061549d818360208801614aca565b01949350505050565b600083516154b8818460208801614aca565b68636f6e74726163742f60b81b90830190815283516154de816009840160208801614aca565b01600901949350505050565b6000828210156154fc576154fc6152a4565b500390565b60008219821115615514576155146152a4565b500190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60006020828403121561557657600080fd5b5051919050565b6003811061559b57634e487b7160e01b600052602160045260246000fd5b9052565b838152606081016155b3602083018561557d565b613aa4604083018461557d565b6000602082840312156155d257600080fd5b8151610f4c81614f69565b60018060a01b038616815284602082015283604082015282606082015260a06080820152600061561060a0830184614af6565b979650505050505050565b60006020828403121561562d57600080fd5b8151610f4c81614a97565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061568190830184614af6565b9695505050505050565b60008160001904831182151516156156a5576156a56152a4565b500290565b6000816156b9576156b96152a4565b506000190190565b600082516156d3818460208701614aca565b919091019291505056fefca69b310bd19d275687ebe00b254b0772cf7a367c3f81a9a5a433f831fdc1dc3c63e605be3290ab6b04cfc46c6e1516e626d43236b034f09d7ede1d017beb0c0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc6360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc449b0a7e0acc0a95c71947cb19fdd122b42abca9bdfbd6707ca4f1e3fdaef05e7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204b252f0d4f0a8cfa2424a7c5d096c8bd99dffd75c5f5f18f8ee04d197436b07364736f6c63430008090033"; - -type GatewayTokenUpgradeTestConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayTokenUpgradeTestConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayTokenUpgradeTest__factory extends ContractFactory { - constructor(...args: GatewayTokenUpgradeTestConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): GatewayTokenUpgradeTest { - return super.attach(address) as GatewayTokenUpgradeTest; - } - override connect(signer: Signer): GatewayTokenUpgradeTest__factory { - return super.connect(signer) as GatewayTokenUpgradeTest__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayTokenUpgradeTestInterface { - return new utils.Interface(_abi) as GatewayTokenUpgradeTestInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GatewayTokenUpgradeTest { - return new Contract( - address, - _abi, - signerOrProvider - ) as GatewayTokenUpgradeTest; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/InternalTokenApproval__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/InternalTokenApproval__factory.ts deleted file mode 100644 index 895076973..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/InternalTokenApproval__factory.ts +++ /dev/null @@ -1,134 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { - InternalTokenApproval, - InternalTokenApprovalInterface, -} from "../../contracts/InternalTokenApproval"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "approvals", - outputs: [ - { - internalType: "uint256", - name: "tokens", - type: "uint256", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_user", - type: "address", - }, - ], - name: "getApproval", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_tokens", - type: "uint256", - }, - { - internalType: "uint256", - name: "_network", - type: "uint256", - }, - ], - name: "setApproval", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5061018e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80635d0341ba14610046578063da076a8714610086578063de39ff5c146100ca575b600080fd5b61006d610054366004610106565b6000602081905290815260409020805460019091015482565b6040805192835260208301919091520160405180910390f35b61006d610094366004610106565b6001600160a01b031660009081526020818152604091829020825180840190935280548084526001909101549290910182905291565b6101046100d8366004610136565b604080518082018252928352602080840192835233600090815290819052209151825551600190910155565b005b60006020828403121561011857600080fd5b81356001600160a01b038116811461012f57600080fd5b9392505050565b6000806040838503121561014957600080fd5b5050803592602090910135915056fea26469706673582212203b4054074b52f9b892fcd1545cd2e9e68643e4909967c615da11ea4290e548fb64736f6c63430008130033"; - -type InternalTokenApprovalConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: InternalTokenApprovalConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class InternalTokenApproval__factory extends ContractFactory { - constructor(...args: InternalTokenApprovalConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): InternalTokenApproval { - return super.attach(address) as InternalTokenApproval; - } - override connect(signer: Signer): InternalTokenApproval__factory { - return super.connect(signer) as InternalTokenApproval__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): InternalTokenApprovalInterface { - return new utils.Interface(_abi) as InternalTokenApprovalInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): InternalTokenApproval { - return new Contract( - address, - _abi, - signerOrProvider - ) as InternalTokenApproval; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/IsGated.sol/IsGated__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/IsGated.sol/IsGated__factory.ts deleted file mode 100644 index 39df8767c..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/IsGated.sol/IsGated__factory.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - IsGated, - IsGatedInterface, -} from "../../../contracts/IsGated.sol/IsGated"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "gatewayToken", - type: "address", - }, - ], - name: "IsGated__InvalidGatewayToken", - type: "error", - }, -] as const; - -const _bytecode = - "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea26469706673582212203a886e22094e5dd593985db6ad4f90f8de0de96d263f4f945affd4489633091c64736f6c63430008090033"; - -type IsGatedConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: IsGatedConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class IsGated__factory extends ContractFactory { - constructor(...args: IsGatedConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): IsGated { - return super.attach(address) as IsGated; - } - override connect(signer: Signer): IsGated__factory { - return super.connect(signer) as IsGated__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): IsGatedInterface { - return new utils.Interface(_abi) as IsGatedInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IsGated { - return new Contract(address, _abi, signerOrProvider) as IsGated; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/IsGated.sol/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/IsGated.sol/index.ts deleted file mode 100644 index 5291ae5e2..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/IsGated.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export { IsGated__factory } from "./IsGated__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/MultiERC2771ContextNonUpgradeable__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/MultiERC2771ContextNonUpgradeable__factory.ts deleted file mode 100644 index c7087cd81..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/MultiERC2771ContextNonUpgradeable__factory.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - MultiERC2771ContextNonUpgradeable, - MultiERC2771ContextNonUpgradeableInterface, -} from "../../contracts/MultiERC2771ContextNonUpgradeable"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "isTrustedForwarder", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class MultiERC2771ContextNonUpgradeable__factory { - static readonly abi = _abi; - static createInterface(): MultiERC2771ContextNonUpgradeableInterface { - return new utils.Interface( - _abi - ) as MultiERC2771ContextNonUpgradeableInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): MultiERC2771ContextNonUpgradeable { - return new Contract( - address, - _abi, - signerOrProvider - ) as MultiERC2771ContextNonUpgradeable; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/StubMultisig__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/StubMultisig__factory.ts deleted file mode 100644 index 0318d97ef..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/StubMultisig__factory.ts +++ /dev/null @@ -1,112 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { - Signer, - utils, - Contract, - ContractFactory, - BigNumberish, - Overrides, -} from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { - StubMultisig, - StubMultisigInterface, -} from "../../contracts/StubMultisig"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "gatewayTokenContract", - type: "address", - }, - { - internalType: "uint256", - name: "gatekeeperNetwork", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "reassignOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506040516101b63803806101b683398101604081905261002f91610058565b600080546001600160a01b0319166001600160a01b039390931692909217909155600155610092565b6000806040838503121561006b57600080fd5b82516001600160a01b038116811461008257600080fd5b6020939093015192949293505050565b610115806100a16000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063c93f9b6314602d575b600080fd5b603c603836600460b1565b603e565b005b60005460015460405163a8fa8e0d60e01b81523060048201526001600160a01b0384811660248301526044820192909252911690819063a8fa8e0d90606401600060405180830381600087803b158015609657600080fd5b505af115801560a9573d6000803e3d6000fd5b505050505050565b60006020828403121560c257600080fd5b81356001600160a01b038116811460d857600080fd5b939250505056fea264697066735822122000820616ffcbecea45ed7596aaee8bbc7ec5462cb610acb6e3f916c5e46cd74f64736f6c63430008090033"; - -type StubMultisigConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StubMultisigConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StubMultisig__factory extends ContractFactory { - constructor(...args: StubMultisigConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ); - } - override attach(address: string): StubMultisig { - return super.attach(address) as StubMultisig; - } - override connect(signer: Signer): StubMultisig__factory { - return super.connect(signer) as StubMultisig__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StubMultisigInterface { - return new utils.Interface(_abi) as StubMultisigInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StubMultisig { - return new Contract(address, _abi, signerOrProvider) as StubMultisig; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/interfaces/IERC721Freezeble__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/interfaces/IERC721Freezeble__factory.ts deleted file mode 100644 index 348ef5642..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/interfaces/IERC721Freezeble__factory.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IERC721Freezeble, - IERC721FreezebleInterface, -} from "../../../contracts/interfaces/IERC721Freezeble"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Freeze", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "Unfreeze", - type: "event", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "freeze", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "tokenId", - type: "uint256", - }, - ], - name: "unfreeze", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IERC721Freezeble__factory { - static readonly abi = _abi; - static createInterface(): IERC721FreezebleInterface { - return new utils.Interface(_abi) as IERC721FreezebleInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC721Freezeble { - return new Contract(address, _abi, signerOrProvider) as IERC721Freezeble; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/library/InternalTokenApproval__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/library/InternalTokenApproval__factory.ts deleted file mode 100644 index 10351862f..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/library/InternalTokenApproval__factory.ts +++ /dev/null @@ -1,96 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - InternalTokenApproval, - InternalTokenApprovalInterface, -} from "../../../contracts/library/InternalTokenApproval"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "gatewayTokenAddress", - type: "address", - }, - { - internalType: "address", - name: "tokenAddress", - type: "address", - }, - { - internalType: "uint256", - name: "tokens", - type: "uint256", - }, - { - internalType: "uint256", - name: "network", - type: "uint256", - }, - ], - name: "setApproval", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b50610101806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063f453600714602d575b600080fd5b60716038366004608e565b336000908152602081815260408083206001600160a01b0397881684528252808320959096168252939093529290912090815560010155565b005b80356001600160a01b0381168114608957600080fd5b919050565b6000806000806080858703121560a357600080fd5b60aa856073565b935060b6602086016073565b9396939550505050604082013591606001359056fea2646970667358221220287bbcb5650a5f150800c5ac6b28b890146b63e8b35bebd5c33698f5b50eb5a764736f6c63430008130033"; - -type InternalTokenApprovalConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: InternalTokenApprovalConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class InternalTokenApproval__factory extends ContractFactory { - constructor(...args: InternalTokenApprovalConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): InternalTokenApproval { - return super.attach(address) as InternalTokenApproval; - } - override connect(signer: Signer): InternalTokenApproval__factory { - return super.connect(signer) as InternalTokenApproval__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): InternalTokenApprovalInterface { - return new utils.Interface(_abi) as InternalTokenApprovalInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): InternalTokenApproval { - return new Contract( - address, - _abi, - signerOrProvider - ) as InternalTokenApproval; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/library/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/library/index.ts deleted file mode 100644 index 16e088a4c..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/contracts/library/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export { InternalTokenApproval__factory } from "./InternalTokenApproval__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/index.ts index e5bec100d..3cb0d9888 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/index.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/index.ts @@ -5,3 +5,4 @@ export * as openzeppelin from "./@openzeppelin"; export * as solvprotocol from "./@solvprotocol"; export * as contracts from "./contracts"; +export * as test from "./test"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/DummyBrokenEthRecipient__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/DummyBrokenEthRecipient__factory.ts index 2035366f8..ada5495f1 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/DummyBrokenEthRecipient__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/DummyBrokenEthRecipient__factory.ts @@ -2,9 +2,14 @@ // @ts-nocheck /* tslint:disable */ /* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; +import type { NonPayableOverrides } from "../../../common"; import type { DummyBrokenEthRecipient, DummyBrokenEthRecipientInterface, @@ -37,36 +42,37 @@ export class DummyBrokenEthRecipient__factory extends ContractFactory { } } - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { + overrides?: NonPayableOverrides & { from?: string } + ): Promise { return super.getDeployTransaction(overrides || {}); } - override attach(address: string): DummyBrokenEthRecipient { - return super.attach(address) as DummyBrokenEthRecipient; + override deploy(overrides?: NonPayableOverrides & { from?: string }) { + return super.deploy(overrides || {}) as Promise< + DummyBrokenEthRecipient & { + deploymentTransaction(): ContractTransactionResponse; + } + >; } - override connect(signer: Signer): DummyBrokenEthRecipient__factory { - return super.connect(signer) as DummyBrokenEthRecipient__factory; + override connect( + runner: ContractRunner | null + ): DummyBrokenEthRecipient__factory { + return super.connect(runner) as DummyBrokenEthRecipient__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): DummyBrokenEthRecipientInterface { - return new utils.Interface(_abi) as DummyBrokenEthRecipientInterface; + return new Interface(_abi) as DummyBrokenEthRecipientInterface; } static connect( address: string, - signerOrProvider: Signer | Provider + runner?: ContractRunner | null ): DummyBrokenEthRecipient { return new Contract( address, _abi, - signerOrProvider - ) as DummyBrokenEthRecipient; + runner + ) as unknown as DummyBrokenEthRecipient; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/ERC2771Test__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/ERC2771Test__factory.ts index 832a83290..04fc03691 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/ERC2771Test__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/ERC2771Test__factory.ts @@ -2,9 +2,19 @@ // @ts-nocheck /* tslint:disable */ /* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { + Signer, + AddressLike, + ContractDeployTransaction, + ContractRunner, +} from "ethers"; +import type { NonPayableOverrides } from "../../../common"; import type { ERC2771Test, ERC2771TestInterface, @@ -129,7 +139,7 @@ const _abi = [ ] as const; const _bytecode = - "0x608060405234801561001057600080fd5b5060405161058f38038061058f83398101604081905261002f916100d1565b8060005b815181101561009757600160008084848151811061005357610053610195565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061008f816101ab565b915050610033565b5050506101d2565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146100cc57600080fd5b919050565b600060208083850312156100e457600080fd5b82516001600160401b03808211156100fb57600080fd5b818501915085601f83011261010f57600080fd5b8151818111156101215761012161009f565b8060051b604051601f19603f830116810181811085821117156101465761014661009f565b60405291825284820192508381018501918883111561016457600080fd5b938501935b828510156101895761017a856100b5565b84529385019392850192610169565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016101cb57634e487b7160e01b600052601160045260246000fd5b5060010190565b6103ae806101e16000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80634d93172d14610067578063572b6c051461007c5780635c41d2fe146100a4578063732403c4146100b75780637a6ce2e1146100ca578063c8e7ca2e146100ea575b600080fd5b61007a6100753660046102af565b6100f2565b005b61008f61008a3660046102af565b61011a565b60405190151581526020015b60405180910390f35b61007a6100b23660046102af565b610138565b61007a6100c53660046102df565b610160565b6100d26101a2565b6040516001600160a01b03909116815260200161009b565b61007a6101f5565b610117816001600160a01b03166000908152602081905260409020805460ff19169055565b50565b6001600160a01b031660009081526020819052604090205460ff1690565b610117816001600160a01b03166000908152602081905260409020805460ff19166001179055565b7fb7555489d68d7992c7b1a74fb60c1d5affc6c5cc407edaddcf435089a1a6b8a7610189610236565b6040516101979291906102f8565b60405180910390a150565b60007f7bf2655c5b27bca5462f1f973c316c9537b2da6083e494b623f3313ad847ec086101cd610280565b6040516001600160a01b03909116815260200160405180910390a16101f0610280565b905090565b7fb7555489d68d7992c7b1a74fb60c1d5affc6c5cc407edaddcf435089a1a6b8a761021e610236565b60405161022c9291906102f8565b60405180910390a1565b3660006102423361011a565b801561024f575060143610155b156102785760008036610263601482610327565b926102709392919061034e565b915091509091565b600036610270565b600061028b3361011a565b8015610298575060143610155b156102aa575060131936013560601c90565b503390565b6000602082840312156102c157600080fd5b81356001600160a01b03811681146102d857600080fd5b9392505050565b6000602082840312156102f157600080fd5b5035919050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b8181038181111561034857634e487b7160e01b600052601160045260246000fd5b92915050565b6000808585111561035e57600080fd5b8386111561036b57600080fd5b505082019391909203915056fea26469706673582212204c9bb9cb5d9e5e5431c54351ca1f9289865733dbfc7233806a96870b2bbe6ced64736f6c63430008130033"; + "0x608060405234801561001057600080fd5b5060405161058f38038061058f83398101604081905261002f916100d1565b8060005b815181101561009757600160008084848151811061005357610053610195565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061008f816101ab565b915050610033565b5050506101d2565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146100cc57600080fd5b919050565b600060208083850312156100e457600080fd5b82516001600160401b03808211156100fb57600080fd5b818501915085601f83011261010f57600080fd5b8151818111156101215761012161009f565b8060051b604051601f19603f830116810181811085821117156101465761014661009f565b60405291825284820192508381018501918883111561016457600080fd5b938501935b828510156101895761017a856100b5565b84529385019392850192610169565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016101cb57634e487b7160e01b600052601160045260246000fd5b5060010190565b6103ae806101e16000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80634d93172d14610067578063572b6c051461007c5780635c41d2fe146100a4578063732403c4146100b75780637a6ce2e1146100ca578063c8e7ca2e146100ea575b600080fd5b61007a6100753660046102af565b6100f2565b005b61008f61008a3660046102af565b61011a565b60405190151581526020015b60405180910390f35b61007a6100b23660046102af565b610138565b61007a6100c53660046102df565b610160565b6100d26101a2565b6040516001600160a01b03909116815260200161009b565b61007a6101f5565b610117816001600160a01b03166000908152602081905260409020805460ff19169055565b50565b6001600160a01b031660009081526020819052604090205460ff1690565b610117816001600160a01b03166000908152602081905260409020805460ff19166001179055565b7fb7555489d68d7992c7b1a74fb60c1d5affc6c5cc407edaddcf435089a1a6b8a7610189610236565b6040516101979291906102f8565b60405180910390a150565b60007f7bf2655c5b27bca5462f1f973c316c9537b2da6083e494b623f3313ad847ec086101cd610280565b6040516001600160a01b03909116815260200160405180910390a16101f0610280565b905090565b7fb7555489d68d7992c7b1a74fb60c1d5affc6c5cc407edaddcf435089a1a6b8a761021e610236565b60405161022c9291906102f8565b60405180910390a1565b3660006102423361011a565b801561024f575060143610155b156102785760008036610263601482610327565b926102709392919061034e565b915091509091565b600036610270565b600061028b3361011a565b8015610298575060143610155b156102aa575060131936013560601c90565b503390565b6000602082840312156102c157600080fd5b81356001600160a01b03811681146102d857600080fd5b9392505050565b6000602082840312156102f157600080fd5b5035919050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b8181038181111561034857634e487b7160e01b600052601160045260246000fd5b92915050565b6000808585111561035e57600080fd5b8386111561036b57600080fd5b505082019391909203915056fea26469706673582212202552f23b4049f34056ceab22829bc890e4fd5df3585fb8d1a3c7068e96d04a9a64736f6c63430008130033"; type ERC2771TestConstructorParams = | [signer?: Signer] @@ -148,34 +158,32 @@ export class ERC2771Test__factory extends ContractFactory { } } - override deploy( - forwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(forwarders, overrides || {}) as Promise; - } override getDeployTransaction( - forwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { + forwarders: AddressLike[], + overrides?: NonPayableOverrides & { from?: string } + ): Promise { return super.getDeployTransaction(forwarders, overrides || {}); } - override attach(address: string): ERC2771Test { - return super.attach(address) as ERC2771Test; + override deploy( + forwarders: AddressLike[], + overrides?: NonPayableOverrides & { from?: string } + ) { + return super.deploy(forwarders, overrides || {}) as Promise< + ERC2771Test & { + deploymentTransaction(): ContractTransactionResponse; + } + >; } - override connect(signer: Signer): ERC2771Test__factory { - return super.connect(signer) as ERC2771Test__factory; + override connect(runner: ContractRunner | null): ERC2771Test__factory { + return super.connect(runner) as ERC2771Test__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): ERC2771TestInterface { - return new utils.Interface(_abi) as ERC2771TestInterface; + return new Interface(_abi) as ERC2771TestInterface; } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ERC2771Test { - return new Contract(address, _abi, signerOrProvider) as ERC2771Test; + static connect(address: string, runner?: ContractRunner | null): ERC2771Test { + return new Contract(address, _abi, runner) as unknown as ERC2771Test; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenClientERC2771Test__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenClientERC2771Test__factory.ts deleted file mode 100644 index 280744646..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenClientERC2771Test__factory.ts +++ /dev/null @@ -1,146 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { - Signer, - utils, - Contract, - ContractFactory, - BigNumberish, - Overrides, -} from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - GatewayTokenClientERC2771Test, - GatewayTokenClientERC2771TestInterface, -} from "../../../../test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenClientERC2771Test"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "gatewayTokenContract", - type: "address", - }, - { - internalType: "uint256", - name: "gatekeeperNetwork", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "gatewayToken", - type: "address", - }, - ], - name: "IsGated__InvalidGatewayToken", - type: "error", - }, - { - anonymous: false, - inputs: [], - name: "Success", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "isTrustedForwarder", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "testGated", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060405161037a38038061037a83398101604081905261002f916100d7565b6040805160008082526020820190925283918391905b81518110156100a957600160008084848151811061006557610065610111565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806100a181610127565b915050610045565b5050600180546001600160a01b0319166001600160a01b0393909316929092179091556002555061014e9050565b600080604083850312156100ea57600080fd5b82516001600160a01b038116811461010157600080fd5b6020939093015192949293505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161014757634e487b7160e01b600052601160045260246000fd5b5060010190565b61021d8061015d6000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063572b6c051461003b578063968f76bd1461007b575b600080fd5b610067610049366004610195565b6001600160a01b031660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b610083610085565b005b6001546001600160a01b03168063ff17e23261009f61016b565b6002546040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381865afa1580156100eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010f91906101c5565b61013f576001546040516355ec9bfb60e11b81526001600160a01b03909116600482015260240160405180910390fd5b6040517f395a9ab3d1230297d931e1fa224ca597ca0e45f620c1aeb74b512bfcc6f66aab90600090a150565b3360009081526020819052604081205460ff1615610190575060131936013560601c90565b503390565b6000602082840312156101a757600080fd5b81356001600160a01b03811681146101be57600080fd5b9392505050565b6000602082840312156101d757600080fd5b815180151581146101be57600080fdfea2646970667358221220d8e9a71aa53c1318884c0b506edb7adb2afa65ff4b73485287d8d9f5658c386964736f6c63430008130033"; - -type GatewayTokenClientERC2771TestConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayTokenClientERC2771TestConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayTokenClientERC2771Test__factory extends ContractFactory { - constructor(...args: GatewayTokenClientERC2771TestConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ); - } - override attach(address: string): GatewayTokenClientERC2771Test { - return super.attach(address) as GatewayTokenClientERC2771Test; - } - override connect(signer: Signer): GatewayTokenClientERC2771Test__factory { - return super.connect(signer) as GatewayTokenClientERC2771Test__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayTokenClientERC2771TestInterface { - return new utils.Interface(_abi) as GatewayTokenClientERC2771TestInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GatewayTokenClientERC2771Test { - return new Contract( - address, - _abi, - signerOrProvider - ) as GatewayTokenClientERC2771Test; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenERC2771ClientTest__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenERC2771ClientTest__factory.ts deleted file mode 100644 index 32586e396..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenERC2771ClientTest__factory.ts +++ /dev/null @@ -1,159 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { - Signer, - utils, - Contract, - ContractFactory, - BigNumberish, - Overrides, -} from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - GatewayTokenERC2771ClientTest, - GatewayTokenERC2771ClientTestInterface, -} from "../../../../test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenERC2771ClientTest"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "gatewayTokenContract", - type: "address", - }, - { - internalType: "uint256", - name: "gatekeeperNetwork", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "gatewayToken", - type: "address", - }, - ], - name: "IsGated__InvalidGatewayToken", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [], - name: "Success", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "isTrustedForwarder", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "testGated", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506040516102cd3803806102cd83398101604081905261002f91610058565b603480546001600160a01b0319166001600160a01b039390931692909217909155603555610092565b6000806040838503121561006b57600080fd5b82516001600160a01b038116811461008257600080fd5b6020939093015192949293505050565b61022c806100a16000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063572b6c051461003b578063968f76bd1461007b575b600080fd5b6100676100493660046101a4565b6001600160a01b031660009081526033602052604090205460ff1690565b604051901515815260200160405180910390f35b610083610085565b005b6034546001600160a01b03168063ff17e23261009f61017a565b6035546040516001600160e01b031960e085901b1681526001600160a01b039092166004830152602482015260440160206040518083038186803b1580156100e657600080fd5b505afa1580156100fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061011e91906101d4565b61014e576034546040516355ec9bfb60e11b81526001600160a01b03909116600482015260240160405180910390fd5b6040517f395a9ab3d1230297d931e1fa224ca597ca0e45f620c1aeb74b512bfcc6f66aab90600090a150565b3360009081526033602052604081205460ff161561019f575060131936013560601c90565b503390565b6000602082840312156101b657600080fd5b81356001600160a01b03811681146101cd57600080fd5b9392505050565b6000602082840312156101e657600080fd5b815180151581146101cd57600080fdfea2646970667358221220f93d6dcff93e5dd934b5c0af40cbb211f8e680362bedc0c49856d5f063d5877564736f6c63430008090033"; - -type GatewayTokenERC2771ClientTestConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayTokenERC2771ClientTestConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayTokenERC2771ClientTest__factory extends ContractFactory { - constructor(...args: GatewayTokenERC2771ClientTestConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ); - } - override attach(address: string): GatewayTokenERC2771ClientTest { - return super.attach(address) as GatewayTokenERC2771ClientTest; - } - override connect(signer: Signer): GatewayTokenERC2771ClientTest__factory { - return super.connect(signer) as GatewayTokenERC2771ClientTest__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayTokenERC2771ClientTestInterface { - return new utils.Interface(_abi) as GatewayTokenERC2771ClientTestInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GatewayTokenERC2771ClientTest { - return new Contract( - address, - _abi, - signerOrProvider - ) as GatewayTokenERC2771ClientTest; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/index.ts deleted file mode 100644 index 5d48b4292..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2711Test.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export { GatewayTokenClientERC2771Test__factory } from "./GatewayTokenClientERC2771Test__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771Test__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771Test__factory.ts index 2b8387361..e9287e492 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771Test__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771Test__factory.ts @@ -3,15 +3,19 @@ /* tslint:disable */ /* eslint-disable */ import { - Signer, - utils, Contract, ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { + Signer, BigNumberish, - Overrides, + AddressLike, + ContractDeployTransaction, + ContractRunner, } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; +import type { NonPayableOverrides } from "../../../common"; import type { GatewayTokenClientERC2771Test, GatewayTokenClientERC2771TestInterface, @@ -85,7 +89,7 @@ const _abi = [ ] as const; const _bytecode = - "0x60c060405234801561001057600080fd5b5060405161040e38038061040e83398101604081905261002f916100eb565b6040805160008082526020820190925283918391905b81518110156100a957600160008084848151811061006557610065610125565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806100a18161013b565b915050610045565b50506001600160a01b0382166100d25760405163ccac40d160e01b815260040160405180910390fd5b6001600160a01b0390911660805260a052506101629050565b600080604083850312156100fe57600080fd5b82516001600160a01b038116811461011557600080fd5b6020939093015192949293505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161015b57634e487b7160e01b600052601160045260246000fd5b5060010190565b60805160a05161028261018c600039600060e30152600081816087015261016601526102826000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063572b6c051461003b578063968f76bd1461007b575b600080fd5b6100676100493660046101fa565b6001600160a01b031660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b610083610085565b005b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03811663ff17e2326100bd6101c3565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604401602060405180830381865afa158015610127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014b919061022a565b610197576040516355ec9bfb60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600482015260240160405180910390fd5b6040517f395a9ab3d1230297d931e1fa224ca597ca0e45f620c1aeb74b512bfcc6f66aab90600090a150565b3360009081526020819052604081205460ff1680156101e3575060143610155b156101f5575060131936013560601c90565b503390565b60006020828403121561020c57600080fd5b81356001600160a01b038116811461022357600080fd5b9392505050565b60006020828403121561023c57600080fd5b8151801515811461022357600080fdfea26469706673582212207ce686eeefa59a8800326212dcb709fbf046a86718a8c5aa2fac6a97aed4584b64736f6c63430008130033"; + "0x60c060405234801561001057600080fd5b5060405161040e38038061040e83398101604081905261002f916100eb565b6040805160008082526020820190925283918391905b81518110156100a957600160008084848151811061006557610065610125565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806100a18161013b565b915050610045565b50506001600160a01b0382166100d25760405163ccac40d160e01b815260040160405180910390fd5b6001600160a01b0390911660805260a052506101629050565b600080604083850312156100fe57600080fd5b82516001600160a01b038116811461011557600080fd5b6020939093015192949293505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161015b57634e487b7160e01b600052601160045260246000fd5b5060010190565b60805160a05161028261018c600039600060e30152600081816087015261016601526102826000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063572b6c051461003b578063968f76bd1461007b575b600080fd5b6100676100493660046101fa565b6001600160a01b031660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b610083610085565b005b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03811663ff17e2326100bd6101c3565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604401602060405180830381865afa158015610127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014b919061022a565b610197576040516355ec9bfb60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600482015260240160405180910390fd5b6040517f395a9ab3d1230297d931e1fa224ca597ca0e45f620c1aeb74b512bfcc6f66aab90600090a150565b3360009081526020819052604081205460ff1680156101e3575060143610155b156101f5575060131936013560601c90565b503390565b60006020828403121561020c57600080fd5b81356001600160a01b038116811461022357600080fd5b9392505050565b60006020828403121561023c57600080fd5b8151801515811461022357600080fdfea2646970667358221220c70d1654be245d2a677d595127352191d9908cbecdd2120f042a408560c37f1564736f6c63430008130033"; type GatewayTokenClientERC2771TestConstructorParams = | [signer?: Signer] @@ -104,48 +108,51 @@ export class GatewayTokenClientERC2771Test__factory extends ContractFactory { } } - override deploy( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ) as Promise; - } override getDeployTransaction( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { + gatewayTokenContract: AddressLike, + gatekeeperNetwork: BigNumberish, + overrides?: NonPayableOverrides & { from?: string } + ): Promise { return super.getDeployTransaction( gatewayTokenContract, gatekeeperNetwork, overrides || {} ); } - override attach(address: string): GatewayTokenClientERC2771Test { - return super.attach(address) as GatewayTokenClientERC2771Test; + override deploy( + gatewayTokenContract: AddressLike, + gatekeeperNetwork: BigNumberish, + overrides?: NonPayableOverrides & { from?: string } + ) { + return super.deploy( + gatewayTokenContract, + gatekeeperNetwork, + overrides || {} + ) as Promise< + GatewayTokenClientERC2771Test & { + deploymentTransaction(): ContractTransactionResponse; + } + >; } - override connect(signer: Signer): GatewayTokenClientERC2771Test__factory { - return super.connect(signer) as GatewayTokenClientERC2771Test__factory; + override connect( + runner: ContractRunner | null + ): GatewayTokenClientERC2771Test__factory { + return super.connect(runner) as GatewayTokenClientERC2771Test__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): GatewayTokenClientERC2771TestInterface { - return new utils.Interface(_abi) as GatewayTokenClientERC2771TestInterface; + return new Interface(_abi) as GatewayTokenClientERC2771TestInterface; } static connect( address: string, - signerOrProvider: Signer | Provider + runner?: ContractRunner | null ): GatewayTokenClientERC2771Test { return new Contract( address, _abi, - signerOrProvider - ) as GatewayTokenClientERC2771Test; + runner + ) as unknown as GatewayTokenClientERC2771Test; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771Test__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771Test__factory.ts deleted file mode 100644 index aad0ae11f..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771Test__factory.ts +++ /dev/null @@ -1,149 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - GatewayTokenClientERC2771Test, - GatewayTokenClientERC2771TestInterface, -} from "../../../../test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771Test"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "gatewayToken", - type: "address", - }, - ], - name: "IsGated__InvalidGatewayToken", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [], - name: "Success", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "gatewayTokenContract", - type: "address", - }, - { - internalType: "uint256", - name: "gatekeeperNetwork", - type: "uint256", - }, - { - internalType: "address[]", - name: "trustedForwarders", - type: "address[]", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "isTrustedForwarder", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "testGated", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506105d0806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063572b6c05146100465780636d91457a14610086578063968f76bd1461009b575b600080fd5b610072610054366004610444565b6001600160a01b031660009081526033602052604090205460ff1690565b604051901515815260200160405180910390f35b610099610094366004610466565b6100a3565b005b6100996101c1565b600054610100900460ff16158080156100c35750600054600160ff909116105b806100dd5750303b1580156100dd575060005460ff166001145b6101455760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff191660011790558015610168576000805461ff0019166101001790555b610174858585856102a3565b80156101ba576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b6034546001600160a01b03168063ff17e2326101db6102fa565b6035546040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381865afa158015610227573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024b91906104f0565b610277576034546040516355ec9bfb60e11b81526001600160a01b03909116600482015260240161013c565b6040517f395a9ab3d1230297d931e1fa224ca597ca0e45f620c1aeb74b512bfcc6f66aab90600090a150565b600054610100900460ff166102ca5760405162461bcd60e51b815260040161013c90610512565b603480546001600160a01b0319166001600160a01b03861617905560358390556102f48282610324565b50505050565b3360009081526033602052604081205460ff161561031f575060131936013560601c90565b503390565b600054610100900460ff1661034b5760405162461bcd60e51b815260040161013c90610512565b610353610361565b61035d828261038a565b5050565b600054610100900460ff166103885760405162461bcd60e51b815260040161013c90610512565b565b600054610100900460ff166103b15760405162461bcd60e51b815260040161013c90610512565b60005b81811015610423576001603360008585858181106103d4576103d461055d565b90506020020160208101906103e99190610444565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061041b81610573565b9150506103b4565b505050565b80356001600160a01b038116811461043f57600080fd5b919050565b60006020828403121561045657600080fd5b61045f82610428565b9392505050565b6000806000806060858703121561047c57600080fd5b61048585610428565b935060208501359250604085013567ffffffffffffffff808211156104a957600080fd5b818701915087601f8301126104bd57600080fd5b8135818111156104cc57600080fd5b8860208260051b85010111156104e157600080fd5b95989497505060200194505050565b60006020828403121561050257600080fd5b8151801515811461045f57600080fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006001820161059357634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212200066dcb440a294cbaa47eff84459a826cc54037cf9879828564a3459b2e29c6964736f6c63430008130033"; - -type GatewayTokenClientERC2771TestConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayTokenClientERC2771TestConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayTokenClientERC2771Test__factory extends ContractFactory { - constructor(...args: GatewayTokenClientERC2771TestConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - overrides || {} - ) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): GatewayTokenClientERC2771Test { - return super.attach(address) as GatewayTokenClientERC2771Test; - } - override connect(signer: Signer): GatewayTokenClientERC2771Test__factory { - return super.connect(signer) as GatewayTokenClientERC2771Test__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayTokenClientERC2771TestInterface { - return new utils.Interface(_abi) as GatewayTokenClientERC2771TestInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GatewayTokenClientERC2771Test { - return new Contract( - address, - _abi, - signerOrProvider - ) as GatewayTokenClientERC2771Test; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771UpgradeableTest__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771UpgradeableTest__factory.ts deleted file mode 100644 index 0feaf315d..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771UpgradeableTest__factory.ts +++ /dev/null @@ -1,157 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - GatewayTokenClientERC2771UpgradeableTest, - GatewayTokenClientERC2771UpgradeableTestInterface, -} from "../../../../test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771UpgradeableTest"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "gatewayToken", - type: "address", - }, - ], - name: "IsGated__InvalidGatewayToken", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [], - name: "Success", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "gatewayTokenContract", - type: "address", - }, - { - internalType: "uint256", - name: "gatekeeperNetwork", - type: "uint256", - }, - { - internalType: "address[]", - name: "trustedForwarders", - type: "address[]", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "forwarder", - type: "address", - }, - ], - name: "isTrustedForwarder", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "testGated", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506105d0806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063572b6c05146100465780636d91457a14610086578063968f76bd1461009b575b600080fd5b610072610054366004610444565b6001600160a01b031660009081526033602052604090205460ff1690565b604051901515815260200160405180910390f35b610099610094366004610466565b6100a3565b005b6100996101c1565b600054610100900460ff16158080156100c35750600054600160ff909116105b806100dd5750303b1580156100dd575060005460ff166001145b6101455760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff191660011790558015610168576000805461ff0019166101001790555b610174858585856102a3565b80156101ba576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b6034546001600160a01b03168063ff17e2326101db6102fa565b6035546040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381865afa158015610227573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024b91906104f0565b610277576034546040516355ec9bfb60e11b81526001600160a01b03909116600482015260240161013c565b6040517f395a9ab3d1230297d931e1fa224ca597ca0e45f620c1aeb74b512bfcc6f66aab90600090a150565b600054610100900460ff166102ca5760405162461bcd60e51b815260040161013c90610512565b603480546001600160a01b0319166001600160a01b03861617905560358390556102f48282610324565b50505050565b3360009081526033602052604081205460ff161561031f575060131936013560601c90565b503390565b600054610100900460ff1661034b5760405162461bcd60e51b815260040161013c90610512565b610353610361565b61035d828261038a565b5050565b600054610100900460ff166103885760405162461bcd60e51b815260040161013c90610512565b565b600054610100900460ff166103b15760405162461bcd60e51b815260040161013c90610512565b60005b81811015610423576001603360008585858181106103d4576103d461055d565b90506020020160208101906103e99190610444565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061041b81610573565b9150506103b4565b505050565b80356001600160a01b038116811461043f57600080fd5b919050565b60006020828403121561045657600080fd5b61045f82610428565b9392505050565b6000806000806060858703121561047c57600080fd5b61048585610428565b935060208501359250604085013567ffffffffffffffff808211156104a957600080fd5b818701915087601f8301126104bd57600080fd5b8135818111156104cc57600080fd5b8860208260051b85010111156104e157600080fd5b95989497505060200194505050565b60006020828403121561050257600080fd5b8151801515811461045f57600080fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006001820161059357634e487b7160e01b600052601160045260246000fd5b506001019056fea264697066735822122086a14d93e93987a0accd2c85df72a6b352331ee0b56988bc2ad21a51fb12fec064736f6c63430008130033"; - -type GatewayTokenClientERC2771UpgradeableTestConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayTokenClientERC2771UpgradeableTestConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayTokenClientERC2771UpgradeableTest__factory extends ContractFactory { - constructor( - ...args: GatewayTokenClientERC2771UpgradeableTestConstructorParams - ) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - overrides || {} - ) as Promise; - } - override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): GatewayTokenClientERC2771UpgradeableTest { - return super.attach(address) as GatewayTokenClientERC2771UpgradeableTest; - } - override connect( - signer: Signer - ): GatewayTokenClientERC2771UpgradeableTest__factory { - return super.connect( - signer - ) as GatewayTokenClientERC2771UpgradeableTest__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayTokenClientERC2771UpgradeableTestInterface { - return new utils.Interface( - _abi - ) as GatewayTokenClientERC2771UpgradeableTestInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GatewayTokenClientERC2771UpgradeableTest { - return new Contract( - address, - _abi, - signerOrProvider - ) as GatewayTokenClientERC2771UpgradeableTest; - } -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/index.ts deleted file mode 100644 index ea5291aef..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export { GatewayTokenClientERC2771Test__factory } from "./GatewayTokenClientERC2771Test__factory"; -export { GatewayTokenClientERC2771UpgradeableTest__factory } from "./GatewayTokenClientERC2771UpgradeableTest__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientTest__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientTest__factory.ts index 3fbfe9f36..f6e55eab8 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientTest__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenClientTest__factory.ts @@ -3,15 +3,19 @@ /* tslint:disable */ /* eslint-disable */ import { - Signer, - utils, Contract, ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { + Signer, BigNumberish, - Overrides, + AddressLike, + ContractDeployTransaction, + ContractRunner, } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; +import type { NonPayableOverrides } from "../../../common"; import type { GatewayTokenClientTest, GatewayTokenClientTestInterface, @@ -85,48 +89,51 @@ export class GatewayTokenClientTest__factory extends ContractFactory { } } - override deploy( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ) as Promise; - } override getDeployTransaction( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { + gatewayTokenContract: AddressLike, + gatekeeperNetwork: BigNumberish, + overrides?: NonPayableOverrides & { from?: string } + ): Promise { return super.getDeployTransaction( gatewayTokenContract, gatekeeperNetwork, overrides || {} ); } - override attach(address: string): GatewayTokenClientTest { - return super.attach(address) as GatewayTokenClientTest; + override deploy( + gatewayTokenContract: AddressLike, + gatekeeperNetwork: BigNumberish, + overrides?: NonPayableOverrides & { from?: string } + ) { + return super.deploy( + gatewayTokenContract, + gatekeeperNetwork, + overrides || {} + ) as Promise< + GatewayTokenClientTest & { + deploymentTransaction(): ContractTransactionResponse; + } + >; } - override connect(signer: Signer): GatewayTokenClientTest__factory { - return super.connect(signer) as GatewayTokenClientTest__factory; + override connect( + runner: ContractRunner | null + ): GatewayTokenClientTest__factory { + return super.connect(runner) as GatewayTokenClientTest__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): GatewayTokenClientTestInterface { - return new utils.Interface(_abi) as GatewayTokenClientTestInterface; + return new Interface(_abi) as GatewayTokenClientTestInterface; } static connect( address: string, - signerOrProvider: Signer | Provider + runner?: ContractRunner | null ): GatewayTokenClientTest { return new Contract( address, _abi, - signerOrProvider - ) as GatewayTokenClientTest; + runner + ) as unknown as GatewayTokenClientTest; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenInternalsTest__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenInternalsTest__factory.ts index 26274ddee..7f06636b2 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenInternalsTest__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenInternalsTest__factory.ts @@ -2,9 +2,14 @@ // @ts-nocheck /* tslint:disable */ /* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; +import type { NonPayableOverrides } from "../../../common"; import type { GatewayTokenInternalsTest, GatewayTokenInternalsTestInterface, @@ -2351,7 +2356,7 @@ const _abi = [ ] as const; const _bytecode = - "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e8565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e6576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051615f3362000120600039600081816116d90152818161171901528181611888015281816118c801526119fb0152615f336000f3fe6080604052600436106104735760003560e01c8063805618a11161024a578063b86b1a5411610139578063df2a7fe1116100b6578063e8a3d4851161007a578063e8a3d48514610d8f578063e985e9c514610da4578063f415999014610df1578063ff17e23214610e1e578063ff85a97514610e3e57600080fd5b8063df2a7fe114610cc5578063df7f453b14610ce5578063e345e0bc14610d1e578063e4b50cb814610d3e578063e71fb11014610d6f57600080fd5b8063c58dbbed116100fd578063c58dbbed14610c30578063c87b56dd14610c50578063ce6da01a14610c70578063d6fd317514610c83578063d7a78db814610ca557600080fd5b8063b86b1a5414610ba8578063b88d4fde14610bbd578063babb898d14610bd0578063bfea1f9714610bf0578063c2a366fb14610c1057600080fd5b806395ea5717116101c7578063a22cb4651161018b578063a22cb46514610af8578063a578c09314610b18578063a8fa8e0d14610b48578063b4bd857914610b68578063b5d6163514610b8857600080fd5b806395ea571714610a635780639c7525e614610a835780639cc7f70814610aa3578063a05b775f14610ac3578063a217fddf14610ae357600080fd5b80638423df791161020e5780638423df79146109ec5780638cb0a51114610a005780638eb7a77614610a0e57806390eddd5214610a2e57806395d89b4114610a4e57600080fd5b8063805618a11461094a57806381e9ff191461096a57806382d66d5f1461098c57806383b2b276146109ac578063840f7113146109cc57600080fd5b80633659cfe611610366578063572b6c05116102e35780636f7caf41116102a75780636f7caf41146108b357806370a08231146108d557806370f08160146108f55780637a6ce2e1146109155780637dbded281461092a57600080fd5b8063572b6c05146108135780635c41d2fe146108335780636352211e146108535780636623fc46146108735780636dba27291461089357600080fd5b80634d93172d1161032a5780634d93172d1461078b5780634f1ef286146107ab5780634f6ccce7146107be57806351da912d146107de57806352d1902d146107fe57600080fd5b80633659cfe6146106f657806336e45041146107165780633e7e86691461073657806342842e0e1461075857806342966c681461076b57600080fd5b806323287f24116103f45780632f745c59116103b85780632f745c591461064d578063310ed7f01461066d57806334d7a95e1461068057806334e37b8a146106b65780633568dd29146106d657600080fd5b806323287f24146105c757806323b872dd146105da578063263f3e7e146105ed578063281b1edb1461060d5780632d33d27a1461062d57600080fd5b80630f485c021161043b5780630f485c0214610531578063157000521461055257806318160ddd146105725780631c69e8671461058757806320c5429b146105a757600080fd5b806301ffc9a71461047857806306fdde03146104ad578063081812fc146104cf578063095ea7b3146104fc57806309c3dd8714610511575b600080fd5b34801561048457600080fd5b50610498610493366004614e87565b610e5e565b60405190151581526020015b60405180910390f35b3480156104b957600080fd5b506104c2610ebf565b6040516104a49190614ef4565b3480156104db57600080fd5b506104ef6104ea366004614f07565b610f51565b6040516104a49190614f20565b61050f61050a366004614f4b565b610fa3565b005b34801561051d57600080fd5b506104c261052c366004614f07565b610fbc565b61054461053f366004614f75565b6110ae565b6040519081526020016104a4565b34801561055e57600080fd5b5061050f61056d366004614faa565b6110ed565b34801561057e57600080fd5b50609d54610544565b34801561059357600080fd5b5061050f6105a236600461500d565b61114d565b3480156105b357600080fd5b5061050f6105c2366004614f07565b611448565b61050f6105d5366004615122565b61149c565b61050f6105e8366004615174565b611523565b3480156105f957600080fd5b50610544610608366004614f07565b611560565b34801561061957600080fd5b5061050f610628366004614faa565b6115a8565b34801561063957600080fd5b5060cc546104ef906001600160a01b031681565b34801561065957600080fd5b50610544610668366004614f4b565b6115bc565b61050f61067b3660046151a0565b61165d565b34801561068c57600080fd5b506104ef61069b366004614f07565b600090815260d260205260409020546001600160a01b031690565b3480156106c257600080fd5b5061050f6106d1366004614faa565b61167a565b3480156106e257600080fd5b5061050f6106f1366004614f4b565b6116b2565b34801561070257600080fd5b5061050f610711366004614faa565b6116cf565b34801561072257600080fd5b5061050f6107313660046151cc565b611794565b34801561074257600080fd5b50609a5460405160ff90911681526020016104a4565b61050f610766366004615174565b6117ea565b34801561077757600080fd5b5061050f610786366004614f07565b611805565b34801561079757600080fd5b5061050f6107a6366004614faa565b61181a565b61050f6107b93660046152c4565b61187e565b3480156107ca57600080fd5b506105446107d9366004614f07565b611933565b3480156107ea57600080fd5b5061050f6107f9366004615311565b6119c4565b34801561080a57600080fd5b506105446119ee565b34801561081f57600080fd5b5061049861082e366004614faa565b611a9c565b34801561083f57600080fd5b5061050f61084e366004614faa565b611aba565b34801561085f57600080fd5b506104ef61086e366004614f07565b611b21565b34801561087f57600080fd5b5061050f61088e366004614f07565b611b91565b34801561089f57600080fd5b506104986108ae366004614f4b565b611ba6565b3480156108bf57600080fd5b50610544600080516020615e9783398151915281565b3480156108e157600080fd5b506105446108f0366004614faa565b611bc1565b34801561090157600080fd5b5061050f610910366004614f4b565b611c49565b34801561092157600080fd5b5061050f611c62565b34801561093657600080fd5b5061050f610945366004615341565b611ca2565b34801561095657600080fd5b5061050f610965366004614f07565b611eb3565b34801561097657600080fd5b50610544600080516020615e1783398151915281565b34801561099857600080fd5b5061050f6109a7366004614f4b565b611ef5565b3480156109b857600080fd5b5061050f6109c7366004615311565b611f0e565b3480156109d857600080fd5b5060a0546104ef906001600160a01b031681565b3480156109f857600080fd5b506001610498565b61050f61050a366004614f75565b348015610a1a57600080fd5b5061050f610a293660046151cc565b611f38565b348015610a3a57600080fd5b5061050f610a49366004614f4b565b611f58565b348015610a5a57600080fd5b506104c2611f71565b348015610a6f57600080fd5b506104c2610a7e366004614f07565b611f80565b348015610a8f57600080fd5b5061050f610a9e3660046153a4565b612022565b348015610aaf57600080fd5b50610544610abe366004614f07565b6120f4565b348015610acf57600080fd5b50610544610ade366004614f07565b61213c565b348015610aef57600080fd5b50610544600081565b348015610b0457600080fd5b5061050f610b133660046153ef565b61215a565b348015610b2457600080fd5b50610498610b33366004614f07565b60ce6020526000908152604090205460ff1681565b348015610b5457600080fd5b5061050f610b63366004615174565b61216c565b348015610b7457600080fd5b50610544610b83366004614f07565b6122f5565b348015610b9457600080fd5b5061050f610ba33660046151cc565b612309565b348015610bb457600080fd5b5061050f612329565b61050f610bcb366004615426565b612364565b348015610bdc57600080fd5b50610498610beb3660046151cc565b612397565b348015610bfc57600080fd5b50610498610c0b36600461548d565b6123c8565b348015610c1c57600080fd5b50610498610c2b366004614f4b565b6123fb565b348015610c3c57600080fd5b5061050f610c4b366004614faa565b612416565b348015610c5c57600080fd5b506104c2610c6b366004614f07565b6124ac565b61050f610c7e3660046154b6565b61254b565b348015610c8f57600080fd5b50610544600080516020615e3783398151915281565b348015610cb157600080fd5b5061050f610cc0366004614f07565b612578565b348015610cd157600080fd5b50610544610ce0366004615311565b61258d565b348015610cf157600080fd5b50610498610d00366004614faa565b6001600160a01b0316600090815260cb602052604090205460ff1690565b348015610d2a57600080fd5b50610544610d393660046154e3565b6125ac565b348015610d4a57600080fd5b50610d5e610d59366004614f07565b6125e0565b6040516104a495949392919061550f565b348015610d7b57600080fd5b5061050f610d8a366004614faa565b612640565b348015610d9b57600080fd5b506104c2612651565b348015610db057600080fd5b50610498610dbf366004615550565b6001600160a01b039182166000908152609f602090815260408083209390941682526002909201909152205460ff1690565b348015610dfd57600080fd5b50610e11610e0c36600461557a565b61274b565b6040516104a491906155ba565b348015610e2a57600080fd5b50610498610e39366004614f4b565b612804565b348015610e4a57600080fd5b50610498610e59366004614f07565b61281e565b60006001600160e01b03198216630354d60560e61b1480610e8f57506001600160e01b031982166380ac58cd60e01b145b80610eaa57506001600160e01b031982166370b0048160e11b145b80610eb95750610eb98261282b565b92915050565b606060988054610ece906155fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610efa906155fe565b8015610f475780601f10610f1c57610100808354040283529160200191610f47565b820191906000526020600020905b815481529060010190602001808311610f2a57829003601f168201915b5050505050905090565b6000610f5c82612860565b6000828152609e6020526040902054609d80549091908110610f8057610f80615632565b60009182526020909120600460069092020101546001600160a01b031692915050565b60405163c03a3ff560e01b815260040160405180910390fd5b60606000610fd560408051602081019091526000815290565b60a0549091506001600160a01b031661103557600081511161100657604051806020016040528060008152506110a7565b8061101084612885565b604051602001611021929190615648565b6040516020818303038152906040526110a7565b60a054604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b600060405180830381865afa15801561107f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110a79190810190615688565b9392505050565b60006110c26110bb612917565b8584612926565b6110cb846129a1565b90506110e283826110db87611560565b60006129ab565b6110a7848284612ad5565b6110f5612db4565b6040516001600160a01b038216907f286f82d2b1e37b5e9f33e455d014b4a5f6c29388e6e41e1281d4c83e04f4265590600090a26001600160a01b0316600090815260cb60205260409020805460ff19166001179055565b600054610100900460ff161580801561116d5750600054600160ff909116105b8061118e575061117c30612dc6565b15801561118e575060005460ff166001145b6111f65760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff191660011790558015611219576000805461ff0019166101001790555b6001600160a01b03861661124057604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03851661126757604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03841661128e57604051630ca2c90160e21b815260040160405180910390fd5b60005b828110156112fb5760008484838181106112ad576112ad615632565b90506020020160208101906112c29190614faa565b6001600160a01b0316036112e957604051630ca2c90160e21b815260040160405180910390fd5b806112f38161570b565b915050611291565b5061136f8a8a8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8e018190048102820181019092528c815292508c91508b908190840183828082843760009201829052509250612dd5915050565b6113798383612e07565b61138285612e40565b61138b84612e8a565b6001600160a01b038616600090815260cb602052604090819020805460ff19166001179055517fe985d3de7118f12afc4791760312703563be41d60407308ef7b5771d0c58383f906113ee908c908c908c908c908c908c908c908c908c9061574d565b60405180910390a1801561143c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050505050565b61145961145482611560565b612ed4565b600081815260cf6020526040808220805460ff191660021790555182917fdb43aa42235c8d63908794a952603e8d43a549383d13123c3d893a3fc2e6249591a250565b6114a584612ed4565b60006114b386866001612eec565b905083156114cd57600081815260d0602052604090208490555b82156114dd576114dd8184612f04565b6114e5612917565b600082815260d26020526040902080546001600160a01b0319166001600160a01b039290921691909117905561151b8286612f53565b505050505050565b61153461152e612917565b50600090565b6115505760405162461bcd60e51b81526004016111ed906157f7565b61155b838383612fee565b505050565b600061156b82612860565b6000828152609e6020526040902054609d8054909190811061158f5761158f615632565b9060005260206000209060060201600101549050919050565b6115b0612db4565b6115b981612e8a565b50565b60006115c783611bc1565b82106116205760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016111ed565b6001600160a01b0383166000908152609f6020526040902080548390811061164a5761164a615632565b9060005260206000200154905092915050565b61166f611668612917565b8483612926565b61155b838383612ad5565b611682612db4565b6001600160a01b0381166116a957604051630ca2c90160e21b815260040160405180910390fd5b6115b981612e40565b6116cb600080516020615e378339815191528284611f38565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036117175760405162461bcd60e51b81526004016111ed90615849565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661174961313d565b6001600160a01b03161461176f5760405162461bcd60e51b81526004016111ed90615895565b61177881613159565b604080516000808252602082019092526115b991839190613161565b61179c612917565b6001600160a01b0316816001600160a01b0316146117df576040516307ca099360e31b8152600481018490526001600160a01b03821660248201526044016111ed565b61155b8383836132cc565b61155b83838360405180602001604052806000815250612364565b61181161145482611560565b6115b981613368565b611822612db4565b611847816001600160a01b03166000908152609760205260409020805460ff19169055565b6040516001600160a01b038216907fb96d15bf9258c7b8df062753a6a262864611fc7b060a5ee2e57e79b85f898d3890600090a250565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036118c65760405162461bcd60e51b81526004016111ed90615849565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166118f861313d565b6001600160a01b03161461191e5760405162461bcd60e51b81526004016111ed90615895565b61192782613159565b6116cb82826001613161565b600061193e609d5490565b82106119985760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016111ed565b609d82815481106119ab576119ab615632565b9060005260206000209060060201600001549050919050565b6119e4600080516020615e378339815191526119df84611560565b613465565b6116cb8282612f04565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611a895760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016111ed565b50600080516020615e7783398151915290565b6001600160a01b031660009081526097602052604090205460ff1690565b611ac2612db4565b611aea816001600160a01b03166000908152609760205260409020805460ff19166001179055565b6040516001600160a01b038216907f0ea0ce2c048ff45a4a95f2947879de3fb94abec2f152190400cab2d1272a68e790600090a250565b6000611b2c82612860565b6000828152609e6020526040902054609d80549091908110611b5057611b50615632565b60009182526020909120600360069092020101546001600160a01b0316905080611b8c5760405162461bcd60e51b81526004016111ed906158e1565b919050565b611b9d61145482611560565b6115b981613477565b60006110a7600080516020615e378339815191528385612397565b60006001600160a01b038216611c2d5760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016111ed565b506001600160a01b03166000908152609f602052604090205490565b6116cb600080516020615e378339815191528284612309565b7f7bf2655c5b27bca5462f1f973c316c9537b2da6083e494b623f3313ad847ec08611c8b612917565b604051611c989190614f20565b60405180910390a1565b6000839003611cc45760405163eb8abb6160e01b815260040160405180910390fd5b600085815260d1602052604090208054611cdd906155fe565b159050611d0057604051636f55f62b60e01b8152600481018690526024016111ed565b600085815260d160205260409020611d1984868361596f565b508115611e3e57600085815260ce60205260409020805460ff19168315151790556001600160a01b038116611d6157604051630ca2c90160e21b815260040160405180910390fd5b611d73816001600160a01b0316612dc6565b611d92578060405163d4daafa160e01b81526004016111ed9190614f20565b611dab600080516020615e17833981519152868361351e565b611dc4600080516020615e97833981519152868361351e565b611deb600080516020615e9783398151915286600080516020615e178339815191526135af565b611e12600080516020615e3783398151915286600080516020615e178339815191526135af565b611e39600080516020615e1783398151915286600080516020615e178339815191526135af565b611eac565b611e5e600080516020615e9783398151915286611e59612917565b61351e565b611e85600080516020615e9783398151915286600080516020615e978339815191526135af565b611eac600080516020615e3783398151915286600080516020615e978339815191526135af565b5050505050565b7fb7555489d68d7992c7b1a74fb60c1d5affc6c5cc407edaddcf435089a1a6b8a7611edc61361a565b604051611eea929190615a28565b60405180910390a150565b6116cb600080516020615e978339815191528284611f38565b611f26600080516020615e9783398151915283613465565b600091825260d3602052604090912055565b611f42838361258d565b82611f4d8282613465565b611eac8585856132cc565b6116cb600080516020615e978339815191528284612309565b606060998054610ece906155fe565b600081815260d160205260409020805460609190611f9d906155fe565b80601f0160208091040260200160405190810160405280929190818152602001828054611fc9906155fe565b80156120165780601f10611feb57610100808354040283529160200191612016565b820191906000526020600020905b815481529060010190602001808311611ff957829003601f168201915b50505050509050919050565b60008190036120445760405163eb8abb6160e01b815260040160405180910390fd5b600083815260d160205260409020805461205d906155fe565b905060000361208257604051630817886d60e41b8152600481018490526024016111ed565b61209d600080516020615e9783398151915284610beb612917565b6120d5576120a9612917565b83600080516020615e9783398151915260405163c8c801a760e01b81526004016111ed93929190615a3c565b600083815260d1602052604090206120ee82848361596f565b50505050565b60006120ff82612860565b6000828152609e6020526040902054609d8054909190811061212357612123615632565b9060005260206000209060060201600201549050919050565b60006121478261362d565b50600090815260d0602052604090205490565b6116cb612165612917565b8383613656565b600081815260ce602052604090205460ff1661219e5760405163db53ce7160e01b8152600481018290526024016111ed565b6121b7600080516020615e178339815191528285613729565b6001600160a01b0382166121de57604051630ca2c90160e21b815260040160405180910390fd5b6121f0826001600160a01b0316612dc6565b61220f578160405163d4daafa160e01b81526004016111ed9190614f20565b612228600080516020615e178339815191528284612309565b612241600080516020615e978339815191528284612309565b61225a600080516020615e378339815191528284612309565b612273600080516020615e378339815191528285611f38565b61228c600080516020615e978339815191528285611f38565b6122a5600080516020615e178339815191528285611f38565b604080516001600160a01b038086168252841660208201529081018290527f744258a28673e8738e2812c0ab8e8dbd70352f8871b1febac0dd753d96d79f589060600160405180910390a1505050565b600081815260cd6020526040812054610eb9565b612313838361258d565b8261231e8282613465565b611eac85858561351e565b612339612334612917565b613159565b6040517f196e5e7c3b25979d0bf02b0f686399eb501ef6085673d009cf76369bdc11363890600090a1565b61236f61152e612917565b61238b5760405162461bcd60e51b81526004016111ed906157f7565b6120ee84848484613757565b600091825260ca602090815260408084209484529381528383206001600160a01b0392909216835252205460ff1690565b60006110a78280156123dc576123dc6157e1565b600085815260d3602052604090205490600160ff919091161b16151590565b60006110a7600080516020615e978339815191528385612397565b61241e612db4565b612426612917565b6001600160a01b0316816001600160a01b03160361245757604051634a19f28160e01b815260040160405180910390fd5b6040516001600160a01b038216907ffb445f6ec07647d2bb7af72821e6b8b7303ec375e934d4a338d38ed5846c2d5690600090a26001600160a01b0316600090815260cb60205260409020805460ff19169055565b60606124b782612860565b60006124ce60408051602081019091526000815290565b60a0549091506001600160a01b031661251a5760008151116124ff57604051806020016040528060008152506110a7565b8061250984612885565b604051602001611021929190615a5d565b60a0546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401611062565b600061255684611560565b905061256461145485611560565b61256e84846137ca565b6120ee8282612f53565b61258461145482611560565b6115b981613826565b600090815260ca60209081526040808320938352929052206001015490565b60006125b783612860565b506000918252609c602090815260408084206001600160a01b0393909316845291905290205490565b60008060606000806125f186611b21565b600087815260cf602052604090205490955060ff166002811115612617576126176157e1565b600096875260d0602090815260408089205460cd90925290972054959790969395939450915050565b612648612db4565b6115b981613874565b6060600061266a60408051602081019091526000815290565b60a0549091506001600160a01b03166126ca57600081511161269b5760405180602001604052806000815250612745565b806126a5306138be565b6040516020016126b6929190615a8c565b604051602081830303815290604052612745565b60a060009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561271d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127459190810190615688565b91505090565b606060008061275b8686866138d4565b915091506000816001600160401b0381111561277957612779615201565b6040519080825280602002602001820160405280156127a2578160200160208202803683370190505b50905060005b828110156127f9578381815181106127c2576127c2615632565b60200260200101518282815181106127dc576127dc615632565b6020908102919091010152806127f18161570b565b9150506127a8565b509695505050505050565b600080612813848460016138d4565b151595945050505050565b6000610eb98260006139ba565b60006001600160e01b031982166333cb74f560e11b1480610eb957506301ffc9a760e01b6001600160e01b0319831614610eb9565b61286981613ace565b6115b95760405162461bcd60e51b81526004016111ed906158e1565b6060600061289283613b1a565b60010190506000816001600160401b038111156128b1576128b1615201565b6040519080825280601f01601f1916602001820160405280156128db576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846128e557509392505050565b6000612921613bf2565b905090565b600061293283856125ac565b905060001981146120ee578181101561298d5760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e63650060448201526064016111ed565b6120ee838561299c8585615ad0565b613c21565b6000610eb9613d50565b6001600160a01b038416612a0b5760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016111ed565b82600003612a655760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b60648201526084016111ed565b612a6e83613ace565b15612abb5760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e74656400000060448201526064016111ed565b612ac6848484613d67565b612ad08382613e1b565b6120ee565b612ade83613ace565b612b3a5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b60648201526084016111ed565b612b4382613ace565b612b9d5760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b60648201526084016111ed565b6000838152609e6020526040812054609d80549091908110612bc157612bc1615632565b906000526020600020906006020190506000609d609e60008681526020019081526020016000205481548110612bf957612bf9615632565b906000526020600020906006020190508282600201541015612c705760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016111ed565b8060010154826001015414612cde5760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b60648201526084016111ed565b82826002016000828254612cf29190615ad0565b9250508190555082816002016000828254612d0d9190615ae3565b909155505060405183815284908690600080516020615e578339815191529060200160405180910390a3612d5285858560405180602001604052806000815250613e8e565b611eac5760405162461bcd60e51b815260206004820152602d60248201527f455243333532353a207472616e736665722072656a656374656420627920455260448201526c21999a991aa932b1b2b4bb32b960991b60648201526084016111ed565b612dc4612dbf612917565b613fd1565b565b6001600160a01b03163b151590565b600054610100900460ff16612dfc5760405162461bcd60e51b81526004016111ed90615af6565b61155b83838361400c565b600054610100900460ff16612e2e5760405162461bcd60e51b81526004016111ed90615af6565b612e36614065565b6116cb828261408c565b60cc80546001600160a01b0319166001600160a01b0383169081179091556040517f5e4a30f4224898dbac86adca855a5edd3b8341a3aeb2b6ff0f0b5a82c013b65a90600090a250565b60d480546001600160a01b0319166001600160a01b0383169081179091556040517f6369e6a29b73ae27c65aa2678758ea2de84ebfbe9e00a08275110e78647286de90600090a250565b6115b9600080516020615e3783398151915282613465565b6000612ef6613d50565b90506110a7848285856129ab565b600082815260cd602090815260409182902083905581518481529081018390527f5e07998cef9cea674942c66f0ea7b0bce89ab9473ce240cc93d616c3491f8aeb910160405180910390a15050565b60d45460405163a2793ecd60e01b81526001600160a01b039091169063a2793ecd903490612f879086908690600401615b5f565b6000604051808303818588803b158015612fa057600080fd5b505af193505050508015612fb2575060015b6116cb573d808015612fe0576040519150601f19603f3d011682016040523d82523d6000602084013e612fe5565b606091505b50805181602001fd5b826001600160a01b031661300182611b21565b6001600160a01b0316146130635760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b60648201526084016111ed565b6001600160a01b0382166130c75760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016111ed565b60006130d282611560565b905060006130df836120f4565b90506130ec600084614125565b6130f5836141bc565b6130ff8584614267565b6131098484614388565b82846001600160a01b0316866001600160a01b0316600080516020615ede83398151915260405160405180910390a4611eac565b600080516020615e77833981519152546001600160a01b031690565b6115b9612db4565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156131945761155b83614411565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156131ee575060408051601f3d908101601f191682019092526131eb91810190615bd8565b60015b6132515760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016111ed565b600080516020615e7783398151915281146132c05760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016111ed565b5061155b8383836144ab565b6132d7838383612397565b1561155b57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff19169055613316612917565b6001600160a01b0316816001600160a01b0316847f6f9148fcdc32766ca802c14716295d56eab7ed848d0dba113966f40087c883908560405161335b91815260200190565b60405180910390a4505050565b61337181612860565b6000818152609e6020526040812054609d8054909190811061339557613395615632565b60009182526020909120600691909102016003810154600182015460028301549293506001600160a01b03909116916133cd856141bc565b6133d78386614267565b6133e0856144d0565b600085600080516020615e578339815191528360405161340291815260200190565b60405180910390a3600082867fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a460405185906000906001600160a01b03861690600080516020615ede833981519152908390a4611eac565b6116cb8282613472612917565b613729565b6134808161362d565b6001600082815260cf602052604090205460ff1660028111156134a5576134a56157e1565b146134de57600081815260cf6020526040908190205490516308c9ef2d60e11b81526111ed91839160ff90911690600190600401615bf1565b600081815260cf6020526040808220805460ff191690555182917fe2babfd5e77285a3c3dbc4b25592cbe4a7a26e97a7ac63067a22ebdaa9b82add91a250565b613529838383612397565b61155b57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff1916600117905561356a612917565b6001600160a01b0316816001600160a01b0316847f4dc88bd74ca601684356789d5b3dbc9cd44275b2544e8d35041203703b7682328560405161335b91815260200190565b60006135bb848461258d565b600084815260ca6020908152604080832088845282529182902060010185905590518581529192508391839187917f15f4a36186b2284157fe71215a07487f6c8bdc1203b3307c3e1fd9693011d3d3910160405180910390a450505050565b3660006136256146de565b915091509091565b61363681613ace565b6115b9576040516321fbdd2b60e11b8152600481018290526024016111ed565b816001600160a01b0316836001600160a01b0316036136b75760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c657200000000000060448201526064016111ed565b6001600160a01b038381166000818152609f602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b613734838383612397565b61155b5780828460405163c8c801a760e01b81526004016111ed93929190615a3c565b613762848484612fee565b61376e84848484614720565b6120ee5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b60648201526084016111ed565b6137d5826001614877565b600082815260d06020526040908190208290555182907f1ebc57da8b3ebab98506502fbb73232ea29fbe86e4963a5a8c004810ad11190d9061381a9084815260200190565b60405180910390a25050565b613831816001614877565b600081815260cf6020526040808220805460ff191660011790555182917f779fbee689bbd6f006ecb329206d35c7db7380f9837a8826fb8dc5cfcd3d33dd91a250565b60a080546001600160a01b0319166001600160a01b0383169081179091556040517f5252f52e45fc8ee6a7b43cef3645d23e9a470a34182b8b3a12627556635bfc9c90600090a250565b6060610eb96001600160a01b03831660146148a9565b60606000806138e286611bc1565b90506000816001600160401b038111156138fe576138fe615201565b604051908082528060200260200182016040528015613927578160200160208202803683370190505b5090506000805b838110156139ac5760006139428a836115bc565b90508861394e82611560565b148015613969575087158061396957506139698160006139ba565b156139995780848461397a8161570b565b95508151811061398c5761398c615632565b6020026020010181815250505b50806139a48161570b565b91505061392e565b509097909650945050505050565b600082815260cf602052604081205460ff16818160028111156139df576139df6157e1565b146139ee576000915050610eb9565b60006139f985611560565b9050613a068160006123c8565b15613a5b57600085815260d260205260409020546001600160a01b03168015801590613a485750613a46600080516020615e378339815191528383612397565b155b15613a595760009350505050610eb9565b505b6000613a6686611b21565b600087815260d0602052604090205490915015801590613a84575084155b15613ab9576001600160a01b03811615801590613aaf5750600086815260d060205260409020544211155b9350505050610eb9565b6001600160a01b031615159250610eb9915050565b609d5460009015801590610eb957506000828152609e6020526040902054609d80548492908110613b0157613b01615632565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310613b595772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613b85576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613ba357662386f26fc10000830492506010015b6305f5e1008310613bbb576305f5e100830492506008015b6127108310613bcf57612710830492506004015b60648310613be1576064830492506002015b600a8310610eb95760010192915050565b6000613bfd33611a9c565b8015613c0a575060143610155b15613c1c575060131936013560601c90565b503390565b6001600160a01b038216613c8a5760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b60648201526084016111ed565b613c948284614a44565b613cfa576000838152609e6020526040902054609d80549091908110613cbc57613cbc615632565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b6000838152609c602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b910161371c565b6000613d60609b80546001019055565b50609b5490565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a08201529050613db581614b17565b613dbf8484614388565b60405183906001600160a01b03861690600090600080516020615ede833981519152908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b6000828152609e6020526040902054609d80548392908110613e3f57613e3f615632565b90600052602060002090600602016002016000828254613e5f9190615ae3565b90915550506040518181528290600090600080516020615e578339815191529060200160405180910390a35050565b600080613e9a85611b21565b9050613eae816001600160a01b0316612dc6565b8015613f2357506040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa158015613eff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f239190615c1e565b15613fc3576000816001600160a01b0316629ce20b613f40612917565b898989896040518663ffffffff1660e01b8152600401613f64959493929190615c3b565b6020604051808303816000875af1158015613f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fa79190615c79565b6001600160e01b031916629ce20b60e01b149250613fc9915050565b60019150505b949350505050565b6001600160a01b038116600090815260cb602052604090205460ff166115b95780604051632957ccdd60e21b81526004016111ed9190614f20565b600054610100900460ff166140335760405162461bcd60e51b81526004016111ed90615af6565b609861403f8482615c96565b50609961404c8382615c96565b50609a805460ff191660ff929092169190911790555050565b600054610100900460ff16612dc45760405162461bcd60e51b81526004016111ed90615af6565b600054610100900460ff166140b35760405162461bcd60e51b81526004016111ed90615af6565b60005b8181101561155b576001609760008585858181106140d6576140d6615632565b90506020020160208101906140eb9190614faa565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061411d8161570b565b9150506140b6565b6000818152609e6020526040902054609d8054849290811061414957614149615632565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b039283161790558190831661418382611b21565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609e6020526040812054609d805490919081106141e0576141e0615632565b600091825260208220600560069092020190810154909250905b8181101561425857600083600501828154811061421957614219615632565b6000918252602080832090910154878352609c825260408084206001600160a01b039092168452915281205550806142508161570b565b9150506141fa565b5061155b600583016000614dd9565b6000818152609e6020526040812054609d8054909190811061428b5761428b615632565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b039485161790559184168152609f9091526040812080549091906142da90600190615ad0565b905060008260000182815481106142f3576142f3615632565b9060005260206000200154905060008360010160008681526020019081526020016000205490508184600001828154811061433057614330615632565b6000918252602080832090910192909255838152600186019091526040808220839055868252812055835484908061436a5761436a615d4f565b60019003818190600052602060002001600090559055505050505050565b6000818152609e6020526040902054609d805484929081106143ac576143ac615632565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152609f80845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b61441a81612dc6565b61447c5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016111ed565b600080516020615e7783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6144b483614c69565b6000825111806144c15750805b1561155b576120ee8383614ca9565b609d546000906144e290600190615ad0565b6000838152609e6020526040812054609d805493945090928490811061450a5761450a615632565b60009182526020918290206040805160c08101825260069093029091018054835260018101548385015260028101548383015260038101546001600160a01b03908116606085015260048201541660808401526005810180548351818702810187019094528084529394919360a0860193928301828280156145b557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311614597575b505050505081525050905080609d83815481106145d4576145d4615632565b600091825260209182902083516006909202019081558282015160018201556040830151600282015560608301516003820180546001600160a01b039283166001600160a01b031991821617909155608085015160048401805491909316911617905560a08301518051919261465292600585019290910190614df7565b505081516000908152609e602052604080822085905586825281205550609d80548061468057614680615d4f565b60008281526020812060066000199093019283020181815560018101829055600281018290556003810180546001600160a01b03199081169091556004820180549091169055906146d46005830182614dd9565b5050905550505050565b3660006146ea33611a9c565b80156146f7575060143610155b15614718576000803661470b601482615ad0565b9261362593929190615d65565b600036613625565b6000614734846001600160a01b0316612dc6565b1561486f57836001600160a01b031663150b7a02614750612917565b8786866040518563ffffffff1660e01b81526004016147729493929190615d8f565b6020604051808303816000875af19250505080156147ad575060408051601f3d908101601f191682019092526147aa91810190615c79565b60015b614855573d8080156147db576040519150601f19603f3d011682016040523d82523d6000602084013e6147e0565b606091505b50805160000361484d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016111ed565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613fc9565b506001613fc9565b61488182826139ba565b6116cb576040516316af84a960e21b81526004810183905281151560248201526044016111ed565b606060006148b8836002615dcc565b6148c3906002615ae3565b6001600160401b038111156148da576148da615201565b6040519080825280601f01601f191660200182016040528015614904576020820181803683370190505b509050600360fc1b8160008151811061491f5761491f615632565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061494e5761494e615632565b60200101906001600160f81b031916908160001a9053506000614972846002615dcc565b61497d906001615ae3565b90505b60018111156149f5576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106149b1576149b1615632565b1a60f81b8282815181106149c7576149c7615632565b60200101906001600160f81b031916908160001a90535060049490941c936149ee81615de3565b9050614980565b5083156110a75760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016111ed565b6000818152609e6020526040812054609d80548392908110614a6857614a68615632565b6000918252602082206005600690920201015491505b81811015614b0c576000848152609e6020526040902054609d80546001600160a01b03881692908110614ab357614ab3615632565b90600052602060002090600602016005018281548110614ad557614ad5615632565b6000918252602090912001546001600160a01b031603614afa57600192505050610eb9565b80614b048161570b565b915050614a7e565b506000949350505050565b609d805482516000908152609e6020908152604080832084905560018401855593909152835160069092027fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7b8101928355818501517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7c820155928401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7d84015560608401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7e840180546001600160a01b039283166001600160a01b03199182161790915560808601517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7f8601805491909316911617905560a0840151805185946120ee937fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf80909101920190614df7565b614c7281614411565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060614cb483612dc6565b614d0f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016111ed565b600080846001600160a01b031684604051614d2a9190615dfa565b600060405180830381855af49150503d8060008114614d65576040519150601f19603f3d011682016040523d82523d6000602084013e614d6a565b606091505b5091509150614d928282604051806060016040528060278152602001615eb760279139614d9b565b95945050505050565b60608315614daa5750816110a7565b6110a78383815115614dbf5781518083602001fd5b8060405162461bcd60e51b81526004016111ed9190614ef4565b50805460008255906000526020600020908101906115b99190614e5c565b828054828255906000526020600020908101928215614e4c579160200282015b82811115614e4c57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614e17565b50614e58929150614e5c565b5090565b5b80821115614e585760008155600101614e5d565b6001600160e01b0319811681146115b957600080fd5b600060208284031215614e9957600080fd5b81356110a781614e71565b60005b83811015614ebf578181015183820152602001614ea7565b50506000910152565b60008151808452614ee0816020860160208601614ea4565b601f01601f19169290920160200192915050565b6020815260006110a76020830184614ec8565b600060208284031215614f1957600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114611b8c57600080fd5b60008060408385031215614f5e57600080fd5b614f6783614f34565b946020939093013593505050565b600080600060608486031215614f8a57600080fd5b83359250614f9a60208501614f34565b9150604084013590509250925092565b600060208284031215614fbc57600080fd5b6110a782614f34565b60008083601f840112614fd757600080fd5b5081356001600160401b03811115614fee57600080fd5b60208301915083602082850101111561500657600080fd5b9250929050565b600080600080600080600080600060c08a8c03121561502b57600080fd5b89356001600160401b038082111561504257600080fd5b61504e8d838e01614fc5565b909b50995060208c013591508082111561506757600080fd5b6150738d838e01614fc5565b909950975087915061508760408d01614f34565b965061509560608d01614f34565b95506150a360808d01614f34565b945060a08c01359150808211156150b957600080fd5b818c0191508c601f8301126150cd57600080fd5b8135818111156150dc57600080fd5b8d60208260051b85010111156150f157600080fd5b6020830194508093505050509295985092959850929598565b600060a0828403121561511c57600080fd5b50919050565b6000806000806000610120868803121561513b57600080fd5b61514486614f34565b9450602086013593506040860135925060608601359150615168876080880161510a565b90509295509295909350565b60008060006060848603121561518957600080fd5b61519284614f34565b9250614f9a60208501614f34565b6000806000606084860312156151b557600080fd5b505081359360208301359350604090920135919050565b6000806000606084860312156151e157600080fd5b83359250602084013591506151f860408501614f34565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561523f5761523f615201565b604052919050565b60006001600160401b0382111561526057615260615201565b50601f01601f191660200190565b600082601f83011261527f57600080fd5b813561529261528d82615247565b615217565b8181528460208386010111156152a757600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156152d757600080fd5b6152e083614f34565b915060208301356001600160401b038111156152fb57600080fd5b6153078582860161526e565b9150509250929050565b6000806040838503121561532457600080fd5b50508035926020909101359150565b80151581146115b957600080fd5b60008060008060006080868803121561535957600080fd5b8535945060208601356001600160401b0381111561537657600080fd5b61538288828901614fc5565b909550935050604086013561539681615333565b915061516860608701614f34565b6000806000604084860312156153b957600080fd5b8335925060208401356001600160401b038111156153d657600080fd5b6153e286828701614fc5565b9497909650939450505050565b6000806040838503121561540257600080fd5b61540b83614f34565b9150602083013561541b81615333565b809150509250929050565b6000806000806080858703121561543c57600080fd5b61544585614f34565b935061545360208601614f34565b92506040850135915060608501356001600160401b0381111561547557600080fd5b6154818782880161526e565b91505092959194509250565b600080604083850312156154a057600080fd5b8235915060208301356001811061541b57600080fd5b600080600060e084860312156154cb57600080fd5b83359250602084013591506151f8856040860161510a565b600080604083850312156154f657600080fd5b8235915061550660208401614f34565b90509250929050565b6001600160a01b038616815260ff8516602082015260a06040820181905260009061553c90830186614ec8565b606083019490945250608001529392505050565b6000806040838503121561556357600080fd5b61556c83614f34565b915061550660208401614f34565b60008060006060848603121561558f57600080fd5b61559884614f34565b92506020840135915060408401356155af81615333565b809150509250925092565b6020808252825182820181905260009190848201906040850190845b818110156155f2578351835292840192918401916001016155d6565b50909695505050505050565b600181811c9082168061561257607f821691505b60208210810361511c57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000835161565a818460208801614ea4565b64736c6f742f60d81b908301908152835161567c816005840160208801614ea4565b01600501949350505050565b60006020828403121561569a57600080fd5b81516001600160401b038111156156b057600080fd5b8201601f810184136156c157600080fd5b80516156cf61528d82615247565b8181528560208385010111156156e457600080fd5b614d92826020830160208601614ea4565b634e487b7160e01b600052601160045260246000fd5b60006001820161571d5761571d6156f5565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60c08152600061576160c083018b8d615724565b602083820381850152615775828b8d615724565b6001600160a01b038a811660408701528981166060870152888116608087015285820360a087015286825287935090820160005b878110156157ce57826157bb86614f34565b16825293830193908301906001016157a9565b509e9d5050505050505050505050505050565b634e487b7160e01b600052602160045260246000fd5b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b602080825260199082015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604082015260600190565b601f82111561155b57600081815260208120601f850160051c8101602086101561593b5750805b601f850160051c820191505b8181101561151b57828155600101615947565b600019600383901b1c191660019190911b1790565b6001600160401b0383111561598657615986615201565b61599a8361599483546155fe565b83615914565b6000601f8411600181146159c857600085156159b65750838201355b6159c0868261595a565b845550611eac565b600083815260209020601f19861690835b828110156159f957868501358255602094850194600190920191016159d9565b5086821015615a165760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b602081526000613fc9602083018486615724565b6001600160a01b039390931683526020830191909152604082015260600190565b60008351615a6f818460208801614ea4565b835190830190615a83818360208801614ea4565b01949350505050565b60008351615a9e818460208801614ea4565b68636f6e74726163742f60b81b9083019081528351615ac4816009840160208801614ea4565b01600901949350505050565b81810381811115610eb957610eb96156f5565b80820180821115610eb957610eb96156f5565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600381106115b957634e487b7160e01b600052602160045260246000fd5b8235815260c08101602084013560038110615b7957600080fd5b615b8281615b41565b6020830152615b9360408501614f34565b6001600160a01b03818116604085015280615bb060608801614f34565b16606085015280615bc360808801614f34565b16608085015250508260a08301529392505050565b600060208284031215615bea57600080fd5b5051919050565b83815260608101615c0184615b41565b836020830152615c1083615b41565b826040830152949350505050565b600060208284031215615c3057600080fd5b81516110a781615333565b60018060a01b038616815284602082015283604082015282606082015260a060808201526000615c6e60a0830184614ec8565b979650505050505050565b600060208284031215615c8b57600080fd5b81516110a781614e71565b81516001600160401b03811115615caf57615caf615201565b615cc381615cbd84546155fe565b84615914565b602080601f831160018114615cf25760008415615ce05750858301515b615cea858261595a565b86555061151b565b600085815260208120601f198616915b82811015615d2157888601518255948401946001909101908401615d02565b5085821015615d3f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603160045260246000fd5b60008085851115615d7557600080fd5b83861115615d8257600080fd5b5050820193919092039150565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090615dc290830184614ec8565b9695505050505050565b8082028115828204841417610eb957610eb96156f5565b600081615df257615df26156f5565b506000190190565b60008251615e0c818460208701614ea4565b919091019291505056fefca69b310bd19d275687ebe00b254b0772cf7a367c3f81a9a5a433f831fdc1dc3c63e605be3290ab6b04cfc46c6e1516e626d43236b034f09d7ede1d017beb0c0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc6360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc449b0a7e0acc0a95c71947cb19fdd122b42abca9bdfbd6707ca4f1e3fdaef05e416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220ceb047173561dd48b0996d82184b0fb2a581eeefce3b0ce3b7cab60f21339b7264736f6c63430008130033"; + "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e7565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811614620000e5576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051615f6c6200011f600039600081816116d90152818161171901528181611888015281816118c801526119fb0152615f6c6000f3fe6080604052600436106104735760003560e01c8063805618a11161024a578063b86b1a5411610139578063df2a7fe1116100b6578063e8a3d4851161007a578063e8a3d48514610d8f578063e985e9c514610da4578063f415999014610df1578063ff17e23214610e1e578063ff85a97514610e3e57600080fd5b8063df2a7fe114610cc5578063df7f453b14610ce5578063e345e0bc14610d1e578063e4b50cb814610d3e578063e71fb11014610d6f57600080fd5b8063c58dbbed116100fd578063c58dbbed14610c30578063c87b56dd14610c50578063ce6da01a14610c70578063d6fd317514610c83578063d7a78db814610ca557600080fd5b8063b86b1a5414610ba8578063b88d4fde14610bbd578063babb898d14610bd0578063bfea1f9714610bf0578063c2a366fb14610c1057600080fd5b806395ea5717116101c7578063a22cb4651161018b578063a22cb46514610af8578063a578c09314610b18578063a8fa8e0d14610b48578063b4bd857914610b68578063b5d6163514610b8857600080fd5b806395ea571714610a635780639c7525e614610a835780639cc7f70814610aa3578063a05b775f14610ac3578063a217fddf14610ae357600080fd5b80638423df791161020e5780638423df79146109ec5780638cb0a51114610a005780638eb7a77614610a0e57806390eddd5214610a2e57806395d89b4114610a4e57600080fd5b8063805618a11461094a57806381e9ff191461096a57806382d66d5f1461098c57806383b2b276146109ac578063840f7113146109cc57600080fd5b80633659cfe611610366578063572b6c05116102e35780636f7caf41116102a75780636f7caf41146108b357806370a08231146108d557806370f08160146108f55780637a6ce2e1146109155780637dbded281461092a57600080fd5b8063572b6c05146108135780635c41d2fe146108335780636352211e146108535780636623fc46146108735780636dba27291461089357600080fd5b80634d93172d1161032a5780634d93172d1461078b5780634f1ef286146107ab5780634f6ccce7146107be57806351da912d146107de57806352d1902d146107fe57600080fd5b80633659cfe6146106f657806336e45041146107165780633e7e86691461073657806342842e0e1461075857806342966c681461076b57600080fd5b806323287f24116103f45780632f745c59116103b85780632f745c591461064d578063310ed7f01461066d57806334d7a95e1461068057806334e37b8a146106b65780633568dd29146106d657600080fd5b806323287f24146105c757806323b872dd146105da578063263f3e7e146105ed578063281b1edb1461060d5780632d33d27a1461062d57600080fd5b80630f485c021161043b5780630f485c0214610531578063157000521461055257806318160ddd146105725780631c69e8671461058757806320c5429b146105a757600080fd5b806301ffc9a71461047857806306fdde03146104ad578063081812fc146104cf578063095ea7b3146104fc57806309c3dd8714610511575b600080fd5b34801561048457600080fd5b50610498610493366004614ec1565b610e5e565b60405190151581526020015b60405180910390f35b3480156104b957600080fd5b506104c2610ebf565b6040516104a49190614f2e565b3480156104db57600080fd5b506104ef6104ea366004614f41565b610f51565b6040516104a49190614f5a565b61050f61050a366004614f85565b610fa3565b005b34801561051d57600080fd5b506104c261052c366004614f41565b610fbc565b61054461053f366004614faf565b6110ae565b6040519081526020016104a4565b34801561055e57600080fd5b5061050f61056d366004614fe4565b6110ed565b34801561057e57600080fd5b50609d54610544565b34801561059357600080fd5b5061050f6105a2366004615047565b61114d565b3480156105b357600080fd5b5061050f6105c2366004614f41565b611448565b61050f6105d536600461515c565b61149c565b61050f6105e83660046151ae565b611523565b3480156105f957600080fd5b50610544610608366004614f41565b611560565b34801561061957600080fd5b5061050f610628366004614fe4565b6115a8565b34801561063957600080fd5b5060cc546104ef906001600160a01b031681565b34801561065957600080fd5b50610544610668366004614f85565b6115bc565b61050f61067b3660046151da565b61165d565b34801561068c57600080fd5b506104ef61069b366004614f41565b600090815260d260205260409020546001600160a01b031690565b3480156106c257600080fd5b5061050f6106d1366004614fe4565b61167a565b3480156106e257600080fd5b5061050f6106f1366004614f85565b6116b2565b34801561070257600080fd5b5061050f610711366004614fe4565b6116cf565b34801561072257600080fd5b5061050f610731366004615206565b611794565b34801561074257600080fd5b50609a5460405160ff90911681526020016104a4565b61050f6107663660046151ae565b6117ea565b34801561077757600080fd5b5061050f610786366004614f41565b611805565b34801561079757600080fd5b5061050f6107a6366004614fe4565b61181a565b61050f6107b93660046152fe565b61187e565b3480156107ca57600080fd5b506105446107d9366004614f41565b611933565b3480156107ea57600080fd5b5061050f6107f936600461534b565b6119c4565b34801561080a57600080fd5b506105446119ee565b34801561081f57600080fd5b5061049861082e366004614fe4565b611a9c565b34801561083f57600080fd5b5061050f61084e366004614fe4565b611aba565b34801561085f57600080fd5b506104ef61086e366004614f41565b611b21565b34801561087f57600080fd5b5061050f61088e366004614f41565b611b91565b34801561089f57600080fd5b506104986108ae366004614f85565b611ba6565b3480156108bf57600080fd5b50610544600080516020615ed083398151915281565b3480156108e157600080fd5b506105446108f0366004614fe4565b611bc1565b34801561090157600080fd5b5061050f610910366004614f85565b611c49565b34801561092157600080fd5b5061050f611c62565b34801561093657600080fd5b5061050f61094536600461537b565b611ca2565b34801561095657600080fd5b5061050f610965366004614f41565b611eb3565b34801561097657600080fd5b50610544600080516020615e5083398151915281565b34801561099857600080fd5b5061050f6109a7366004614f85565b611ef5565b3480156109b857600080fd5b5061050f6109c736600461534b565b611f0e565b3480156109d857600080fd5b5060a0546104ef906001600160a01b031681565b3480156109f857600080fd5b506001610498565b61050f61050a366004614faf565b348015610a1a57600080fd5b5061050f610a29366004615206565b611f38565b348015610a3a57600080fd5b5061050f610a49366004614f85565b611f58565b348015610a5a57600080fd5b506104c2611f71565b348015610a6f57600080fd5b506104c2610a7e366004614f41565b611f80565b348015610a8f57600080fd5b5061050f610a9e3660046153de565b612022565b348015610aaf57600080fd5b50610544610abe366004614f41565b6120f4565b348015610acf57600080fd5b50610544610ade366004614f41565b61213c565b348015610aef57600080fd5b50610544600081565b348015610b0457600080fd5b5061050f610b13366004615429565b61215a565b348015610b2457600080fd5b50610498610b33366004614f41565b60ce6020526000908152604090205460ff1681565b348015610b5457600080fd5b5061050f610b633660046151ae565b61216c565b348015610b7457600080fd5b50610544610b83366004614f41565b6122f5565b348015610b9457600080fd5b5061050f610ba3366004615206565b612309565b348015610bb457600080fd5b5061050f612329565b61050f610bcb366004615460565b612364565b348015610bdc57600080fd5b50610498610beb366004615206565b612397565b348015610bfc57600080fd5b50610498610c0b3660046154c7565b6123c8565b348015610c1c57600080fd5b50610498610c2b366004614f85565b6123fb565b348015610c3c57600080fd5b5061050f610c4b366004614fe4565b612416565b348015610c5c57600080fd5b506104c2610c6b366004614f41565b6124ac565b61050f610c7e3660046154f0565b61254b565b348015610c8f57600080fd5b50610544600080516020615e7083398151915281565b348015610cb157600080fd5b5061050f610cc0366004614f41565b612578565b348015610cd157600080fd5b50610544610ce036600461534b565b61258d565b348015610cf157600080fd5b50610498610d00366004614fe4565b6001600160a01b0316600090815260cb602052604090205460ff1690565b348015610d2a57600080fd5b50610544610d3936600461551d565b6125ac565b348015610d4a57600080fd5b50610d5e610d59366004614f41565b6125e0565b6040516104a4959493929190615549565b348015610d7b57600080fd5b5061050f610d8a366004614fe4565b612640565b348015610d9b57600080fd5b506104c2612651565b348015610db057600080fd5b50610498610dbf36600461558a565b6001600160a01b039182166000908152609f602090815260408083209390941682526002909201909152205460ff1690565b348015610dfd57600080fd5b50610e11610e0c3660046155b4565b61274b565b6040516104a491906155f4565b348015610e2a57600080fd5b50610498610e39366004614f85565b612804565b348015610e4a57600080fd5b50610498610e59366004614f41565b61281e565b60006001600160e01b03198216630354d60560e61b1480610e8f57506001600160e01b031982166380ac58cd60e01b145b80610eaa57506001600160e01b031982166370b0048160e11b145b80610eb95750610eb98261282b565b92915050565b606060988054610ece90615638565b80601f0160208091040260200160405190810160405280929190818152602001828054610efa90615638565b8015610f475780601f10610f1c57610100808354040283529160200191610f47565b820191906000526020600020905b815481529060010190602001808311610f2a57829003601f168201915b5050505050905090565b6000610f5c82612860565b6000828152609e6020526040902054609d80549091908110610f8057610f8061566c565b60009182526020909120600460069092020101546001600160a01b031692915050565b60405163c03a3ff560e01b815260040160405180910390fd5b60606000610fd560408051602081019091526000815290565b60a0549091506001600160a01b031661103557600081511161100657604051806020016040528060008152506110a7565b8061101084612885565b604051602001611021929190615682565b6040516020818303038152906040526110a7565b60a054604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b600060405180830381865afa15801561107f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110a791908101906156c2565b9392505050565b60006110c26110bb612917565b8584612926565b6110cb846129a1565b90506110e283826110db87611560565b60006129ab565b6110a7848284612ad5565b6110f5612db4565b6040516001600160a01b038216907f286f82d2b1e37b5e9f33e455d014b4a5f6c29388e6e41e1281d4c83e04f4265590600090a26001600160a01b0316600090815260cb60205260409020805460ff19166001179055565b600054610100900460ff161580801561116d5750600054600160ff909116105b8061118e575061117c30612dc6565b15801561118e575060005460ff166001145b6111f65760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff191660011790558015611219576000805461ff0019166101001790555b6001600160a01b03861661124057604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03851661126757604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03841661128e57604051630ca2c90160e21b815260040160405180910390fd5b60005b828110156112fb5760008484838181106112ad576112ad61566c565b90506020020160208101906112c29190614fe4565b6001600160a01b0316036112e957604051630ca2c90160e21b815260040160405180910390fd5b806112f38161574e565b915050611291565b5061136f8a8a8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8e018190048102820181019092528c815292508c91508b908190840183828082843760009201829052509250612dd5915050565b6113798383612e07565b61138285612e40565b61138b84612e8a565b6001600160a01b038616600090815260cb602052604090819020805460ff19166001179055517fe985d3de7118f12afc4791760312703563be41d60407308ef7b5771d0c58383f906113ee908c908c908c908c908c908c908c908c908c90615790565b60405180910390a1801561143c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050505050565b61145961145482611560565b612ed4565b600081815260cf6020526040808220805460ff191660021790555182917fdb43aa42235c8d63908794a952603e8d43a549383d13123c3d893a3fc2e6249591a250565b6114a584612ed4565b60006114b386866001612eec565b905083156114cd57600081815260d0602052604090208490555b82156114dd576114dd8184612f04565b6114e5612917565b600082815260d26020526040902080546001600160a01b0319166001600160a01b039290921691909117905561151b8286612f53565b505050505050565b61153461152e612917565b50600090565b6115505760405162461bcd60e51b81526004016111ed9061583a565b61155b838383612fee565b505050565b600061156b82612860565b6000828152609e6020526040902054609d8054909190811061158f5761158f61566c565b9060005260206000209060060201600101549050919050565b6115b0612db4565b6115b981612e8a565b50565b60006115c783611bc1565b82106116205760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016111ed565b6001600160a01b0383166000908152609f6020526040902080548390811061164a5761164a61566c565b9060005260206000200154905092915050565b61166f611668612917565b8483612926565b61155b838383612ad5565b611682612db4565b6001600160a01b0381166116a957604051630ca2c90160e21b815260040160405180910390fd5b6115b981612e40565b6116cb600080516020615e708339815191528284611f38565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036117175760405162461bcd60e51b81526004016111ed9061588c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661174961313d565b6001600160a01b03161461176f5760405162461bcd60e51b81526004016111ed906158d8565b61177881613159565b604080516000808252602082019092526115b991839190613161565b61179c612917565b6001600160a01b0316816001600160a01b0316146117df576040516307ca099360e31b8152600481018490526001600160a01b03821660248201526044016111ed565b61155b8383836132cc565b61155b83838360405180602001604052806000815250612364565b61181161145482611560565b6115b981613368565b611822612db4565b611847816001600160a01b03166000908152609760205260409020805460ff19169055565b6040516001600160a01b038216907fb96d15bf9258c7b8df062753a6a262864611fc7b060a5ee2e57e79b85f898d3890600090a250565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036118c65760405162461bcd60e51b81526004016111ed9061588c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166118f861313d565b6001600160a01b03161461191e5760405162461bcd60e51b81526004016111ed906158d8565b61192782613159565b6116cb82826001613161565b600061193e609d5490565b82106119985760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016111ed565b609d82815481106119ab576119ab61566c565b9060005260206000209060060201600001549050919050565b6119e4600080516020615e708339815191526119df84611560565b613465565b6116cb8282612f04565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611a895760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016111ed565b50600080516020615eb083398151915290565b6001600160a01b031660009081526097602052604090205460ff1690565b611ac2612db4565b611aea816001600160a01b03166000908152609760205260409020805460ff19166001179055565b6040516001600160a01b038216907f0ea0ce2c048ff45a4a95f2947879de3fb94abec2f152190400cab2d1272a68e790600090a250565b6000611b2c82612860565b6000828152609e6020526040902054609d80549091908110611b5057611b5061566c565b60009182526020909120600360069092020101546001600160a01b0316905080611b8c5760405162461bcd60e51b81526004016111ed90615924565b919050565b611b9d61145482611560565b6115b981613477565b60006110a7600080516020615e708339815191528385612397565b60006001600160a01b038216611c2d5760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016111ed565b506001600160a01b03166000908152609f602052604090205490565b6116cb600080516020615e708339815191528284612309565b7f7bf2655c5b27bca5462f1f973c316c9537b2da6083e494b623f3313ad847ec08611c8b612917565b604051611c989190614f5a565b60405180910390a1565b6000839003611cc45760405163eb8abb6160e01b815260040160405180910390fd5b600085815260d1602052604090208054611cdd90615638565b159050611d0057604051636f55f62b60e01b8152600481018690526024016111ed565b600085815260d160205260409020611d198486836159b2565b508115611e3e57600085815260ce60205260409020805460ff19168315151790556001600160a01b038116611d6157604051630ca2c90160e21b815260040160405180910390fd5b611d73816001600160a01b0316612dc6565b611d92578060405163d4daafa160e01b81526004016111ed9190614f5a565b611dab600080516020615e50833981519152868361351e565b611dc4600080516020615ed0833981519152868361351e565b611deb600080516020615ed083398151915286600080516020615e508339815191526135af565b611e12600080516020615e7083398151915286600080516020615e508339815191526135af565b611e39600080516020615e5083398151915286600080516020615e508339815191526135af565b611eac565b611e5e600080516020615ed083398151915286611e59612917565b61351e565b611e85600080516020615ed083398151915286600080516020615ed08339815191526135af565b611eac600080516020615e7083398151915286600080516020615ed08339815191526135af565b5050505050565b7fb7555489d68d7992c7b1a74fb60c1d5affc6c5cc407edaddcf435089a1a6b8a7611edc61361a565b604051611eea929190615a6b565b60405180910390a150565b6116cb600080516020615ed08339815191528284611f38565b611f26600080516020615ed083398151915283613465565b600091825260d3602052604090912055565b611f42838361258d565b82611f4d8282613465565b611eac8585856132cc565b6116cb600080516020615ed08339815191528284612309565b606060998054610ece90615638565b600081815260d160205260409020805460609190611f9d90615638565b80601f0160208091040260200160405190810160405280929190818152602001828054611fc990615638565b80156120165780601f10611feb57610100808354040283529160200191612016565b820191906000526020600020905b815481529060010190602001808311611ff957829003601f168201915b50505050509050919050565b60008190036120445760405163eb8abb6160e01b815260040160405180910390fd5b600083815260d160205260409020805461205d90615638565b905060000361208257604051630817886d60e41b8152600481018490526024016111ed565b61209d600080516020615ed083398151915284610beb612917565b6120d5576120a9612917565b83600080516020615ed083398151915260405163c8c801a760e01b81526004016111ed93929190615a7f565b600083815260d1602052604090206120ee8284836159b2565b50505050565b60006120ff82612860565b6000828152609e6020526040902054609d805490919081106121235761212361566c565b9060005260206000209060060201600201549050919050565b60006121478261362d565b50600090815260d0602052604090205490565b6116cb612165612917565b8383613656565b600081815260ce602052604090205460ff1661219e5760405163db53ce7160e01b8152600481018290526024016111ed565b6121b7600080516020615e508339815191528285613729565b6001600160a01b0382166121de57604051630ca2c90160e21b815260040160405180910390fd5b6121f0826001600160a01b0316612dc6565b61220f578160405163d4daafa160e01b81526004016111ed9190614f5a565b612228600080516020615e508339815191528284612309565b612241600080516020615ed08339815191528284612309565b61225a600080516020615e708339815191528284612309565b612273600080516020615e708339815191528285611f38565b61228c600080516020615ed08339815191528285611f38565b6122a5600080516020615e508339815191528285611f38565b604080516001600160a01b038086168252841660208201529081018290527f744258a28673e8738e2812c0ab8e8dbd70352f8871b1febac0dd753d96d79f589060600160405180910390a1505050565b600081815260cd6020526040812054610eb9565b612313838361258d565b8261231e8282613465565b611eac85858561351e565b612339612334612917565b613159565b6040517f196e5e7c3b25979d0bf02b0f686399eb501ef6085673d009cf76369bdc11363890600090a1565b61236f61152e612917565b61238b5760405162461bcd60e51b81526004016111ed9061583a565b6120ee84848484613757565b600091825260ca602090815260408084209484529381528383206001600160a01b0392909216835252205460ff1690565b60006110a78280156123dc576123dc615824565b600085815260d3602052604090205490600160ff919091161b16151590565b60006110a7600080516020615ed08339815191528385612397565b61241e612db4565b612426612917565b6001600160a01b0316816001600160a01b03160361245757604051634a19f28160e01b815260040160405180910390fd5b6040516001600160a01b038216907ffb445f6ec07647d2bb7af72821e6b8b7303ec375e934d4a338d38ed5846c2d5690600090a26001600160a01b0316600090815260cb60205260409020805460ff19169055565b60606124b782612860565b60006124ce60408051602081019091526000815290565b60a0549091506001600160a01b031661251a5760008151116124ff57604051806020016040528060008152506110a7565b8061250984612885565b604051602001611021929190615aa0565b60a0546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401611062565b600061255684611560565b905061256461145485611560565b61256e84846137ca565b6120ee8282612f53565b61258461145482611560565b6115b981613826565b600090815260ca60209081526040808320938352929052206001015490565b60006125b783612860565b506000918252609c602090815260408084206001600160a01b0393909316845291905290205490565b60008060606000806125f186611b21565b600087815260cf602052604090205490955060ff16600281111561261757612617615824565b600096875260d0602090815260408089205460cd90925290972054959790969395939450915050565b612648612db4565b6115b981613874565b6060600061266a60408051602081019091526000815290565b60a0549091506001600160a01b03166126ca57600081511161269b5760405180602001604052806000815250612745565b806126a5306138be565b6040516020016126b6929190615acf565b604051602081830303815290604052612745565b60a060009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561271d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261274591908101906156c2565b91505090565b606060008061275b8686866138d4565b915091506000816001600160401b038111156127795761277961523b565b6040519080825280602002602001820160405280156127a2578160200160208202803683370190505b50905060005b828110156127f9578381815181106127c2576127c261566c565b60200260200101518282815181106127dc576127dc61566c565b6020908102919091010152806127f18161574e565b9150506127a8565b509695505050505050565b600080612813848460016138d4565b151595945050505050565b6000610eb98260006139ba565b60006001600160e01b031982166333cb74f560e11b1480610eb957506301ffc9a760e01b6001600160e01b0319831614610eb9565b61286981613ace565b6115b95760405162461bcd60e51b81526004016111ed90615924565b6060600061289283613b1a565b60010190506000816001600160401b038111156128b1576128b161523b565b6040519080825280601f01601f1916602001820160405280156128db576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846128e557509392505050565b6000612921613bf2565b905090565b600061293283856125ac565b905060001981146120ee578181101561298d5760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e63650060448201526064016111ed565b6120ee838561299c8585615b13565b613c21565b6000610eb9613d50565b6001600160a01b038416612a0b5760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016111ed565b82600003612a655760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b60648201526084016111ed565b612a6e83613ace565b15612abb5760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e74656400000060448201526064016111ed565b612ac6848484613d6a565b612ad08382613e1e565b6120ee565b612ade83613ace565b612b3a5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b60648201526084016111ed565b612b4382613ace565b612b9d5760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b60648201526084016111ed565b6000838152609e6020526040812054609d80549091908110612bc157612bc161566c565b906000526020600020906006020190506000609d609e60008681526020019081526020016000205481548110612bf957612bf961566c565b906000526020600020906006020190508282600201541015612c705760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016111ed565b8060010154826001015414612cde5760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b60648201526084016111ed565b82826002016000828254612cf29190615b13565b9250508190555082816002016000828254612d0d9190615b26565b909155505060405183815284908690600080516020615e908339815191529060200160405180910390a3612d5285858560405180602001604052806000815250613e91565b611eac5760405162461bcd60e51b815260206004820152602d60248201527f455243333532353a207472616e736665722072656a656374656420627920455260448201526c21999a991aa932b1b2b4bb32b960991b60648201526084016111ed565b612dc4612dbf612917565b61400c565b565b6001600160a01b03163b151590565b600054610100900460ff16612dfc5760405162461bcd60e51b81526004016111ed90615b39565b61155b838383614047565b600054610100900460ff16612e2e5760405162461bcd60e51b81526004016111ed90615b39565b612e366140a5565b6116cb82826140cc565b60cc80546001600160a01b0319166001600160a01b0383169081179091556040517f5e4a30f4224898dbac86adca855a5edd3b8341a3aeb2b6ff0f0b5a82c013b65a90600090a250565b60d480546001600160a01b0319166001600160a01b0383169081179091556040517f6369e6a29b73ae27c65aa2678758ea2de84ebfbe9e00a08275110e78647286de90600090a250565b6115b9600080516020615e7083398151915282613465565b6000612ef6613d50565b90506110a7848285856129ab565b600082815260cd602090815260409182902083905581518481529081018390527f5e07998cef9cea674942c66f0ea7b0bce89ab9473ce240cc93d616c3491f8aeb910160405180910390a15050565b60d45460405163a2793ecd60e01b81526001600160a01b039091169063a2793ecd903490612f879086908690600401615ba2565b6000604051808303818588803b158015612fa057600080fd5b505af193505050508015612fb2575060015b6116cb573d808015612fe0576040519150601f19603f3d011682016040523d82523d6000602084013e612fe5565b606091505b50805181602001fd5b826001600160a01b031661300182611b21565b6001600160a01b0316146130635760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b60648201526084016111ed565b6001600160a01b0382166130c75760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016111ed565b60006130d282611560565b905060006130df836120f4565b90506130ec600084614165565b6130f5836141fc565b6130ff85846142a7565b61310984846143c8565b82846001600160a01b0316866001600160a01b0316600080516020615f1783398151915260405160405180910390a4611eac565b600080516020615eb0833981519152546001600160a01b031690565b6115b9612db4565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156131945761155b83614451565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156131ee575060408051601f3d908101601f191682019092526131eb91810190615c1b565b60015b6132515760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016111ed565b600080516020615eb083398151915281146132c05760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016111ed565b5061155b8383836144eb565b6132d7838383612397565b1561155b57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff19169055613316612917565b6001600160a01b0316816001600160a01b0316847f6f9148fcdc32766ca802c14716295d56eab7ed848d0dba113966f40087c883908560405161335b91815260200190565b60405180910390a4505050565b61337181612860565b6000818152609e6020526040812054609d805490919081106133955761339561566c565b60009182526020909120600691909102016003810154600182015460028301549293506001600160a01b03909116916133cd856141fc565b6133d783866142a7565b6133e085614510565b600085600080516020615e908339815191528360405161340291815260200190565b60405180910390a3600082867fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a460405185906000906001600160a01b03861690600080516020615f17833981519152908390a4611eac565b6116cb8282613472612917565b613729565b6134808161362d565b6001600082815260cf602052604090205460ff1660028111156134a5576134a5615824565b146134de57600081815260cf6020526040908190205490516308c9ef2d60e11b81526111ed91839160ff90911690600190600401615c34565b600081815260cf6020526040808220805460ff191690555182917fe2babfd5e77285a3c3dbc4b25592cbe4a7a26e97a7ac63067a22ebdaa9b82add91a250565b613529838383612397565b61155b57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff1916600117905561356a612917565b6001600160a01b0316816001600160a01b0316847f4dc88bd74ca601684356789d5b3dbc9cd44275b2544e8d35041203703b7682328560405161335b91815260200190565b60006135bb848461258d565b600084815260ca6020908152604080832088845282529182902060010185905590518581529192508391839187917f15f4a36186b2284157fe71215a07487f6c8bdc1203b3307c3e1fd9693011d3d3910160405180910390a450505050565b36600061362561471e565b915091509091565b61363681613ace565b6115b9576040516321fbdd2b60e11b8152600481018290526024016111ed565b816001600160a01b0316836001600160a01b0316036136b75760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c657200000000000060448201526064016111ed565b6001600160a01b038381166000818152609f602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b613734838383612397565b61155b5780828460405163c8c801a760e01b81526004016111ed93929190615a7f565b613762848484612fee565b61376e84848484614760565b6120ee5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b60648201526084016111ed565b6137d58260016148ad565b600082815260d06020526040908190208290555182907f1ebc57da8b3ebab98506502fbb73232ea29fbe86e4963a5a8c004810ad11190d9061381a9084815260200190565b60405180910390a25050565b6138318160016148ad565b600081815260cf6020526040808220805460ff191660011790555182917f779fbee689bbd6f006ecb329206d35c7db7380f9837a8826fb8dc5cfcd3d33dd91a250565b60a080546001600160a01b0319166001600160a01b0383169081179091556040517f5252f52e45fc8ee6a7b43cef3645d23e9a470a34182b8b3a12627556635bfc9c90600090a250565b6060610eb96001600160a01b03831660146148df565b60606000806138e286611bc1565b90506000816001600160401b038111156138fe576138fe61523b565b604051908082528060200260200182016040528015613927578160200160208202803683370190505b5090506000805b838110156139ac5760006139428a836115bc565b90508861394e82611560565b148015613969575087158061396957506139698160006139ba565b156139995780848461397a8161574e565b95508151811061398c5761398c61566c565b6020026020010181815250505b50806139a48161574e565b91505061392e565b509097909650945050505050565b600082815260cf602052604081205460ff16818160028111156139df576139df615824565b146139ee576000915050610eb9565b60006139f985611560565b9050613a068160006123c8565b15613a5b57600085815260d260205260409020546001600160a01b03168015801590613a485750613a46600080516020615e708339815191528383612397565b155b15613a595760009350505050610eb9565b505b6000613a6686611b21565b600087815260d0602052604090205490915015801590613a84575084155b15613ab9576001600160a01b03811615801590613aaf5750600086815260d060205260409020544211155b9350505050610eb9565b6001600160a01b031615159250610eb9915050565b609d5460009015801590610eb957506000828152609e6020526040902054609d80548492908110613b0157613b0161566c565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310613b595772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613b85576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613ba357662386f26fc10000830492506010015b6305f5e1008310613bbb576305f5e100830492506008015b6127108310613bcf57612710830492506004015b60648310613be1576064830492506002015b600a8310610eb95760010192915050565b6000613bfd33611a9c565b8015613c0a575060143610155b15613c1c575060131936013560601c90565b503390565b6001600160a01b038216613c8a5760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b60648201526084016111ed565b613c948284614a7a565b613cfa576000838152609e6020526040902054609d80549091908110613cbc57613cbc61566c565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b6000838152609c602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b910161371c565b609b805460009182613d618361574e565b91905055905090565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a08201529050613db881614b4d565b613dc284846143c8565b60405183906001600160a01b03861690600090600080516020615f17833981519152908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b6000828152609e6020526040902054609d80548392908110613e4257613e4261566c565b90600052602060002090600602016002016000828254613e629190615b26565b90915550506040518181528290600090600080516020615e908339815191529060200160405180910390a35050565b600080613e9d85611b21565b9050803b63ffffffff1615613ffe576040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa925050508015613f12575060408051601f3d908101601f19168201909252613f0f91810190615c61565b60015b613f51573d808015613f40576040519150601f19603f3d011682016040523d82523d6000602084013e613f45565b606091505b50600192505050614004565b8015613ff3576000826001600160a01b0316629ce20b613f6f612917565b8a8a8a8a6040518663ffffffff1660e01b8152600401613f93959493929190615c7e565b6020604051808303816000875af1158015613fb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fd69190615cbc565b6001600160e01b031916629ce20b60e01b14935061400492505050565b600192505050614004565b60019150505b949350505050565b6001600160a01b038116600090815260cb602052604090205460ff166115b95780604051632957ccdd60e21b81526004016111ed9190614f5a565b600054610100900460ff1661406e5760405162461bcd60e51b81526004016111ed90615b39565b6001609b55609861407f8482615cd9565b50609961408c8382615cd9565b50609a805460ff191660ff929092169190911790555050565b600054610100900460ff16612dc45760405162461bcd60e51b81526004016111ed90615b39565b600054610100900460ff166140f35760405162461bcd60e51b81526004016111ed90615b39565b60005b8181101561155b576001609760008585858181106141165761411661566c565b905060200201602081019061412b9190614fe4565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061415d8161574e565b9150506140f6565b6000818152609e6020526040902054609d805484929081106141895761418961566c565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b03928316179055819083166141c382611b21565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609e6020526040812054609d805490919081106142205761422061566c565b600091825260208220600560069092020190810154909250905b818110156142985760008360050182815481106142595761425961566c565b6000918252602080832090910154878352609c825260408084206001600160a01b039092168452915281205550806142908161574e565b91505061423a565b5061155b600583016000614e13565b6000818152609e6020526040812054609d805490919081106142cb576142cb61566c565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b039485161790559184168152609f90915260408120805490919061431a90600190615b13565b905060008260000182815481106143335761433361566c565b906000526020600020015490506000836001016000868152602001908152602001600020549050818460000182815481106143705761437061566c565b600091825260208083209091019290925583815260018601909152604080822083905586825281205583548490806143aa576143aa615d92565b60019003818190600052602060002001600090559055505050505050565b6000818152609e6020526040902054609d805484929081106143ec576143ec61566c565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152609f80845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b61445a81612dc6565b6144bc5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016111ed565b600080516020615eb083398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6144f483614c9f565b6000825111806145015750805b1561155b576120ee8383614cdf565b609d5460009061452290600190615b13565b6000838152609e6020526040812054609d805493945090928490811061454a5761454a61566c565b60009182526020918290206040805160c08101825260069093029091018054835260018101548385015260028101548383015260038101546001600160a01b03908116606085015260048201541660808401526005810180548351818702810187019094528084529394919360a0860193928301828280156145f557602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116145d7575b505050505081525050905080609d83815481106146145761461461566c565b600091825260209182902083516006909202019081558282015160018201556040830151600282015560608301516003820180546001600160a01b039283166001600160a01b031991821617909155608085015160048401805491909316911617905560a08301518051919261469292600585019290910190614e31565b505081516000908152609e602052604080822085905586825281205550609d8054806146c0576146c0615d92565b60008281526020812060066000199093019283020181815560018101829055600281018290556003810180546001600160a01b03199081169091556004820180549091169055906147146005830182614e13565b5050905550505050565b36600061472a33611a9c565b8015614737575060143610155b15614758576000803661474b601482615b13565b9261362593929190615da8565b600036613625565b6000833b63ffffffff16156148a557836001600160a01b031663150b7a02614786612917565b8786866040518563ffffffff1660e01b81526004016147a89493929190615dd2565b6020604051808303816000875af19250505080156147e3575060408051601f3d908101601f191682019092526147e091810190615cbc565b60015b61488b573d808015614811576040519150601f19603f3d011682016040523d82523d6000602084013e614816565b606091505b5080516000036148835760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016111ed565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050614004565b506001614004565b6148b782826139ba565b6116cb576040516316af84a960e21b81526004810183905281151560248201526044016111ed565b606060006148ee836002615e05565b6148f9906002615b26565b6001600160401b038111156149105761491061523b565b6040519080825280601f01601f19166020018201604052801561493a576020820181803683370190505b509050600360fc1b816000815181106149555761495561566c565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106149845761498461566c565b60200101906001600160f81b031916908160001a90535060006149a8846002615e05565b6149b3906001615b26565b90505b6001811115614a2b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106149e7576149e761566c565b1a60f81b8282815181106149fd576149fd61566c565b60200101906001600160f81b031916908160001a90535060049490941c93614a2481615e1c565b90506149b6565b5083156110a75760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016111ed565b6000818152609e6020526040812054609d80548392908110614a9e57614a9e61566c565b6000918252602082206005600690920201015491505b81811015614b42576000848152609e6020526040902054609d80546001600160a01b03881692908110614ae957614ae961566c565b90600052602060002090600602016005018281548110614b0b57614b0b61566c565b6000918252602090912001546001600160a01b031603614b3057600192505050610eb9565b80614b3a8161574e565b915050614ab4565b506000949350505050565b609d805482516000908152609e6020908152604080832084905560018401855593909152835160069092027fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7b8101928355818501517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7c820155928401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7d84015560608401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7e840180546001600160a01b039283166001600160a01b03199182161790915560808601517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7f8601805491909316911617905560a0840151805185946120ee937fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf80909101920190614e31565b614ca881614451565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110a78383604051806060016040528060278152602001615ef0602791396060600080856001600160a01b031685604051614d1c9190615e33565b600060405180830381855af49150503d8060008114614d57576040519150601f19603f3d011682016040523d82523d6000602084013e614d5c565b606091505b5091509150614d6d86838387614d77565b9695505050505050565b60608315614de4578251600003614ddd57614d9185612dc6565b614ddd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016111ed565b5081614004565b6140048383815115614df95781518083602001fd5b8060405162461bcd60e51b81526004016111ed9190614f2e565b50805460008255906000526020600020908101906115b99190614e96565b828054828255906000526020600020908101928215614e86579160200282015b82811115614e8657825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614e51565b50614e92929150614e96565b5090565b5b80821115614e925760008155600101614e97565b6001600160e01b0319811681146115b957600080fd5b600060208284031215614ed357600080fd5b81356110a781614eab565b60005b83811015614ef9578181015183820152602001614ee1565b50506000910152565b60008151808452614f1a816020860160208601614ede565b601f01601f19169290920160200192915050565b6020815260006110a76020830184614f02565b600060208284031215614f5357600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114611b8c57600080fd5b60008060408385031215614f9857600080fd5b614fa183614f6e565b946020939093013593505050565b600080600060608486031215614fc457600080fd5b83359250614fd460208501614f6e565b9150604084013590509250925092565b600060208284031215614ff657600080fd5b6110a782614f6e565b60008083601f84011261501157600080fd5b5081356001600160401b0381111561502857600080fd5b60208301915083602082850101111561504057600080fd5b9250929050565b600080600080600080600080600060c08a8c03121561506557600080fd5b89356001600160401b038082111561507c57600080fd5b6150888d838e01614fff565b909b50995060208c01359150808211156150a157600080fd5b6150ad8d838e01614fff565b90995097508791506150c160408d01614f6e565b96506150cf60608d01614f6e565b95506150dd60808d01614f6e565b945060a08c01359150808211156150f357600080fd5b818c0191508c601f83011261510757600080fd5b81358181111561511657600080fd5b8d60208260051b850101111561512b57600080fd5b6020830194508093505050509295985092959850929598565b600060a0828403121561515657600080fd5b50919050565b6000806000806000610120868803121561517557600080fd5b61517e86614f6e565b94506020860135935060408601359250606086013591506151a28760808801615144565b90509295509295909350565b6000806000606084860312156151c357600080fd5b6151cc84614f6e565b9250614fd460208501614f6e565b6000806000606084860312156151ef57600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561521b57600080fd5b833592506020840135915061523260408501614f6e565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156152795761527961523b565b604052919050565b60006001600160401b0382111561529a5761529a61523b565b50601f01601f191660200190565b600082601f8301126152b957600080fd5b81356152cc6152c782615281565b615251565b8181528460208386010111156152e157600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561531157600080fd5b61531a83614f6e565b915060208301356001600160401b0381111561533557600080fd5b615341858286016152a8565b9150509250929050565b6000806040838503121561535e57600080fd5b50508035926020909101359150565b80151581146115b957600080fd5b60008060008060006080868803121561539357600080fd5b8535945060208601356001600160401b038111156153b057600080fd5b6153bc88828901614fff565b90955093505060408601356153d08161536d565b91506151a260608701614f6e565b6000806000604084860312156153f357600080fd5b8335925060208401356001600160401b0381111561541057600080fd5b61541c86828701614fff565b9497909650939450505050565b6000806040838503121561543c57600080fd5b61544583614f6e565b915060208301356154558161536d565b809150509250929050565b6000806000806080858703121561547657600080fd5b61547f85614f6e565b935061548d60208601614f6e565b92506040850135915060608501356001600160401b038111156154af57600080fd5b6154bb878288016152a8565b91505092959194509250565b600080604083850312156154da57600080fd5b8235915060208301356001811061545557600080fd5b600080600060e0848603121561550557600080fd5b83359250602084013591506152328560408601615144565b6000806040838503121561553057600080fd5b8235915061554060208401614f6e565b90509250929050565b6001600160a01b038616815260ff8516602082015260a06040820181905260009061557690830186614f02565b606083019490945250608001529392505050565b6000806040838503121561559d57600080fd5b6155a683614f6e565b915061554060208401614f6e565b6000806000606084860312156155c957600080fd5b6155d284614f6e565b92506020840135915060408401356155e98161536d565b809150509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561562c57835183529284019291840191600101615610565b50909695505050505050565b600181811c9082168061564c57607f821691505b60208210810361515657634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008351615694818460208801614ede565b64736c6f742f60d81b90830190815283516156b6816005840160208801614ede565b01600501949350505050565b6000602082840312156156d457600080fd5b81516001600160401b038111156156ea57600080fd5b8201601f810184136156fb57600080fd5b80516157096152c782615281565b81815285602083850101111561571e57600080fd5b61572f826020830160208601614ede565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b60006001820161576057615760615738565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60c0815260006157a460c083018b8d615767565b6020838203818501526157b8828b8d615767565b6001600160a01b038a811660408701528981166060870152888116608087015285820360a087015286825287935090820160005b8781101561581157826157fe86614f6e565b16825293830193908301906001016157ec565b509e9d5050505050505050505050505050565b634e487b7160e01b600052602160045260246000fd5b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b602080825260199082015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604082015260600190565b601f82111561155b57600081815260208120601f850160051c8101602086101561597e5750805b601f850160051c820191505b8181101561151b5782815560010161598a565b600019600383901b1c191660019190911b1790565b6001600160401b038311156159c9576159c961523b565b6159dd836159d78354615638565b83615957565b6000601f841160018114615a0b57600085156159f95750838201355b615a03868261599d565b845550611eac565b600083815260209020601f19861690835b82811015615a3c5786850135825560209485019460019092019101615a1c565b5086821015615a595760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b602081526000614004602083018486615767565b6001600160a01b039390931683526020830191909152604082015260600190565b60008351615ab2818460208801614ede565b835190830190615ac6818360208801614ede565b01949350505050565b60008351615ae1818460208801614ede565b68636f6e74726163742f60b81b9083019081528351615b07816009840160208801614ede565b01600901949350505050565b81810381811115610eb957610eb9615738565b80820180821115610eb957610eb9615738565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600381106115b957634e487b7160e01b600052602160045260246000fd5b8235815260c08101602084013560038110615bbc57600080fd5b615bc581615b84565b6020830152615bd660408501614f6e565b6001600160a01b03818116604085015280615bf360608801614f6e565b16606085015280615c0660808801614f6e565b16608085015250508260a08301529392505050565b600060208284031215615c2d57600080fd5b5051919050565b83815260608101615c4484615b84565b836020830152615c5383615b84565b826040830152949350505050565b600060208284031215615c7357600080fd5b81516110a78161536d565b60018060a01b038616815284602082015283604082015282606082015260a060808201526000615cb160a0830184614f02565b979650505050505050565b600060208284031215615cce57600080fd5b81516110a781614eab565b81516001600160401b03811115615cf257615cf261523b565b615d0681615d008454615638565b84615957565b602080601f831160018114615d355760008415615d235750858301515b615d2d858261599d565b86555061151b565b600085815260208120601f198616915b82811015615d6457888601518255948401946001909101908401615d45565b5085821015615d825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603160045260246000fd5b60008085851115615db857600080fd5b83861115615dc557600080fd5b5050820193919092039150565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614d6d90830184614f02565b8082028115828204841417610eb957610eb9615738565b600081615e2b57615e2b615738565b506000190190565b60008251615e45818460208701614ede565b919091019291505056fefca69b310bd19d275687ebe00b254b0772cf7a367c3f81a9a5a433f831fdc1dc3c63e605be3290ab6b04cfc46c6e1516e626d43236b034f09d7ede1d017beb0c0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc6360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc449b0a7e0acc0a95c71947cb19fdd122b42abca9bdfbd6707ca4f1e3fdaef05e416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220af0a584a2f21816bec41d9ae2f29b977a4d922151bd527dfa0bb1f6a0259947964736f6c63430008130033"; type GatewayTokenInternalsTestConstructorParams = | [signer?: Signer] @@ -2370,36 +2375,37 @@ export class GatewayTokenInternalsTest__factory extends ContractFactory { } } - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { + overrides?: NonPayableOverrides & { from?: string } + ): Promise { return super.getDeployTransaction(overrides || {}); } - override attach(address: string): GatewayTokenInternalsTest { - return super.attach(address) as GatewayTokenInternalsTest; + override deploy(overrides?: NonPayableOverrides & { from?: string }) { + return super.deploy(overrides || {}) as Promise< + GatewayTokenInternalsTest & { + deploymentTransaction(): ContractTransactionResponse; + } + >; } - override connect(signer: Signer): GatewayTokenInternalsTest__factory { - return super.connect(signer) as GatewayTokenInternalsTest__factory; + override connect( + runner: ContractRunner | null + ): GatewayTokenInternalsTest__factory { + return super.connect(runner) as GatewayTokenInternalsTest__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): GatewayTokenInternalsTestInterface { - return new utils.Interface(_abi) as GatewayTokenInternalsTestInterface; + return new Interface(_abi) as GatewayTokenInternalsTestInterface; } static connect( address: string, - signerOrProvider: Signer | Provider + runner?: ContractRunner | null ): GatewayTokenInternalsTest { return new Contract( address, _abi, - signerOrProvider - ) as GatewayTokenInternalsTest; + runner + ) as unknown as GatewayTokenInternalsTest; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenUpgradeTest__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenUpgradeTest__factory.ts index 1266ed4c0..610212793 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenUpgradeTest__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/GatewayTokenUpgradeTest__factory.ts @@ -2,9 +2,14 @@ // @ts-nocheck /* tslint:disable */ /* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; +import type { NonPayableOverrides } from "../../../common"; import type { GatewayTokenUpgradeTest, GatewayTokenUpgradeTestInterface, @@ -2292,7 +2297,7 @@ const _abi = [ ] as const; const _bytecode = - "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e8565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e6576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051615d60620001206000396000818161166c015281816116ac0152818161181b0152818161185b015261198e0152615d606000f3fe6080604052600436106104225760003560e01c80637dbded281161022f578063b5d6163511610139578063df2a7fe1116100b6578063e8a3d4851161007a578063e8a3d48514610d0d578063e985e9c514610d22578063f415999014610d6f578063ff17e23214610d9c578063ff85a97514610dbc57600080fd5b8063df2a7fe114610c43578063df7f453b14610c63578063e345e0bc14610c9c578063e4b50cb814610cbc578063e71fb11014610ced57600080fd5b8063c58dbbed116100fd578063c58dbbed14610bae578063c87b56dd14610bce578063ce6da01a14610bee578063d6fd317514610c01578063d7a78db814610c2357600080fd5b8063b5d6163514610b1b578063b88d4fde14610b3b578063babb898d14610b4e578063bfea1f9714610b6e578063c2a366fb14610b8e57600080fd5b806395d89b41116101c7578063a217fddf1161018b578063a217fddf14610a76578063a22cb46514610a8b578063a578c09314610aab578063a8fa8e0d14610adb578063b4bd857914610afb57600080fd5b806395d89b41146109e157806395ea5717146109f65780639c7525e614610a165780639cc7f70814610a36578063a05b775f14610a5657600080fd5b80637dbded28146108dd57806381e9ff19146108fd57806382d66d5f1461091f57806383b2b2761461093f578063840f71131461095f5780638423df791461097f5780638cb0a511146109935780638eb7a776146109a157806390eddd52146109c157600080fd5b80633568dd291161033057806351da912d116102c85780636623fc461161028c5780636623fc461461083b5780636dba27291461085b5780636f7caf411461087b57806370a082311461089d57806370f08160146108bd57600080fd5b806351da912d1461078d57806352d1902d146107ad578063572b6c05146107c25780635c41d2fe146107fb5780636352211e1461081b57600080fd5b80633568dd29146106855780633659cfe6146106a557806336e45041146106c55780633e7e8669146106e557806342842e0e1461070757806342966c681461071a5780634d93172d1461073a5780634f1ef2861461075a5780634f6ccce71461076d57600080fd5b806320c5429b116103be5780632d33d27a116103825780632d33d27a146105dc5780632f745c59146105fc578063310ed7f01461061c57806334d7a95e1461062f57806334e37b8a1461066557600080fd5b806320c5429b1461055657806323287f241461057657806323b872dd14610589578063263f3e7e1461059c578063281b1edb146105bc57600080fd5b806301ffc9a71461042757806306fdde031461045c578063081812fc1461047e578063095ea7b3146104ab57806309c3dd87146104c05780630f485c02146104e0578063157000521461050157806318160ddd146105215780631c69e86714610536575b600080fd5b34801561043357600080fd5b50610447610442366004614cf2565b610ddc565b60405190151581526020015b60405180910390f35b34801561046857600080fd5b50610471610e3d565b6040516104539190614d5f565b34801561048a57600080fd5b5061049e610499366004614d72565b610ecf565b6040516104539190614d8b565b6104be6104b9366004614db6565b610f21565b005b3480156104cc57600080fd5b506104716104db366004614d72565b610f3a565b6104f36104ee366004614de0565b61102c565b604051908152602001610453565b34801561050d57600080fd5b506104be61051c366004614e15565b61106b565b34801561052d57600080fd5b50609d546104f3565b34801561054257600080fd5b506104be610551366004614e78565b6110cb565b34801561056257600080fd5b506104be610571366004614d72565b6113c6565b6104be610584366004614f8d565b61141a565b6104be610597366004614fdf565b6114b6565b3480156105a857600080fd5b506104f36105b7366004614d72565b6114f3565b3480156105c857600080fd5b506104be6105d7366004614e15565b61153b565b3480156105e857600080fd5b5060cc5461049e906001600160a01b031681565b34801561060857600080fd5b506104f3610617366004614db6565b61154f565b6104be61062a36600461500b565b6115f0565b34801561063b57600080fd5b5061049e61064a366004614d72565b600090815260d260205260409020546001600160a01b031690565b34801561067157600080fd5b506104be610680366004614e15565b61160d565b34801561069157600080fd5b506104be6106a0366004614db6565b611645565b3480156106b157600080fd5b506104be6106c0366004614e15565b611662565b3480156106d157600080fd5b506104be6106e0366004615037565b611727565b3480156106f157600080fd5b50609a5460405160ff9091168152602001610453565b6104be610715366004614fdf565b61177d565b34801561072657600080fd5b506104be610735366004614d72565b611798565b34801561074657600080fd5b506104be610755366004614e15565b6117ad565b6104be61076836600461512f565b611811565b34801561077957600080fd5b506104f3610788366004614d72565b6118c6565b34801561079957600080fd5b506104be6107a836600461517c565b611957565b3480156107b957600080fd5b506104f3611981565b3480156107ce57600080fd5b506104476107dd366004614e15565b6001600160a01b031660009081526097602052604090205460ff1690565b34801561080757600080fd5b506104be610816366004614e15565b611a2f565b34801561082757600080fd5b5061049e610836366004614d72565b611a96565b34801561084757600080fd5b506104be610856366004614d72565b611b06565b34801561086757600080fd5b50610447610876366004614db6565b611b1b565b34801561088757600080fd5b506104f3600080516020615cc483398151915281565b3480156108a957600080fd5b506104f36108b8366004614e15565b611b36565b3480156108c957600080fd5b506104be6108d8366004614db6565b611bbe565b3480156108e957600080fd5b506104be6108f83660046151ac565b611bd7565b34801561090957600080fd5b506104f3600080516020615c4483398151915281565b34801561092b57600080fd5b506104be61093a366004614db6565b611de8565b34801561094b57600080fd5b506104be61095a36600461517c565b611e01565b34801561096b57600080fd5b5060a05461049e906001600160a01b031681565b34801561098b57600080fd5b506001610447565b6104be6104b9366004614de0565b3480156109ad57600080fd5b506104be6109bc366004615037565b611e2b565b3480156109cd57600080fd5b506104be6109dc366004614db6565b611e4b565b3480156109ed57600080fd5b50610471611e64565b348015610a0257600080fd5b50610471610a11366004614d72565b611e73565b348015610a2257600080fd5b506104be610a3136600461520f565b611f15565b348015610a4257600080fd5b506104f3610a51366004614d72565b611fe7565b348015610a6257600080fd5b506104f3610a71366004614d72565b61202f565b348015610a8257600080fd5b506104f3600081565b348015610a9757600080fd5b506104be610aa636600461525a565b61204d565b348015610ab757600080fd5b50610447610ac6366004614d72565b60ce6020526000908152604090205460ff1681565b348015610ae757600080fd5b506104be610af6366004614fdf565b61205f565b348015610b0757600080fd5b506104f3610b16366004614d72565b6121e8565b348015610b2757600080fd5b506104be610b36366004615037565b6121fc565b6104be610b49366004615291565b61221c565b348015610b5a57600080fd5b50610447610b69366004615037565b61224f565b348015610b7a57600080fd5b50610447610b893660046152f8565b612280565b348015610b9a57600080fd5b50610447610ba9366004614db6565b6122b3565b348015610bba57600080fd5b506104be610bc9366004614e15565b6122ce565b348015610bda57600080fd5b50610471610be9366004614d72565b612364565b6104be610bfc366004615321565b612403565b348015610c0d57600080fd5b506104f3600080516020615c6483398151915281565b348015610c2f57600080fd5b506104be610c3e366004614d72565b612430565b348015610c4f57600080fd5b506104f3610c5e36600461517c565b612445565b348015610c6f57600080fd5b50610447610c7e366004614e15565b6001600160a01b0316600090815260cb602052604090205460ff1690565b348015610ca857600080fd5b506104f3610cb736600461534e565b612464565b348015610cc857600080fd5b50610cdc610cd7366004614d72565b612498565b60405161045395949392919061537a565b348015610cf957600080fd5b506104be610d08366004614e15565b6124f8565b348015610d1957600080fd5b50610471612509565b348015610d2e57600080fd5b50610447610d3d3660046153bb565b6001600160a01b039182166000908152609f602090815260408083209390941682526002909201909152205460ff1690565b348015610d7b57600080fd5b50610d8f610d8a3660046153e5565b612603565b6040516104539190615425565b348015610da857600080fd5b50610447610db7366004614db6565b6126bc565b348015610dc857600080fd5b50610447610dd7366004614d72565b6126d6565b60006001600160e01b03198216630354d60560e61b1480610e0d57506001600160e01b031982166380ac58cd60e01b145b80610e2857506001600160e01b031982166370b0048160e11b145b80610e375750610e37826126e3565b92915050565b606060988054610e4c90615469565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7890615469565b8015610ec55780601f10610e9a57610100808354040283529160200191610ec5565b820191906000526020600020905b815481529060010190602001808311610ea857829003601f168201915b5050505050905090565b6000610eda82612718565b6000828152609e6020526040902054609d80549091908110610efe57610efe61549d565b60009182526020909120600460069092020101546001600160a01b031692915050565b60405163c03a3ff560e01b815260040160405180910390fd5b60606000610f5360408051602081019091526000815290565b60a0549091506001600160a01b0316610fb3576000815111610f845760405180602001604052806000815250611025565b80610f8e8461273d565b604051602001610f9f9291906154b3565b604051602081830303815290604052611025565b60a054604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b600060405180830381865afa158015610ffd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261102591908101906154f3565b9392505050565b60006110406110396127cf565b85846127de565b61104984612859565b90506110608382611059876114f3565b6000612863565b61102584828461298d565b611073612c6c565b6040516001600160a01b038216907f286f82d2b1e37b5e9f33e455d014b4a5f6c29388e6e41e1281d4c83e04f4265590600090a26001600160a01b0316600090815260cb60205260409020805460ff19166001179055565b600054610100900460ff16158080156110eb5750600054600160ff909116105b8061110c57506110fa30612c7e565b15801561110c575060005460ff166001145b6111745760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff191660011790558015611197576000805461ff0019166101001790555b6001600160a01b0386166111be57604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b0385166111e557604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03841661120c57604051630ca2c90160e21b815260040160405180910390fd5b60005b8281101561127957600084848381811061122b5761122b61549d565b90506020020160208101906112409190614e15565b6001600160a01b03160361126757604051630ca2c90160e21b815260040160405180910390fd5b8061127181615576565b91505061120f565b506112ed8a8a8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8e018190048102820181019092528c815292508c91508b908190840183828082843760009201829052509250612c8d915050565b6112f78383612cbf565b61130085612cf8565b61130984612d42565b6001600160a01b038616600090815260cb602052604090819020805460ff19166001179055517fe985d3de7118f12afc4791760312703563be41d60407308ef7b5771d0c58383f9061136c908c908c908c908c908c908c908c908c908c906155b8565b60405180910390a180156113ba576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050505050565b6113d76113d2826114f3565b612d8c565b600081815260cf6020526040808220805460ff191660021790555182917fdb43aa42235c8d63908794a952603e8d43a549383d13123c3d893a3fc2e6249591a250565b61142384612d8c565b61142d8185612da4565b600061143b86866001612e3f565b90506000841161148d5760405162461bcd60e51b815260206004820181905260248201527f54455354204d4f44453a20457870697279206d757374206265203e207a65726f604482015260640161116b565b600081815260d06020526040902084905582156114ae576114ae8184612e57565b505050505050565b6114c76114c16127cf565b50600090565b6114e35760405162461bcd60e51b815260040161116b90615662565b6114ee838383612ea6565b505050565b60006114fe82612718565b6000828152609e6020526040902054609d805490919081106115225761152261549d565b9060005260206000209060060201600101549050919050565b611543612c6c565b61154c81612d42565b50565b600061155a83611b36565b82106115b35760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161116b565b6001600160a01b0383166000908152609f602052604090208054839081106115dd576115dd61549d565b9060005260206000200154905092915050565b6116026115fb6127cf565b84836127de565b6114ee83838361298d565b611615612c6c565b6001600160a01b03811661163c57604051630ca2c90160e21b815260040160405180910390fd5b61154c81612cf8565b61165e600080516020615c648339815191528284611e2b565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036116aa5760405162461bcd60e51b815260040161116b906156b4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166116dc612ff5565b6001600160a01b0316146117025760405162461bcd60e51b815260040161116b90615700565b61170b81613011565b6040805160008082526020820190925261154c91839190613019565b61172f6127cf565b6001600160a01b0316816001600160a01b031614611772576040516307ca099360e31b8152600481018490526001600160a01b038216602482015260440161116b565b6114ee838383613184565b6114ee8383836040518060200160405280600081525061221c565b6117a46113d2826114f3565b61154c81613220565b6117b5612c6c565b6117da816001600160a01b03166000908152609760205260409020805460ff19169055565b6040516001600160a01b038216907fb96d15bf9258c7b8df062753a6a262864611fc7b060a5ee2e57e79b85f898d3890600090a250565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036118595760405162461bcd60e51b815260040161116b906156b4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661188b612ff5565b6001600160a01b0316146118b15760405162461bcd60e51b815260040161116b90615700565b6118ba82613011565b61165e82826001613019565b60006118d1609d5490565b821061192b5760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161116b565b609d828154811061193e5761193e61549d565b9060005260206000209060060201600001549050919050565b611977600080516020615c64833981519152611972846114f3565b61331d565b61165e8282612e57565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611a1c5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161116b565b50600080516020615ca483398151915290565b611a37612c6c565b611a5f816001600160a01b03166000908152609760205260409020805460ff19166001179055565b6040516001600160a01b038216907f0ea0ce2c048ff45a4a95f2947879de3fb94abec2f152190400cab2d1272a68e790600090a250565b6000611aa182612718565b6000828152609e6020526040902054609d80549091908110611ac557611ac561549d565b60009182526020909120600360069092020101546001600160a01b0316905080611b015760405162461bcd60e51b815260040161116b9061574c565b919050565b611b126113d2826114f3565b61154c8161332f565b6000611025600080516020615c64833981519152838561224f565b60006001600160a01b038216611ba25760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161116b565b506001600160a01b03166000908152609f602052604090205490565b61165e600080516020615c6483398151915282846121fc565b6000839003611bf95760405163eb8abb6160e01b815260040160405180910390fd5b600085815260d1602052604090208054611c1290615469565b159050611c3557604051636f55f62b60e01b81526004810186905260240161116b565b600085815260d160205260409020611c4e8486836157da565b508115611d7357600085815260ce60205260409020805460ff19168315151790556001600160a01b038116611c9657604051630ca2c90160e21b815260040160405180910390fd5b611ca8816001600160a01b0316612c7e565b611cc7578060405163d4daafa160e01b815260040161116b9190614d8b565b611ce0600080516020615c4483398151915286836133d6565b611cf9600080516020615cc483398151915286836133d6565b611d20600080516020615cc483398151915286600080516020615c44833981519152613467565b611d47600080516020615c6483398151915286600080516020615c44833981519152613467565b611d6e600080516020615c4483398151915286600080516020615c44833981519152613467565b611de1565b611d93600080516020615cc483398151915286611d8e6127cf565b6133d6565b611dba600080516020615cc483398151915286600080516020615cc4833981519152613467565b611de1600080516020615c6483398151915286600080516020615cc4833981519152613467565b5050505050565b61165e600080516020615cc48339815191528284611e2b565b611e19600080516020615cc48339815191528361331d565b600091825260d3602052604090912055565b611e358383612445565b82611e40828261331d565b611de1858585613184565b61165e600080516020615cc483398151915282846121fc565b606060998054610e4c90615469565b600081815260d160205260409020805460609190611e9090615469565b80601f0160208091040260200160405190810160405280929190818152602001828054611ebc90615469565b8015611f095780601f10611ede57610100808354040283529160200191611f09565b820191906000526020600020905b815481529060010190602001808311611eec57829003601f168201915b50505050509050919050565b6000819003611f375760405163eb8abb6160e01b815260040160405180910390fd5b600083815260d1602052604090208054611f5090615469565b9050600003611f7557604051630817886d60e41b81526004810184905260240161116b565b611f90600080516020615cc483398151915284610b696127cf565b611fc857611f9c6127cf565b83600080516020615cc483398151915260405163c8c801a760e01b815260040161116b93929190615893565b600083815260d160205260409020611fe18284836157da565b50505050565b6000611ff282612718565b6000828152609e6020526040902054609d805490919081106120165761201661549d565b9060005260206000209060060201600201549050919050565b600061203a826134d2565b50600090815260d0602052604090205490565b61165e6120586127cf565b83836134fb565b600081815260ce602052604090205460ff166120915760405163db53ce7160e01b81526004810182905260240161116b565b6120aa600080516020615c4483398151915282856135ce565b6001600160a01b0382166120d157604051630ca2c90160e21b815260040160405180910390fd5b6120e3826001600160a01b0316612c7e565b612102578160405163d4daafa160e01b815260040161116b9190614d8b565b61211b600080516020615c4483398151915282846121fc565b612134600080516020615cc483398151915282846121fc565b61214d600080516020615c6483398151915282846121fc565b612166600080516020615c648339815191528285611e2b565b61217f600080516020615cc48339815191528285611e2b565b612198600080516020615c448339815191528285611e2b565b604080516001600160a01b038086168252841660208201529081018290527f744258a28673e8738e2812c0ab8e8dbd70352f8871b1febac0dd753d96d79f589060600160405180910390a1505050565b600081815260cd6020526040812054610e37565b6122068383612445565b82612211828261331d565b611de18585856133d6565b6122276114c16127cf565b6122435760405162461bcd60e51b815260040161116b90615662565b611fe1848484846135fc565b600091825260ca602090815260408084209484529381528383206001600160a01b0392909216835252205460ff1690565b60006110258280156122945761229461564c565b600085815260d3602052604090205490600160ff919091161b16151590565b6000611025600080516020615cc4833981519152838561224f565b6122d6612c6c565b6122de6127cf565b6001600160a01b0316816001600160a01b03160361230f57604051634a19f28160e01b815260040160405180910390fd5b6040516001600160a01b038216907ffb445f6ec07647d2bb7af72821e6b8b7303ec375e934d4a338d38ed5846c2d5690600090a26001600160a01b0316600090815260cb60205260409020805460ff19169055565b606061236f82612718565b600061238660408051602081019091526000815290565b60a0549091506001600160a01b03166123d25760008151116123b75760405180602001604052806000815250611025565b806123c18461273d565b604051602001610f9f9291906158b4565b60a0546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401610fe0565b600061240e846114f3565b905061241c6113d2856114f3565b612426848461366f565b611fe18282612da4565b61243c6113d2826114f3565b61154c816136cb565b600090815260ca60209081526040808320938352929052206001015490565b600061246f83612718565b506000918252609c602090815260408084206001600160a01b0393909316845291905290205490565b60008060606000806124a986611a96565b600087815260cf602052604090205490955060ff1660028111156124cf576124cf61564c565b600096875260d0602090815260408089205460cd90925290972054959790969395939450915050565b612500612c6c565b61154c81613719565b6060600061252260408051602081019091526000815290565b60a0549091506001600160a01b031661258257600081511161255357604051806020016040528060008152506125fd565b8061255d30613763565b60405160200161256e9291906158e3565b6040516020818303038152906040526125fd565b60a060009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156125d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125fd91908101906154f3565b91505090565b6060600080612613868686613779565b915091506000816001600160401b038111156126315761263161506c565b60405190808252806020026020018201604052801561265a578160200160208202803683370190505b50905060005b828110156126b15783818151811061267a5761267a61549d565b60200260200101518282815181106126945761269461549d565b6020908102919091010152806126a981615576565b915050612660565b509695505050505050565b6000806126cb84846001613779565b151595945050505050565b6000610e3782600061385f565b60006001600160e01b031982166333cb74f560e11b1480610e3757506301ffc9a760e01b6001600160e01b0319831614610e37565b61272181613973565b61154c5760405162461bcd60e51b815260040161116b9061574c565b6060600061274a836139bf565b60010190506000816001600160401b038111156127695761276961506c565b6040519080825280601f01601f191660200182016040528015612793576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461279d57509392505050565b60006127d9613a97565b905090565b60006127ea8385612464565b90506000198114611fe157818110156128455760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e636500604482015260640161116b565b611fe183856128548585615927565b613ace565b6000610e37613bfd565b6001600160a01b0384166128c35760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161116b565b8260000361291d5760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b606482015260840161116b565b61292683613973565b156129735760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e746564000000604482015260640161116b565b61297e848484613c14565b6129888382613cc8565b611fe1565b61299683613973565b6129f25760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b606482015260840161116b565b6129fb82613973565b612a555760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b606482015260840161116b565b6000838152609e6020526040812054609d80549091908110612a7957612a7961549d565b906000526020600020906006020190506000609d609e60008681526020019081526020016000205481548110612ab157612ab161549d565b906000526020600020906006020190508282600201541015612b285760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161116b565b8060010154826001015414612b965760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b606482015260840161116b565b82826002016000828254612baa9190615927565b9250508190555082816002016000828254612bc5919061593a565b909155505060405183815284908690600080516020615c848339815191529060200160405180910390a3612c0a85858560405180602001604052806000815250613d3b565b611de15760405162461bcd60e51b815260206004820152602d60248201527f455243333532353a207472616e736665722072656a656374656420627920455260448201526c21999a991aa932b1b2b4bb32b960991b606482015260840161116b565b612c7c612c776127cf565b613e7e565b565b6001600160a01b03163b151590565b600054610100900460ff16612cb45760405162461bcd60e51b815260040161116b9061594d565b6114ee838383613eb9565b600054610100900460ff16612ce65760405162461bcd60e51b815260040161116b9061594d565b612cee613f12565b61165e8282613f39565b60cc80546001600160a01b0319166001600160a01b0383169081179091556040517f5e4a30f4224898dbac86adca855a5edd3b8341a3aeb2b6ff0f0b5a82c013b65a90600090a250565b60d480546001600160a01b0319166001600160a01b0383169081179091556040517f6369e6a29b73ae27c65aa2678758ea2de84ebfbe9e00a08275110e78647286de90600090a250565b61154c600080516020615c648339815191528261331d565b60d45460405163a2793ecd60e01b81526001600160a01b039091169063a2793ecd903490612dd890869086906004016159b6565b6000604051808303818588803b158015612df157600080fd5b505af193505050508015612e03575060015b61165e573d808015612e31576040519150601f19603f3d011682016040523d82523d6000602084013e612e36565b606091505b50805181602001fd5b6000612e49613bfd565b905061102584828585612863565b600082815260cd602090815260409182902083905581518481529081018390527f5e07998cef9cea674942c66f0ea7b0bce89ab9473ce240cc93d616c3491f8aeb910160405180910390a15050565b826001600160a01b0316612eb982611a96565b6001600160a01b031614612f1b5760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b606482015260840161116b565b6001600160a01b038216612f7f5760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161116b565b6000612f8a826114f3565b90506000612f9783611fe7565b9050612fa4600084613fd2565b612fad83614069565b612fb78584614114565b612fc18484614235565b82846001600160a01b0316866001600160a01b0316600080516020615d0b83398151915260405160405180910390a4611de1565b600080516020615ca4833981519152546001600160a01b031690565b61154c612c6c565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561304c576114ee836142be565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156130a6575060408051601f3d908101601f191682019092526130a391810190615a2f565b60015b6131095760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161116b565b600080516020615ca483398151915281146131785760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161116b565b506114ee838383614358565b61318f83838361224f565b156114ee57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff191690556131ce6127cf565b6001600160a01b0316816001600160a01b0316847f6f9148fcdc32766ca802c14716295d56eab7ed848d0dba113966f40087c883908560405161321391815260200190565b60405180910390a4505050565b61322981612718565b6000818152609e6020526040812054609d8054909190811061324d5761324d61549d565b60009182526020909120600691909102016003810154600182015460028301549293506001600160a01b039091169161328585614069565b61328f8386614114565b6132988561437d565b600085600080516020615c84833981519152836040516132ba91815260200190565b60405180910390a3600082867fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a460405185906000906001600160a01b03861690600080516020615d0b833981519152908390a4611de1565b61165e828261332a6127cf565b6135ce565b613338816134d2565b6001600082815260cf602052604090205460ff16600281111561335d5761335d61564c565b1461339657600081815260cf6020526040908190205490516308c9ef2d60e11b815261116b91839160ff90911690600190600401615a48565b600081815260cf6020526040808220805460ff191690555182917fe2babfd5e77285a3c3dbc4b25592cbe4a7a26e97a7ac63067a22ebdaa9b82add91a250565b6133e183838361224f565b6114ee57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff191660011790556134226127cf565b6001600160a01b0316816001600160a01b0316847f4dc88bd74ca601684356789d5b3dbc9cd44275b2544e8d35041203703b7682328560405161321391815260200190565b60006134738484612445565b600084815260ca6020908152604080832088845282529182902060010185905590518581529192508391839187917f15f4a36186b2284157fe71215a07487f6c8bdc1203b3307c3e1fd9693011d3d3910160405180910390a450505050565b6134db81613973565b61154c576040516321fbdd2b60e11b81526004810182905260240161116b565b816001600160a01b0316836001600160a01b03160361355c5760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c6572000000000000604482015260640161116b565b6001600160a01b038381166000818152609f602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b6135d983838361224f565b6114ee5780828460405163c8c801a760e01b815260040161116b93929190615893565b613607848484612ea6565b6136138484848461458b565b611fe15760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b606482015260840161116b565b61367a8260016146e2565b600082815260d06020526040908190208290555182907f1ebc57da8b3ebab98506502fbb73232ea29fbe86e4963a5a8c004810ad11190d906136bf9084815260200190565b60405180910390a25050565b6136d68160016146e2565b600081815260cf6020526040808220805460ff191660011790555182917f779fbee689bbd6f006ecb329206d35c7db7380f9837a8826fb8dc5cfcd3d33dd91a250565b60a080546001600160a01b0319166001600160a01b0383169081179091556040517f5252f52e45fc8ee6a7b43cef3645d23e9a470a34182b8b3a12627556635bfc9c90600090a250565b6060610e376001600160a01b0383166014614714565b606060008061378786611b36565b90506000816001600160401b038111156137a3576137a361506c565b6040519080825280602002602001820160405280156137cc578160200160208202803683370190505b5090506000805b838110156138515760006137e78a8361154f565b9050886137f3826114f3565b14801561380e575087158061380e575061380e81600061385f565b1561383e5780848461381f81615576565b9550815181106138315761383161549d565b6020026020010181815250505b508061384981615576565b9150506137d3565b509097909650945050505050565b600082815260cf602052604081205460ff16818160028111156138845761388461564c565b14613893576000915050610e37565b600061389e856114f3565b90506138ab816000612280565b1561390057600085815260d260205260409020546001600160a01b031680158015906138ed57506138eb600080516020615c64833981519152838361224f565b155b156138fe5760009350505050610e37565b505b600061390b86611a96565b600087815260d0602052604090205490915015801590613929575084155b1561395e576001600160a01b038116158015906139545750600086815260d060205260409020544211155b9350505050610e37565b6001600160a01b031615159250610e37915050565b609d5460009015801590610e3757506000828152609e6020526040902054609d805484929081106139a6576139a661549d565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106139fe5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613a2a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613a4857662386f26fc10000830492506010015b6305f5e1008310613a60576305f5e100830492506008015b6127108310613a7457612710830492506004015b60648310613a86576064830492506002015b600a8310610e375760010192915050565b3360009081526097602052604081205460ff168015613ab7575060143610155b15613ac9575060131936013560601c90565b503390565b6001600160a01b038216613b375760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b606482015260840161116b565b613b4182846148af565b613ba7576000838152609e6020526040902054609d80549091908110613b6957613b6961549d565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b6000838152609c602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b91016135c1565b6000613c0d609b80546001019055565b50609b5490565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a08201529050613c6281614982565b613c6c8484614235565b60405183906001600160a01b03861690600090600080516020615d0b833981519152908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b6000828152609e6020526040902054609d80548392908110613cec57613cec61549d565b90600052602060002090600602016002016000828254613d0c919061593a565b90915550506040518181528290600090600080516020615c848339815191529060200160405180910390a35050565b600080613d4785611a96565b9050613d5b816001600160a01b0316612c7e565b8015613dd057506040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa158015613dac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dd09190615a75565b15613e70576000816001600160a01b0316629ce20b613ded6127cf565b898989896040518663ffffffff1660e01b8152600401613e11959493929190615a92565b6020604051808303816000875af1158015613e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e549190615ad0565b6001600160e01b031916629ce20b60e01b149250613e76915050565b60019150505b949350505050565b6001600160a01b038116600090815260cb602052604090205460ff1661154c5780604051632957ccdd60e21b815260040161116b9190614d8b565b600054610100900460ff16613ee05760405162461bcd60e51b815260040161116b9061594d565b6098613eec8482615aed565b506099613ef98382615aed565b50609a805460ff191660ff929092169190911790555050565b600054610100900460ff16612c7c5760405162461bcd60e51b815260040161116b9061594d565b600054610100900460ff16613f605760405162461bcd60e51b815260040161116b9061594d565b60005b818110156114ee57600160976000858585818110613f8357613f8361549d565b9050602002016020810190613f989190614e15565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580613fca81615576565b915050613f63565b6000818152609e6020526040902054609d80548492908110613ff657613ff661549d565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b039283161790558190831661403082611a96565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609e6020526040812054609d8054909190811061408d5761408d61549d565b600091825260208220600560069092020190810154909250905b818110156141055760008360050182815481106140c6576140c661549d565b6000918252602080832090910154878352609c825260408084206001600160a01b039092168452915281205550806140fd81615576565b9150506140a7565b506114ee600583016000614c44565b6000818152609e6020526040812054609d805490919081106141385761413861549d565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b039485161790559184168152609f90915260408120805490919061418790600190615927565b905060008260000182815481106141a0576141a061549d565b906000526020600020015490506000836001016000868152602001908152602001600020549050818460000182815481106141dd576141dd61549d565b6000918252602080832090910192909255838152600186019091526040808220839055868252812055835484908061421757614217615ba6565b60019003818190600052602060002001600090559055505050505050565b6000818152609e6020526040902054609d805484929081106142595761425961549d565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152609f80845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b6142c781612c7e565b6143295760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161116b565b600080516020615ca483398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61436183614ad4565b60008251118061436e5750805b156114ee57611fe18383614b14565b609d5460009061438f90600190615927565b6000838152609e6020526040812054609d80549394509092849081106143b7576143b761549d565b60009182526020918290206040805160c08101825260069093029091018054835260018101548385015260028101548383015260038101546001600160a01b03908116606085015260048201541660808401526005810180548351818702810187019094528084529394919360a08601939283018282801561446257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311614444575b505050505081525050905080609d83815481106144815761448161549d565b600091825260209182902083516006909202019081558282015160018201556040830151600282015560608301516003820180546001600160a01b039283166001600160a01b031991821617909155608085015160048401805491909316911617905560a0830151805191926144ff92600585019290910190614c62565b505081516000908152609e602052604080822085905586825281205550609d80548061452d5761452d615ba6565b60008281526020812060066000199093019283020181815560018101829055600281018290556003810180546001600160a01b03199081169091556004820180549091169055906145816005830182614c44565b5050905550505050565b600061459f846001600160a01b0316612c7e565b156146da57836001600160a01b031663150b7a026145bb6127cf565b8786866040518563ffffffff1660e01b81526004016145dd9493929190615bbc565b6020604051808303816000875af1925050508015614618575060408051601f3d908101601f1916820190925261461591810190615ad0565b60015b6146c0573d808015614646576040519150601f19603f3d011682016040523d82523d6000602084013e61464b565b606091505b5080516000036146b85760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161116b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613e76565b506001613e76565b6146ec828261385f565b61165e576040516316af84a960e21b815260048101839052811515602482015260440161116b565b60606000614723836002615bf9565b61472e90600261593a565b6001600160401b038111156147455761474561506c565b6040519080825280601f01601f19166020018201604052801561476f576020820181803683370190505b509050600360fc1b8160008151811061478a5761478a61549d565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106147b9576147b961549d565b60200101906001600160f81b031916908160001a90535060006147dd846002615bf9565b6147e890600161593a565b90505b6001811115614860576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061481c5761481c61549d565b1a60f81b8282815181106148325761483261549d565b60200101906001600160f81b031916908160001a90535060049490941c9361485981615c10565b90506147eb565b5083156110255760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161116b565b6000818152609e6020526040812054609d805483929081106148d3576148d361549d565b6000918252602082206005600690920201015491505b81811015614977576000848152609e6020526040902054609d80546001600160a01b0388169290811061491e5761491e61549d565b906000526020600020906006020160050182815481106149405761494061549d565b6000918252602090912001546001600160a01b03160361496557600192505050610e37565b8061496f81615576565b9150506148e9565b506000949350505050565b609d805482516000908152609e6020908152604080832084905560018401855593909152835160069092027fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7b8101928355818501517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7c820155928401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7d84015560608401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7e840180546001600160a01b039283166001600160a01b03199182161790915560808601517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7f8601805491909316911617905560a084015180518594611fe1937fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf80909101920190614c62565b614add816142be565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060614b1f83612c7e565b614b7a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161116b565b600080846001600160a01b031684604051614b959190615c27565b600060405180830381855af49150503d8060008114614bd0576040519150601f19603f3d011682016040523d82523d6000602084013e614bd5565b606091505b5091509150614bfd8282604051806060016040528060278152602001615ce460279139614c06565b95945050505050565b60608315614c15575081611025565b6110258383815115614c2a5781518083602001fd5b8060405162461bcd60e51b815260040161116b9190614d5f565b508054600082559060005260206000209081019061154c9190614cc7565b828054828255906000526020600020908101928215614cb7579160200282015b82811115614cb757825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614c82565b50614cc3929150614cc7565b5090565b5b80821115614cc35760008155600101614cc8565b6001600160e01b03198116811461154c57600080fd5b600060208284031215614d0457600080fd5b813561102581614cdc565b60005b83811015614d2a578181015183820152602001614d12565b50506000910152565b60008151808452614d4b816020860160208601614d0f565b601f01601f19169290920160200192915050565b6020815260006110256020830184614d33565b600060208284031215614d8457600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114611b0157600080fd5b60008060408385031215614dc957600080fd5b614dd283614d9f565b946020939093013593505050565b600080600060608486031215614df557600080fd5b83359250614e0560208501614d9f565b9150604084013590509250925092565b600060208284031215614e2757600080fd5b61102582614d9f565b60008083601f840112614e4257600080fd5b5081356001600160401b03811115614e5957600080fd5b602083019150836020828501011115614e7157600080fd5b9250929050565b600080600080600080600080600060c08a8c031215614e9657600080fd5b89356001600160401b0380821115614ead57600080fd5b614eb98d838e01614e30565b909b50995060208c0135915080821115614ed257600080fd5b614ede8d838e01614e30565b9099509750879150614ef260408d01614d9f565b9650614f0060608d01614d9f565b9550614f0e60808d01614d9f565b945060a08c0135915080821115614f2457600080fd5b818c0191508c601f830112614f3857600080fd5b813581811115614f4757600080fd5b8d60208260051b8501011115614f5c57600080fd5b6020830194508093505050509295985092959850929598565b600060a08284031215614f8757600080fd5b50919050565b60008060008060006101208688031215614fa657600080fd5b614faf86614d9f565b9450602086013593506040860135925060608601359150614fd38760808801614f75565b90509295509295909350565b600080600060608486031215614ff457600080fd5b614ffd84614d9f565b9250614e0560208501614d9f565b60008060006060848603121561502057600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561504c57600080fd5b833592506020840135915061506360408501614d9f565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156150aa576150aa61506c565b604052919050565b60006001600160401b038211156150cb576150cb61506c565b50601f01601f191660200190565b600082601f8301126150ea57600080fd5b81356150fd6150f8826150b2565b615082565b81815284602083860101111561511257600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561514257600080fd5b61514b83614d9f565b915060208301356001600160401b0381111561516657600080fd5b615172858286016150d9565b9150509250929050565b6000806040838503121561518f57600080fd5b50508035926020909101359150565b801515811461154c57600080fd5b6000806000806000608086880312156151c457600080fd5b8535945060208601356001600160401b038111156151e157600080fd5b6151ed88828901614e30565b90955093505060408601356152018161519e565b9150614fd360608701614d9f565b60008060006040848603121561522457600080fd5b8335925060208401356001600160401b0381111561524157600080fd5b61524d86828701614e30565b9497909650939450505050565b6000806040838503121561526d57600080fd5b61527683614d9f565b915060208301356152868161519e565b809150509250929050565b600080600080608085870312156152a757600080fd5b6152b085614d9f565b93506152be60208601614d9f565b92506040850135915060608501356001600160401b038111156152e057600080fd5b6152ec878288016150d9565b91505092959194509250565b6000806040838503121561530b57600080fd5b8235915060208301356001811061528657600080fd5b600080600060e0848603121561533657600080fd5b83359250602084013591506150638560408601614f75565b6000806040838503121561536157600080fd5b8235915061537160208401614d9f565b90509250929050565b6001600160a01b038616815260ff8516602082015260a0604082018190526000906153a790830186614d33565b606083019490945250608001529392505050565b600080604083850312156153ce57600080fd5b6153d783614d9f565b915061537160208401614d9f565b6000806000606084860312156153fa57600080fd5b61540384614d9f565b925060208401359150604084013561541a8161519e565b809150509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561545d57835183529284019291840191600101615441565b50909695505050505050565b600181811c9082168061547d57607f821691505b602082108103614f8757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600083516154c5818460208801614d0f565b64736c6f742f60d81b90830190815283516154e7816005840160208801614d0f565b01600501949350505050565b60006020828403121561550557600080fd5b81516001600160401b0381111561551b57600080fd5b8201601f8101841361552c57600080fd5b805161553a6150f8826150b2565b81815285602083850101111561554f57600080fd5b614bfd826020830160208601614d0f565b634e487b7160e01b600052601160045260246000fd5b60006001820161558857615588615560565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60c0815260006155cc60c083018b8d61558f565b6020838203818501526155e0828b8d61558f565b6001600160a01b038a811660408701528981166060870152888116608087015285820360a087015286825287935090820160005b87811015615639578261562686614d9f565b1682529383019390830190600101615614565b509e9d5050505050505050505050505050565b634e487b7160e01b600052602160045260246000fd5b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b602080825260199082015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604082015260600190565b601f8211156114ee57600081815260208120601f850160051c810160208610156157a65750805b601f850160051c820191505b818110156114ae578281556001016157b2565b600019600383901b1c191660019190911b1790565b6001600160401b038311156157f1576157f161506c565b615805836157ff8354615469565b8361577f565b6000601f84116001811461583357600085156158215750838201355b61582b86826157c5565b845550611de1565b600083815260209020601f19861690835b828110156158645786850135825560209485019460019092019101615844565b50868210156158815760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b039390931683526020830191909152604082015260600190565b600083516158c6818460208801614d0f565b8351908301906158da818360208801614d0f565b01949350505050565b600083516158f5818460208801614d0f565b68636f6e74726163742f60b81b908301908152835161591b816009840160208801614d0f565b01600901949350505050565b81810381811115610e3757610e37615560565b80820180821115610e3757610e37615560565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6003811061154c57634e487b7160e01b600052602160045260246000fd5b8235815260c081016020840135600381106159d057600080fd5b6159d981615998565b60208301526159ea60408501614d9f565b6001600160a01b03818116604085015280615a0760608801614d9f565b16606085015280615a1a60808801614d9f565b16608085015250508260a08301529392505050565b600060208284031215615a4157600080fd5b5051919050565b83815260608101615a5884615998565b836020830152615a6783615998565b826040830152949350505050565b600060208284031215615a8757600080fd5b81516110258161519e565b60018060a01b038616815284602082015283604082015282606082015260a060808201526000615ac560a0830184614d33565b979650505050505050565b600060208284031215615ae257600080fd5b815161102581614cdc565b81516001600160401b03811115615b0657615b0661506c565b615b1a81615b148454615469565b8461577f565b602080601f831160018114615b495760008415615b375750858301515b615b4185826157c5565b8655506114ae565b600085815260208120601f198616915b82811015615b7857888601518255948401946001909101908401615b59565b5085821015615b965787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090615bef90830184614d33565b9695505050505050565b8082028115828204841417610e3757610e37615560565b600081615c1f57615c1f615560565b506000190190565b60008251615c39818460208701614d0f565b919091019291505056fefca69b310bd19d275687ebe00b254b0772cf7a367c3f81a9a5a433f831fdc1dc3c63e605be3290ab6b04cfc46c6e1516e626d43236b034f09d7ede1d017beb0c0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc6360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc449b0a7e0acc0a95c71947cb19fdd122b42abca9bdfbd6707ca4f1e3fdaef05e416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220d7330646a875e4f26fcb13ad544a186e10245a7701630294c8816305d0a198b864736f6c63430008130033"; + "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e7565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811614620000e5576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051615d996200011f6000396000818161166c015281816116ac0152818161181b0152818161185b015261198e0152615d996000f3fe6080604052600436106104225760003560e01c80637dbded281161022f578063b5d6163511610139578063df2a7fe1116100b6578063e8a3d4851161007a578063e8a3d48514610d0d578063e985e9c514610d22578063f415999014610d6f578063ff17e23214610d9c578063ff85a97514610dbc57600080fd5b8063df2a7fe114610c43578063df7f453b14610c63578063e345e0bc14610c9c578063e4b50cb814610cbc578063e71fb11014610ced57600080fd5b8063c58dbbed116100fd578063c58dbbed14610bae578063c87b56dd14610bce578063ce6da01a14610bee578063d6fd317514610c01578063d7a78db814610c2357600080fd5b8063b5d6163514610b1b578063b88d4fde14610b3b578063babb898d14610b4e578063bfea1f9714610b6e578063c2a366fb14610b8e57600080fd5b806395d89b41116101c7578063a217fddf1161018b578063a217fddf14610a76578063a22cb46514610a8b578063a578c09314610aab578063a8fa8e0d14610adb578063b4bd857914610afb57600080fd5b806395d89b41146109e157806395ea5717146109f65780639c7525e614610a165780639cc7f70814610a36578063a05b775f14610a5657600080fd5b80637dbded28146108dd57806381e9ff19146108fd57806382d66d5f1461091f57806383b2b2761461093f578063840f71131461095f5780638423df791461097f5780638cb0a511146109935780638eb7a776146109a157806390eddd52146109c157600080fd5b80633568dd291161033057806351da912d116102c85780636623fc461161028c5780636623fc461461083b5780636dba27291461085b5780636f7caf411461087b57806370a082311461089d57806370f08160146108bd57600080fd5b806351da912d1461078d57806352d1902d146107ad578063572b6c05146107c25780635c41d2fe146107fb5780636352211e1461081b57600080fd5b80633568dd29146106855780633659cfe6146106a557806336e45041146106c55780633e7e8669146106e557806342842e0e1461070757806342966c681461071a5780634d93172d1461073a5780634f1ef2861461075a5780634f6ccce71461076d57600080fd5b806320c5429b116103be5780632d33d27a116103825780632d33d27a146105dc5780632f745c59146105fc578063310ed7f01461061c57806334d7a95e1461062f57806334e37b8a1461066557600080fd5b806320c5429b1461055657806323287f241461057657806323b872dd14610589578063263f3e7e1461059c578063281b1edb146105bc57600080fd5b806301ffc9a71461042757806306fdde031461045c578063081812fc1461047e578063095ea7b3146104ab57806309c3dd87146104c05780630f485c02146104e0578063157000521461050157806318160ddd146105215780631c69e86714610536575b600080fd5b34801561043357600080fd5b50610447610442366004614d2c565b610ddc565b60405190151581526020015b60405180910390f35b34801561046857600080fd5b50610471610e3d565b6040516104539190614d99565b34801561048a57600080fd5b5061049e610499366004614dac565b610ecf565b6040516104539190614dc5565b6104be6104b9366004614df0565b610f21565b005b3480156104cc57600080fd5b506104716104db366004614dac565b610f3a565b6104f36104ee366004614e1a565b61102c565b604051908152602001610453565b34801561050d57600080fd5b506104be61051c366004614e4f565b61106b565b34801561052d57600080fd5b50609d546104f3565b34801561054257600080fd5b506104be610551366004614eb2565b6110cb565b34801561056257600080fd5b506104be610571366004614dac565b6113c6565b6104be610584366004614fc7565b61141a565b6104be610597366004615019565b6114b6565b3480156105a857600080fd5b506104f36105b7366004614dac565b6114f3565b3480156105c857600080fd5b506104be6105d7366004614e4f565b61153b565b3480156105e857600080fd5b5060cc5461049e906001600160a01b031681565b34801561060857600080fd5b506104f3610617366004614df0565b61154f565b6104be61062a366004615045565b6115f0565b34801561063b57600080fd5b5061049e61064a366004614dac565b600090815260d260205260409020546001600160a01b031690565b34801561067157600080fd5b506104be610680366004614e4f565b61160d565b34801561069157600080fd5b506104be6106a0366004614df0565b611645565b3480156106b157600080fd5b506104be6106c0366004614e4f565b611662565b3480156106d157600080fd5b506104be6106e0366004615071565b611727565b3480156106f157600080fd5b50609a5460405160ff9091168152602001610453565b6104be610715366004615019565b61177d565b34801561072657600080fd5b506104be610735366004614dac565b611798565b34801561074657600080fd5b506104be610755366004614e4f565b6117ad565b6104be610768366004615169565b611811565b34801561077957600080fd5b506104f3610788366004614dac565b6118c6565b34801561079957600080fd5b506104be6107a83660046151b6565b611957565b3480156107b957600080fd5b506104f3611981565b3480156107ce57600080fd5b506104476107dd366004614e4f565b6001600160a01b031660009081526097602052604090205460ff1690565b34801561080757600080fd5b506104be610816366004614e4f565b611a2f565b34801561082757600080fd5b5061049e610836366004614dac565b611a96565b34801561084757600080fd5b506104be610856366004614dac565b611b06565b34801561086757600080fd5b50610447610876366004614df0565b611b1b565b34801561088757600080fd5b506104f3600080516020615cfd83398151915281565b3480156108a957600080fd5b506104f36108b8366004614e4f565b611b36565b3480156108c957600080fd5b506104be6108d8366004614df0565b611bbe565b3480156108e957600080fd5b506104be6108f83660046151e6565b611bd7565b34801561090957600080fd5b506104f3600080516020615c7d83398151915281565b34801561092b57600080fd5b506104be61093a366004614df0565b611de8565b34801561094b57600080fd5b506104be61095a3660046151b6565b611e01565b34801561096b57600080fd5b5060a05461049e906001600160a01b031681565b34801561098b57600080fd5b506001610447565b6104be6104b9366004614e1a565b3480156109ad57600080fd5b506104be6109bc366004615071565b611e2b565b3480156109cd57600080fd5b506104be6109dc366004614df0565b611e4b565b3480156109ed57600080fd5b50610471611e64565b348015610a0257600080fd5b50610471610a11366004614dac565b611e73565b348015610a2257600080fd5b506104be610a31366004615249565b611f15565b348015610a4257600080fd5b506104f3610a51366004614dac565b611fe7565b348015610a6257600080fd5b506104f3610a71366004614dac565b61202f565b348015610a8257600080fd5b506104f3600081565b348015610a9757600080fd5b506104be610aa6366004615294565b61204d565b348015610ab757600080fd5b50610447610ac6366004614dac565b60ce6020526000908152604090205460ff1681565b348015610ae757600080fd5b506104be610af6366004615019565b61205f565b348015610b0757600080fd5b506104f3610b16366004614dac565b6121e8565b348015610b2757600080fd5b506104be610b36366004615071565b6121fc565b6104be610b493660046152cb565b61221c565b348015610b5a57600080fd5b50610447610b69366004615071565b61224f565b348015610b7a57600080fd5b50610447610b89366004615332565b612280565b348015610b9a57600080fd5b50610447610ba9366004614df0565b6122b3565b348015610bba57600080fd5b506104be610bc9366004614e4f565b6122ce565b348015610bda57600080fd5b50610471610be9366004614dac565b612364565b6104be610bfc36600461535b565b612403565b348015610c0d57600080fd5b506104f3600080516020615c9d83398151915281565b348015610c2f57600080fd5b506104be610c3e366004614dac565b612430565b348015610c4f57600080fd5b506104f3610c5e3660046151b6565b612445565b348015610c6f57600080fd5b50610447610c7e366004614e4f565b6001600160a01b0316600090815260cb602052604090205460ff1690565b348015610ca857600080fd5b506104f3610cb7366004615388565b612464565b348015610cc857600080fd5b50610cdc610cd7366004614dac565b612498565b6040516104539594939291906153b4565b348015610cf957600080fd5b506104be610d08366004614e4f565b6124f8565b348015610d1957600080fd5b50610471612509565b348015610d2e57600080fd5b50610447610d3d3660046153f5565b6001600160a01b039182166000908152609f602090815260408083209390941682526002909201909152205460ff1690565b348015610d7b57600080fd5b50610d8f610d8a36600461541f565b612603565b604051610453919061545f565b348015610da857600080fd5b50610447610db7366004614df0565b6126bc565b348015610dc857600080fd5b50610447610dd7366004614dac565b6126d6565b60006001600160e01b03198216630354d60560e61b1480610e0d57506001600160e01b031982166380ac58cd60e01b145b80610e2857506001600160e01b031982166370b0048160e11b145b80610e375750610e37826126e3565b92915050565b606060988054610e4c906154a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e78906154a3565b8015610ec55780601f10610e9a57610100808354040283529160200191610ec5565b820191906000526020600020905b815481529060010190602001808311610ea857829003601f168201915b5050505050905090565b6000610eda82612718565b6000828152609e6020526040902054609d80549091908110610efe57610efe6154d7565b60009182526020909120600460069092020101546001600160a01b031692915050565b60405163c03a3ff560e01b815260040160405180910390fd5b60606000610f5360408051602081019091526000815290565b60a0549091506001600160a01b0316610fb3576000815111610f845760405180602001604052806000815250611025565b80610f8e8461273d565b604051602001610f9f9291906154ed565b604051602081830303815290604052611025565b60a054604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b600060405180830381865afa158015610ffd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611025919081019061552d565b9392505050565b60006110406110396127cf565b85846127de565b61104984612859565b90506110608382611059876114f3565b6000612863565b61102584828461298d565b611073612c6c565b6040516001600160a01b038216907f286f82d2b1e37b5e9f33e455d014b4a5f6c29388e6e41e1281d4c83e04f4265590600090a26001600160a01b0316600090815260cb60205260409020805460ff19166001179055565b600054610100900460ff16158080156110eb5750600054600160ff909116105b8061110c57506110fa30612c7e565b15801561110c575060005460ff166001145b6111745760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff191660011790558015611197576000805461ff0019166101001790555b6001600160a01b0386166111be57604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b0385166111e557604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03841661120c57604051630ca2c90160e21b815260040160405180910390fd5b60005b8281101561127957600084848381811061122b5761122b6154d7565b90506020020160208101906112409190614e4f565b6001600160a01b03160361126757604051630ca2c90160e21b815260040160405180910390fd5b80611271816155b9565b91505061120f565b506112ed8a8a8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8e018190048102820181019092528c815292508c91508b908190840183828082843760009201829052509250612c8d915050565b6112f78383612cbf565b61130085612cf8565b61130984612d42565b6001600160a01b038616600090815260cb602052604090819020805460ff19166001179055517fe985d3de7118f12afc4791760312703563be41d60407308ef7b5771d0c58383f9061136c908c908c908c908c908c908c908c908c908c906155fb565b60405180910390a180156113ba576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050505050565b6113d76113d2826114f3565b612d8c565b600081815260cf6020526040808220805460ff191660021790555182917fdb43aa42235c8d63908794a952603e8d43a549383d13123c3d893a3fc2e6249591a250565b61142384612d8c565b61142d8185612da4565b600061143b86866001612e3f565b90506000841161148d5760405162461bcd60e51b815260206004820181905260248201527f54455354204d4f44453a20457870697279206d757374206265203e207a65726f604482015260640161116b565b600081815260d06020526040902084905582156114ae576114ae8184612e57565b505050505050565b6114c76114c16127cf565b50600090565b6114e35760405162461bcd60e51b815260040161116b906156a5565b6114ee838383612ea6565b505050565b60006114fe82612718565b6000828152609e6020526040902054609d80549091908110611522576115226154d7565b9060005260206000209060060201600101549050919050565b611543612c6c565b61154c81612d42565b50565b600061155a83611b36565b82106115b35760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161116b565b6001600160a01b0383166000908152609f602052604090208054839081106115dd576115dd6154d7565b9060005260206000200154905092915050565b6116026115fb6127cf565b84836127de565b6114ee83838361298d565b611615612c6c565b6001600160a01b03811661163c57604051630ca2c90160e21b815260040160405180910390fd5b61154c81612cf8565b61165e600080516020615c9d8339815191528284611e2b565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036116aa5760405162461bcd60e51b815260040161116b906156f7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166116dc612ff5565b6001600160a01b0316146117025760405162461bcd60e51b815260040161116b90615743565b61170b81613011565b6040805160008082526020820190925261154c91839190613019565b61172f6127cf565b6001600160a01b0316816001600160a01b031614611772576040516307ca099360e31b8152600481018490526001600160a01b038216602482015260440161116b565b6114ee838383613184565b6114ee8383836040518060200160405280600081525061221c565b6117a46113d2826114f3565b61154c81613220565b6117b5612c6c565b6117da816001600160a01b03166000908152609760205260409020805460ff19169055565b6040516001600160a01b038216907fb96d15bf9258c7b8df062753a6a262864611fc7b060a5ee2e57e79b85f898d3890600090a250565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036118595760405162461bcd60e51b815260040161116b906156f7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661188b612ff5565b6001600160a01b0316146118b15760405162461bcd60e51b815260040161116b90615743565b6118ba82613011565b61165e82826001613019565b60006118d1609d5490565b821061192b5760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161116b565b609d828154811061193e5761193e6154d7565b9060005260206000209060060201600001549050919050565b611977600080516020615c9d833981519152611972846114f3565b61331d565b61165e8282612e57565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611a1c5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161116b565b50600080516020615cdd83398151915290565b611a37612c6c565b611a5f816001600160a01b03166000908152609760205260409020805460ff19166001179055565b6040516001600160a01b038216907f0ea0ce2c048ff45a4a95f2947879de3fb94abec2f152190400cab2d1272a68e790600090a250565b6000611aa182612718565b6000828152609e6020526040902054609d80549091908110611ac557611ac56154d7565b60009182526020909120600360069092020101546001600160a01b0316905080611b015760405162461bcd60e51b815260040161116b9061578f565b919050565b611b126113d2826114f3565b61154c8161332f565b6000611025600080516020615c9d833981519152838561224f565b60006001600160a01b038216611ba25760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161116b565b506001600160a01b03166000908152609f602052604090205490565b61165e600080516020615c9d83398151915282846121fc565b6000839003611bf95760405163eb8abb6160e01b815260040160405180910390fd5b600085815260d1602052604090208054611c12906154a3565b159050611c3557604051636f55f62b60e01b81526004810186905260240161116b565b600085815260d160205260409020611c4e84868361581d565b508115611d7357600085815260ce60205260409020805460ff19168315151790556001600160a01b038116611c9657604051630ca2c90160e21b815260040160405180910390fd5b611ca8816001600160a01b0316612c7e565b611cc7578060405163d4daafa160e01b815260040161116b9190614dc5565b611ce0600080516020615c7d83398151915286836133d6565b611cf9600080516020615cfd83398151915286836133d6565b611d20600080516020615cfd83398151915286600080516020615c7d833981519152613467565b611d47600080516020615c9d83398151915286600080516020615c7d833981519152613467565b611d6e600080516020615c7d83398151915286600080516020615c7d833981519152613467565b611de1565b611d93600080516020615cfd83398151915286611d8e6127cf565b6133d6565b611dba600080516020615cfd83398151915286600080516020615cfd833981519152613467565b611de1600080516020615c9d83398151915286600080516020615cfd833981519152613467565b5050505050565b61165e600080516020615cfd8339815191528284611e2b565b611e19600080516020615cfd8339815191528361331d565b600091825260d3602052604090912055565b611e358383612445565b82611e40828261331d565b611de1858585613184565b61165e600080516020615cfd83398151915282846121fc565b606060998054610e4c906154a3565b600081815260d160205260409020805460609190611e90906154a3565b80601f0160208091040260200160405190810160405280929190818152602001828054611ebc906154a3565b8015611f095780601f10611ede57610100808354040283529160200191611f09565b820191906000526020600020905b815481529060010190602001808311611eec57829003601f168201915b50505050509050919050565b6000819003611f375760405163eb8abb6160e01b815260040160405180910390fd5b600083815260d1602052604090208054611f50906154a3565b9050600003611f7557604051630817886d60e41b81526004810184905260240161116b565b611f90600080516020615cfd83398151915284610b696127cf565b611fc857611f9c6127cf565b83600080516020615cfd83398151915260405163c8c801a760e01b815260040161116b939291906158d6565b600083815260d160205260409020611fe182848361581d565b50505050565b6000611ff282612718565b6000828152609e6020526040902054609d80549091908110612016576120166154d7565b9060005260206000209060060201600201549050919050565b600061203a826134d2565b50600090815260d0602052604090205490565b61165e6120586127cf565b83836134fb565b600081815260ce602052604090205460ff166120915760405163db53ce7160e01b81526004810182905260240161116b565b6120aa600080516020615c7d83398151915282856135ce565b6001600160a01b0382166120d157604051630ca2c90160e21b815260040160405180910390fd5b6120e3826001600160a01b0316612c7e565b612102578160405163d4daafa160e01b815260040161116b9190614dc5565b61211b600080516020615c7d83398151915282846121fc565b612134600080516020615cfd83398151915282846121fc565b61214d600080516020615c9d83398151915282846121fc565b612166600080516020615c9d8339815191528285611e2b565b61217f600080516020615cfd8339815191528285611e2b565b612198600080516020615c7d8339815191528285611e2b565b604080516001600160a01b038086168252841660208201529081018290527f744258a28673e8738e2812c0ab8e8dbd70352f8871b1febac0dd753d96d79f589060600160405180910390a1505050565b600081815260cd6020526040812054610e37565b6122068383612445565b82612211828261331d565b611de18585856133d6565b6122276114c16127cf565b6122435760405162461bcd60e51b815260040161116b906156a5565b611fe1848484846135fc565b600091825260ca602090815260408084209484529381528383206001600160a01b0392909216835252205460ff1690565b60006110258280156122945761229461568f565b600085815260d3602052604090205490600160ff919091161b16151590565b6000611025600080516020615cfd833981519152838561224f565b6122d6612c6c565b6122de6127cf565b6001600160a01b0316816001600160a01b03160361230f57604051634a19f28160e01b815260040160405180910390fd5b6040516001600160a01b038216907ffb445f6ec07647d2bb7af72821e6b8b7303ec375e934d4a338d38ed5846c2d5690600090a26001600160a01b0316600090815260cb60205260409020805460ff19169055565b606061236f82612718565b600061238660408051602081019091526000815290565b60a0549091506001600160a01b03166123d25760008151116123b75760405180602001604052806000815250611025565b806123c18461273d565b604051602001610f9f9291906158f7565b60a0546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401610fe0565b600061240e846114f3565b905061241c6113d2856114f3565b612426848461366f565b611fe18282612da4565b61243c6113d2826114f3565b61154c816136cb565b600090815260ca60209081526040808320938352929052206001015490565b600061246f83612718565b506000918252609c602090815260408084206001600160a01b0393909316845291905290205490565b60008060606000806124a986611a96565b600087815260cf602052604090205490955060ff1660028111156124cf576124cf61568f565b600096875260d0602090815260408089205460cd90925290972054959790969395939450915050565b612500612c6c565b61154c81613719565b6060600061252260408051602081019091526000815290565b60a0549091506001600160a01b031661258257600081511161255357604051806020016040528060008152506125fd565b8061255d30613763565b60405160200161256e929190615926565b6040516020818303038152906040526125fd565b60a060009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156125d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125fd919081019061552d565b91505090565b6060600080612613868686613779565b915091506000816001600160401b03811115612631576126316150a6565b60405190808252806020026020018201604052801561265a578160200160208202803683370190505b50905060005b828110156126b15783818151811061267a5761267a6154d7565b6020026020010151828281518110612694576126946154d7565b6020908102919091010152806126a9816155b9565b915050612660565b509695505050505050565b6000806126cb84846001613779565b151595945050505050565b6000610e3782600061385f565b60006001600160e01b031982166333cb74f560e11b1480610e3757506301ffc9a760e01b6001600160e01b0319831614610e37565b61272181613973565b61154c5760405162461bcd60e51b815260040161116b9061578f565b6060600061274a836139bf565b60010190506000816001600160401b03811115612769576127696150a6565b6040519080825280601f01601f191660200182016040528015612793576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461279d57509392505050565b60006127d9613a97565b905090565b60006127ea8385612464565b90506000198114611fe157818110156128455760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e636500604482015260640161116b565b611fe18385612854858561596a565b613ace565b6000610e37613bfd565b6001600160a01b0384166128c35760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161116b565b8260000361291d5760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b606482015260840161116b565b61292683613973565b156129735760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e746564000000604482015260640161116b565b61297e848484613c17565b6129888382613ccb565b611fe1565b61299683613973565b6129f25760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b606482015260840161116b565b6129fb82613973565b612a555760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b606482015260840161116b565b6000838152609e6020526040812054609d80549091908110612a7957612a796154d7565b906000526020600020906006020190506000609d609e60008681526020019081526020016000205481548110612ab157612ab16154d7565b906000526020600020906006020190508282600201541015612b285760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161116b565b8060010154826001015414612b965760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b606482015260840161116b565b82826002016000828254612baa919061596a565b9250508190555082816002016000828254612bc5919061597d565b909155505060405183815284908690600080516020615cbd8339815191529060200160405180910390a3612c0a85858560405180602001604052806000815250613d3e565b611de15760405162461bcd60e51b815260206004820152602d60248201527f455243333532353a207472616e736665722072656a656374656420627920455260448201526c21999a991aa932b1b2b4bb32b960991b606482015260840161116b565b612c7c612c776127cf565b613eb9565b565b6001600160a01b03163b151590565b600054610100900460ff16612cb45760405162461bcd60e51b815260040161116b90615990565b6114ee838383613ef4565b600054610100900460ff16612ce65760405162461bcd60e51b815260040161116b90615990565b612cee613f52565b61165e8282613f79565b60cc80546001600160a01b0319166001600160a01b0383169081179091556040517f5e4a30f4224898dbac86adca855a5edd3b8341a3aeb2b6ff0f0b5a82c013b65a90600090a250565b60d480546001600160a01b0319166001600160a01b0383169081179091556040517f6369e6a29b73ae27c65aa2678758ea2de84ebfbe9e00a08275110e78647286de90600090a250565b61154c600080516020615c9d8339815191528261331d565b60d45460405163a2793ecd60e01b81526001600160a01b039091169063a2793ecd903490612dd890869086906004016159f9565b6000604051808303818588803b158015612df157600080fd5b505af193505050508015612e03575060015b61165e573d808015612e31576040519150601f19603f3d011682016040523d82523d6000602084013e612e36565b606091505b50805181602001fd5b6000612e49613bfd565b905061102584828585612863565b600082815260cd602090815260409182902083905581518481529081018390527f5e07998cef9cea674942c66f0ea7b0bce89ab9473ce240cc93d616c3491f8aeb910160405180910390a15050565b826001600160a01b0316612eb982611a96565b6001600160a01b031614612f1b5760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b606482015260840161116b565b6001600160a01b038216612f7f5760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161116b565b6000612f8a826114f3565b90506000612f9783611fe7565b9050612fa4600084614012565b612fad836140a9565b612fb78584614154565b612fc18484614275565b82846001600160a01b0316866001600160a01b0316600080516020615d4483398151915260405160405180910390a4611de1565b600080516020615cdd833981519152546001600160a01b031690565b61154c612c6c565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561304c576114ee836142fe565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156130a6575060408051601f3d908101601f191682019092526130a391810190615a72565b60015b6131095760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161116b565b600080516020615cdd83398151915281146131785760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161116b565b506114ee838383614398565b61318f83838361224f565b156114ee57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff191690556131ce6127cf565b6001600160a01b0316816001600160a01b0316847f6f9148fcdc32766ca802c14716295d56eab7ed848d0dba113966f40087c883908560405161321391815260200190565b60405180910390a4505050565b61322981612718565b6000818152609e6020526040812054609d8054909190811061324d5761324d6154d7565b60009182526020909120600691909102016003810154600182015460028301549293506001600160a01b0390911691613285856140a9565b61328f8386614154565b613298856143bd565b600085600080516020615cbd833981519152836040516132ba91815260200190565b60405180910390a3600082867fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a460405185906000906001600160a01b03861690600080516020615d44833981519152908390a4611de1565b61165e828261332a6127cf565b6135ce565b613338816134d2565b6001600082815260cf602052604090205460ff16600281111561335d5761335d61568f565b1461339657600081815260cf6020526040908190205490516308c9ef2d60e11b815261116b91839160ff90911690600190600401615a8b565b600081815260cf6020526040808220805460ff191690555182917fe2babfd5e77285a3c3dbc4b25592cbe4a7a26e97a7ac63067a22ebdaa9b82add91a250565b6133e183838361224f565b6114ee57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff191660011790556134226127cf565b6001600160a01b0316816001600160a01b0316847f4dc88bd74ca601684356789d5b3dbc9cd44275b2544e8d35041203703b7682328560405161321391815260200190565b60006134738484612445565b600084815260ca6020908152604080832088845282529182902060010185905590518581529192508391839187917f15f4a36186b2284157fe71215a07487f6c8bdc1203b3307c3e1fd9693011d3d3910160405180910390a450505050565b6134db81613973565b61154c576040516321fbdd2b60e11b81526004810182905260240161116b565b816001600160a01b0316836001600160a01b03160361355c5760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c6572000000000000604482015260640161116b565b6001600160a01b038381166000818152609f602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b6135d983838361224f565b6114ee5780828460405163c8c801a760e01b815260040161116b939291906158d6565b613607848484612ea6565b613613848484846145cb565b611fe15760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b606482015260840161116b565b61367a826001614718565b600082815260d06020526040908190208290555182907f1ebc57da8b3ebab98506502fbb73232ea29fbe86e4963a5a8c004810ad11190d906136bf9084815260200190565b60405180910390a25050565b6136d6816001614718565b600081815260cf6020526040808220805460ff191660011790555182917f779fbee689bbd6f006ecb329206d35c7db7380f9837a8826fb8dc5cfcd3d33dd91a250565b60a080546001600160a01b0319166001600160a01b0383169081179091556040517f5252f52e45fc8ee6a7b43cef3645d23e9a470a34182b8b3a12627556635bfc9c90600090a250565b6060610e376001600160a01b038316601461474a565b606060008061378786611b36565b90506000816001600160401b038111156137a3576137a36150a6565b6040519080825280602002602001820160405280156137cc578160200160208202803683370190505b5090506000805b838110156138515760006137e78a8361154f565b9050886137f3826114f3565b14801561380e575087158061380e575061380e81600061385f565b1561383e5780848461381f816155b9565b955081518110613831576138316154d7565b6020026020010181815250505b5080613849816155b9565b9150506137d3565b509097909650945050505050565b600082815260cf602052604081205460ff16818160028111156138845761388461568f565b14613893576000915050610e37565b600061389e856114f3565b90506138ab816000612280565b1561390057600085815260d260205260409020546001600160a01b031680158015906138ed57506138eb600080516020615c9d833981519152838361224f565b155b156138fe5760009350505050610e37565b505b600061390b86611a96565b600087815260d0602052604090205490915015801590613929575084155b1561395e576001600160a01b038116158015906139545750600086815260d060205260409020544211155b9350505050610e37565b6001600160a01b031615159250610e37915050565b609d5460009015801590610e3757506000828152609e6020526040902054609d805484929081106139a6576139a66154d7565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106139fe5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613a2a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613a4857662386f26fc10000830492506010015b6305f5e1008310613a60576305f5e100830492506008015b6127108310613a7457612710830492506004015b60648310613a86576064830492506002015b600a8310610e375760010192915050565b3360009081526097602052604081205460ff168015613ab7575060143610155b15613ac9575060131936013560601c90565b503390565b6001600160a01b038216613b375760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b606482015260840161116b565b613b4182846148e5565b613ba7576000838152609e6020526040902054609d80549091908110613b6957613b696154d7565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b6000838152609c602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b91016135c1565b609b805460009182613c0e836155b9565b91905055905090565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a08201529050613c65816149b8565b613c6f8484614275565b60405183906001600160a01b03861690600090600080516020615d44833981519152908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b6000828152609e6020526040902054609d80548392908110613cef57613cef6154d7565b90600052602060002090600602016002016000828254613d0f919061597d565b90915550506040518181528290600090600080516020615cbd8339815191529060200160405180910390a35050565b600080613d4a85611a96565b9050803b63ffffffff1615613eab576040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa925050508015613dbf575060408051601f3d908101601f19168201909252613dbc91810190615ab8565b60015b613dfe573d808015613ded576040519150601f19603f3d011682016040523d82523d6000602084013e613df2565b606091505b50600192505050613eb1565b8015613ea0576000826001600160a01b0316629ce20b613e1c6127cf565b8a8a8a8a6040518663ffffffff1660e01b8152600401613e40959493929190615ad5565b6020604051808303816000875af1158015613e5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e839190615b13565b6001600160e01b031916629ce20b60e01b149350613eb192505050565b600192505050613eb1565b60019150505b949350505050565b6001600160a01b038116600090815260cb602052604090205460ff1661154c5780604051632957ccdd60e21b815260040161116b9190614dc5565b600054610100900460ff16613f1b5760405162461bcd60e51b815260040161116b90615990565b6001609b556098613f2c8482615b30565b506099613f398382615b30565b50609a805460ff191660ff929092169190911790555050565b600054610100900460ff16612c7c5760405162461bcd60e51b815260040161116b90615990565b600054610100900460ff16613fa05760405162461bcd60e51b815260040161116b90615990565b60005b818110156114ee57600160976000858585818110613fc357613fc36154d7565b9050602002016020810190613fd89190614e4f565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061400a816155b9565b915050613fa3565b6000818152609e6020526040902054609d80548492908110614036576140366154d7565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b039283161790558190831661407082611a96565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609e6020526040812054609d805490919081106140cd576140cd6154d7565b600091825260208220600560069092020190810154909250905b81811015614145576000836005018281548110614106576141066154d7565b6000918252602080832090910154878352609c825260408084206001600160a01b0390921684529152812055508061413d816155b9565b9150506140e7565b506114ee600583016000614c7e565b6000818152609e6020526040812054609d80549091908110614178576141786154d7565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b039485161790559184168152609f9091526040812080549091906141c79060019061596a565b905060008260000182815481106141e0576141e06154d7565b9060005260206000200154905060008360010160008681526020019081526020016000205490508184600001828154811061421d5761421d6154d7565b6000918252602080832090910192909255838152600186019091526040808220839055868252812055835484908061425757614257615be9565b60019003818190600052602060002001600090559055505050505050565b6000818152609e6020526040902054609d80548492908110614299576142996154d7565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152609f80845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b61430781612c7e565b6143695760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161116b565b600080516020615cdd83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6143a183614b0a565b6000825111806143ae5750805b156114ee57611fe18383614b4a565b609d546000906143cf9060019061596a565b6000838152609e6020526040812054609d80549394509092849081106143f7576143f76154d7565b60009182526020918290206040805160c08101825260069093029091018054835260018101548385015260028101548383015260038101546001600160a01b03908116606085015260048201541660808401526005810180548351818702810187019094528084529394919360a0860193928301828280156144a257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311614484575b505050505081525050905080609d83815481106144c1576144c16154d7565b600091825260209182902083516006909202019081558282015160018201556040830151600282015560608301516003820180546001600160a01b039283166001600160a01b031991821617909155608085015160048401805491909316911617905560a08301518051919261453f92600585019290910190614c9c565b505081516000908152609e602052604080822085905586825281205550609d80548061456d5761456d615be9565b60008281526020812060066000199093019283020181815560018101829055600281018290556003810180546001600160a01b03199081169091556004820180549091169055906145c16005830182614c7e565b5050905550505050565b6000833b63ffffffff161561471057836001600160a01b031663150b7a026145f16127cf565b8786866040518563ffffffff1660e01b81526004016146139493929190615bff565b6020604051808303816000875af192505050801561464e575060408051601f3d908101601f1916820190925261464b91810190615b13565b60015b6146f6573d80801561467c576040519150601f19603f3d011682016040523d82523d6000602084013e614681565b606091505b5080516000036146ee5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161116b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613eb1565b506001613eb1565b614722828261385f565b61165e576040516316af84a960e21b815260048101839052811515602482015260440161116b565b60606000614759836002615c32565b61476490600261597d565b6001600160401b0381111561477b5761477b6150a6565b6040519080825280601f01601f1916602001820160405280156147a5576020820181803683370190505b509050600360fc1b816000815181106147c0576147c06154d7565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106147ef576147ef6154d7565b60200101906001600160f81b031916908160001a9053506000614813846002615c32565b61481e90600161597d565b90505b6001811115614896576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110614852576148526154d7565b1a60f81b828281518110614868576148686154d7565b60200101906001600160f81b031916908160001a90535060049490941c9361488f81615c49565b9050614821565b5083156110255760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161116b565b6000818152609e6020526040812054609d80548392908110614909576149096154d7565b6000918252602082206005600690920201015491505b818110156149ad576000848152609e6020526040902054609d80546001600160a01b03881692908110614954576149546154d7565b90600052602060002090600602016005018281548110614976576149766154d7565b6000918252602090912001546001600160a01b03160361499b57600192505050610e37565b806149a5816155b9565b91505061491f565b506000949350505050565b609d805482516000908152609e6020908152604080832084905560018401855593909152835160069092027fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7b8101928355818501517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7c820155928401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7d84015560608401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7e840180546001600160a01b039283166001600160a01b03199182161790915560808601517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7f8601805491909316911617905560a084015180518594611fe1937fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf80909101920190614c9c565b614b13816142fe565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110258383604051806060016040528060278152602001615d1d602791396060600080856001600160a01b031685604051614b879190615c60565b600060405180830381855af49150503d8060008114614bc2576040519150601f19603f3d011682016040523d82523d6000602084013e614bc7565b606091505b5091509150614bd886838387614be2565b9695505050505050565b60608315614c4f578251600003614c4857614bfc85612c7e565b614c485760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161116b565b5081613eb1565b613eb18383815115614c645781518083602001fd5b8060405162461bcd60e51b815260040161116b9190614d99565b508054600082559060005260206000209081019061154c9190614d01565b828054828255906000526020600020908101928215614cf1579160200282015b82811115614cf157825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614cbc565b50614cfd929150614d01565b5090565b5b80821115614cfd5760008155600101614d02565b6001600160e01b03198116811461154c57600080fd5b600060208284031215614d3e57600080fd5b813561102581614d16565b60005b83811015614d64578181015183820152602001614d4c565b50506000910152565b60008151808452614d85816020860160208601614d49565b601f01601f19169290920160200192915050565b6020815260006110256020830184614d6d565b600060208284031215614dbe57600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114611b0157600080fd5b60008060408385031215614e0357600080fd5b614e0c83614dd9565b946020939093013593505050565b600080600060608486031215614e2f57600080fd5b83359250614e3f60208501614dd9565b9150604084013590509250925092565b600060208284031215614e6157600080fd5b61102582614dd9565b60008083601f840112614e7c57600080fd5b5081356001600160401b03811115614e9357600080fd5b602083019150836020828501011115614eab57600080fd5b9250929050565b600080600080600080600080600060c08a8c031215614ed057600080fd5b89356001600160401b0380821115614ee757600080fd5b614ef38d838e01614e6a565b909b50995060208c0135915080821115614f0c57600080fd5b614f188d838e01614e6a565b9099509750879150614f2c60408d01614dd9565b9650614f3a60608d01614dd9565b9550614f4860808d01614dd9565b945060a08c0135915080821115614f5e57600080fd5b818c0191508c601f830112614f7257600080fd5b813581811115614f8157600080fd5b8d60208260051b8501011115614f9657600080fd5b6020830194508093505050509295985092959850929598565b600060a08284031215614fc157600080fd5b50919050565b60008060008060006101208688031215614fe057600080fd5b614fe986614dd9565b945060208601359350604086013592506060860135915061500d8760808801614faf565b90509295509295909350565b60008060006060848603121561502e57600080fd5b61503784614dd9565b9250614e3f60208501614dd9565b60008060006060848603121561505a57600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561508657600080fd5b833592506020840135915061509d60408501614dd9565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156150e4576150e46150a6565b604052919050565b60006001600160401b03821115615105576151056150a6565b50601f01601f191660200190565b600082601f83011261512457600080fd5b8135615137615132826150ec565b6150bc565b81815284602083860101111561514c57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561517c57600080fd5b61518583614dd9565b915060208301356001600160401b038111156151a057600080fd5b6151ac85828601615113565b9150509250929050565b600080604083850312156151c957600080fd5b50508035926020909101359150565b801515811461154c57600080fd5b6000806000806000608086880312156151fe57600080fd5b8535945060208601356001600160401b0381111561521b57600080fd5b61522788828901614e6a565b909550935050604086013561523b816151d8565b915061500d60608701614dd9565b60008060006040848603121561525e57600080fd5b8335925060208401356001600160401b0381111561527b57600080fd5b61528786828701614e6a565b9497909650939450505050565b600080604083850312156152a757600080fd5b6152b083614dd9565b915060208301356152c0816151d8565b809150509250929050565b600080600080608085870312156152e157600080fd5b6152ea85614dd9565b93506152f860208601614dd9565b92506040850135915060608501356001600160401b0381111561531a57600080fd5b61532687828801615113565b91505092959194509250565b6000806040838503121561534557600080fd5b823591506020830135600181106152c057600080fd5b600080600060e0848603121561537057600080fd5b833592506020840135915061509d8560408601614faf565b6000806040838503121561539b57600080fd5b823591506153ab60208401614dd9565b90509250929050565b6001600160a01b038616815260ff8516602082015260a0604082018190526000906153e190830186614d6d565b606083019490945250608001529392505050565b6000806040838503121561540857600080fd5b61541183614dd9565b91506153ab60208401614dd9565b60008060006060848603121561543457600080fd5b61543d84614dd9565b9250602084013591506040840135615454816151d8565b809150509250925092565b6020808252825182820181905260009190848201906040850190845b818110156154975783518352928401929184019160010161547b565b50909695505050505050565b600181811c908216806154b757607f821691505b602082108103614fc157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600083516154ff818460208801614d49565b64736c6f742f60d81b9083019081528351615521816005840160208801614d49565b01600501949350505050565b60006020828403121561553f57600080fd5b81516001600160401b0381111561555557600080fd5b8201601f8101841361556657600080fd5b8051615574615132826150ec565b81815285602083850101111561558957600080fd5b61559a826020830160208601614d49565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b6000600182016155cb576155cb6155a3565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60c08152600061560f60c083018b8d6155d2565b602083820381850152615623828b8d6155d2565b6001600160a01b038a811660408701528981166060870152888116608087015285820360a087015286825287935090820160005b8781101561567c578261566986614dd9565b1682529383019390830190600101615657565b509e9d5050505050505050505050505050565b634e487b7160e01b600052602160045260246000fd5b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b602080825260199082015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604082015260600190565b601f8211156114ee57600081815260208120601f850160051c810160208610156157e95750805b601f850160051c820191505b818110156114ae578281556001016157f5565b600019600383901b1c191660019190911b1790565b6001600160401b03831115615834576158346150a6565b6158488361584283546154a3565b836157c2565b6000601f84116001811461587657600085156158645750838201355b61586e8682615808565b845550611de1565b600083815260209020601f19861690835b828110156158a75786850135825560209485019460019092019101615887565b50868210156158c45760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b039390931683526020830191909152604082015260600190565b60008351615909818460208801614d49565b83519083019061591d818360208801614d49565b01949350505050565b60008351615938818460208801614d49565b68636f6e74726163742f60b81b908301908152835161595e816009840160208801614d49565b01600901949350505050565b81810381811115610e3757610e376155a3565b80820180821115610e3757610e376155a3565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6003811061154c57634e487b7160e01b600052602160045260246000fd5b8235815260c08101602084013560038110615a1357600080fd5b615a1c816159db565b6020830152615a2d60408501614dd9565b6001600160a01b03818116604085015280615a4a60608801614dd9565b16606085015280615a5d60808801614dd9565b16608085015250508260a08301529392505050565b600060208284031215615a8457600080fd5b5051919050565b83815260608101615a9b846159db565b836020830152615aaa836159db565b826040830152949350505050565b600060208284031215615aca57600080fd5b8151611025816151d8565b60018060a01b038616815284602082015283604082015282606082015260a060808201526000615b0860a0830184614d6d565b979650505050505050565b600060208284031215615b2557600080fd5b815161102581614d16565b81516001600160401b03811115615b4957615b496150a6565b615b5d81615b5784546154a3565b846157c2565b602080601f831160018114615b8c5760008415615b7a5750858301515b615b848582615808565b8655506114ae565b600085815260208120601f198616915b82811015615bbb57888601518255948401946001909101908401615b9c565b5085821015615bd95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614bd890830184614d6d565b8082028115828204841417610e3757610e376155a3565b600081615c5857615c586155a3565b506000190190565b60008251615c72818460208701614d49565b919091019291505056fefca69b310bd19d275687ebe00b254b0772cf7a367c3f81a9a5a433f831fdc1dc3c63e605be3290ab6b04cfc46c6e1516e626d43236b034f09d7ede1d017beb0c0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc6360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc449b0a7e0acc0a95c71947cb19fdd122b42abca9bdfbd6707ca4f1e3fdaef05e416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220010895b2eb43d9aca658667b5705ce40b6b6359d5573f5d6b0804e01f38623df64736f6c63430008130033"; type GatewayTokenUpgradeTestConstructorParams = | [signer?: Signer] @@ -2311,36 +2316,37 @@ export class GatewayTokenUpgradeTest__factory extends ContractFactory { } } - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { + overrides?: NonPayableOverrides & { from?: string } + ): Promise { return super.getDeployTransaction(overrides || {}); } - override attach(address: string): GatewayTokenUpgradeTest { - return super.attach(address) as GatewayTokenUpgradeTest; + override deploy(overrides?: NonPayableOverrides & { from?: string }) { + return super.deploy(overrides || {}) as Promise< + GatewayTokenUpgradeTest & { + deploymentTransaction(): ContractTransactionResponse; + } + >; } - override connect(signer: Signer): GatewayTokenUpgradeTest__factory { - return super.connect(signer) as GatewayTokenUpgradeTest__factory; + override connect( + runner: ContractRunner | null + ): GatewayTokenUpgradeTest__factory { + return super.connect(runner) as GatewayTokenUpgradeTest__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): GatewayTokenUpgradeTestInterface { - return new utils.Interface(_abi) as GatewayTokenUpgradeTestInterface; + return new Interface(_abi) as GatewayTokenUpgradeTestInterface; } static connect( address: string, - signerOrProvider: Signer | Provider + runner?: ContractRunner | null ): GatewayTokenUpgradeTest { return new Contract( address, _abi, - signerOrProvider - ) as GatewayTokenUpgradeTest; + runner + ) as unknown as GatewayTokenUpgradeTest; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/StubMultisig__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/StubMultisig__factory.ts index f832af93e..1ac142571 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/StubMultisig__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/StubMultisig__factory.ts @@ -3,15 +3,19 @@ /* tslint:disable */ /* eslint-disable */ import { - Signer, - utils, Contract, ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { + Signer, BigNumberish, - Overrides, + AddressLike, + ContractDeployTransaction, + ContractRunner, } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; +import type { NonPayableOverrides } from "../../../common"; import type { StubMultisig, StubMultisigInterface, @@ -69,44 +73,45 @@ export class StubMultisig__factory extends ContractFactory { } } - override deploy( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - gatewayTokenContract, - gatekeeperNetwork, - overrides || {} - ) as Promise; - } override getDeployTransaction( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { + gatewayTokenContract: AddressLike, + gatekeeperNetwork: BigNumberish, + overrides?: NonPayableOverrides & { from?: string } + ): Promise { return super.getDeployTransaction( gatewayTokenContract, gatekeeperNetwork, overrides || {} ); } - override attach(address: string): StubMultisig { - return super.attach(address) as StubMultisig; + override deploy( + gatewayTokenContract: AddressLike, + gatekeeperNetwork: BigNumberish, + overrides?: NonPayableOverrides & { from?: string } + ) { + return super.deploy( + gatewayTokenContract, + gatekeeperNetwork, + overrides || {} + ) as Promise< + StubMultisig & { + deploymentTransaction(): ContractTransactionResponse; + } + >; } - override connect(signer: Signer): StubMultisig__factory { - return super.connect(signer) as StubMultisig__factory; + override connect(runner: ContractRunner | null): StubMultisig__factory { + return super.connect(runner) as StubMultisig__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): StubMultisigInterface { - return new utils.Interface(_abi) as StubMultisigInterface; + return new Interface(_abi) as StubMultisigInterface; } static connect( address: string, - signerOrProvider: Signer | Provider + runner?: ContractRunner | null ): StubMultisig { - return new Contract(address, _abi, signerOrProvider) as StubMultisig; + return new Contract(address, _abi, runner) as unknown as StubMultisig; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/GatewayTokenV0__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/GatewayTokenV0__factory.ts index 01df5a627..a81abc027 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/GatewayTokenV0__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/GatewayTokenV0__factory.ts @@ -2,9 +2,14 @@ // @ts-nocheck /* tslint:disable */ /* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; +import type { NonPayableOverrides } from "../../../../common"; import type { GatewayTokenV0, GatewayTokenV0Interface, @@ -2085,7 +2090,7 @@ const _abi = [ ] as const; const _bytecode = - "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e8565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e6576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b60805161574662000120600039600081816114f2015281816115320152818161166a015281816116aa01526117dd01526157466000f3fe6080604052600436106103b65760003560e01c806370f08160116101f9578063b4bd85791161011e578063df2a7fe1116100b6578063e71fb1101161007a578063e71fb11014610c32578063e8a3d48514610c52578063e985e9c514610c67578063ff17e23214610cb4578063ff85a97514610cd457600080fd5b8063df2a7fe114610b68578063df7f453b14610b88578063e0ed6a3114610bc1578063e345e0bc14610be1578063e4b50cb814610c0157600080fd5b8063b4bd857914610a53578063b5d6163514610a73578063b88d4fde14610a93578063babb898d14610aa6578063c2a366fb14610ac6578063c58dbbed14610ae6578063c87b56dd14610b06578063d6fd317514610b26578063d7a78db814610b4857600080fd5b806395d89b411161019157806395d89b411461093957806395ea57171461094e5780639c7525e61461096e5780639cc7f7081461098e578063a05b775f146109ae578063a217fddf146109ce578063a22cb465146109e3578063a578c09314610a03578063a8fa8e0d14610a3357600080fd5b806370f08160146108355780637dbded281461085557806381e9ff191461087557806382d66d5f14610897578063840f7113146108b75780638423df79146108d75780638cb0a511146108eb5780638eb7a776146108f957806390eddd521461091957600080fd5b80633659cfe6116102df57806352d1902d1161027757806352d1902d14610705578063572b6c051461071a5780635c41d2fe146107535780635e79b726146107735780636352211e146107935780636623fc46146107b35780636dba2729146107d35780636f7caf41146107f357806370a082311461081557600080fd5b80633659cfe6146105fd57806336e450411461061d5780633e7e86691461063d57806342842e0e1461065f57806342966c68146106725780634d93172d146106925780634f1ef286146106b25780634f6ccce7146106c557806351da912d146106e557600080fd5b806320c5429b1161035257806320c5429b146104f757806323b872dd14610517578063263f3e7e1461052a5780632d33d27a1461054a5780632f745c591461056a578063310ed7f01461058a57806331416a291461059d57806334e37b8a146105bd5780633568dd29146105dd57600080fd5b806301ffc9a7146103bb57806306fdde03146103f0578063081812fc14610412578063095ea7b31461043f57806309c3dd87146104545780630f485c02146104745780631442f5211461049557806315700052146104c257806318160ddd146104e2575b600080fd5b3480156103c757600080fd5b506103db6103d6366004614896565b610cf4565b60405190151581526020015b60405180910390f35b3480156103fc57600080fd5b50610405610d55565b6040516103e79190614903565b34801561041e57600080fd5b5061043261042d366004614916565b610de7565b6040516103e7919061492f565b61045261044d36600461495a565b610e39565b005b34801561046057600080fd5b5061040561046f366004614916565b610e52565b610487610482366004614984565b610f44565b6040519081526020016103e7565b3480156104a157600080fd5b506104b56104b036600461495a565b610f83565b6040516103e791906149b9565b3480156104ce57600080fd5b506104526104dd3660046149fd565b61103a565b3480156104ee57600080fd5b50609d54610487565b34801561050357600080fd5b50610452610512366004614916565b61109a565b610452610525366004614a18565b6110ee565b34801561053657600080fd5b50610487610545366004614916565b611134565b34801561055657600080fd5b5060cc54610432906001600160a01b031681565b34801561057657600080fd5b5061048761058536600461495a565b61117c565b610452610598366004614a44565b61121d565b3480156105a957600080fd5b506104526105b8366004614ab1565b61123a565b3480156105c957600080fd5b506104526105d83660046149fd565b6114b7565b3480156105e957600080fd5b506104526105f836600461495a565b6114cb565b34801561060957600080fd5b506104526106183660046149fd565b6114e8565b34801561062957600080fd5b50610452610638366004614b9e565b6115ad565b34801561064957600080fd5b50609a5460405160ff90911681526020016103e7565b61045261066d366004614a18565b611603565b34801561067e57600080fd5b5061045261068d366004614916565b61161e565b34801561069e57600080fd5b506104526106ad3660046149fd565b611633565b6104526106c0366004614c96565b611660565b3480156106d157600080fd5b506104876106e0366004614916565b611715565b3480156106f157600080fd5b50610452610700366004614ce3565b6117a6565b34801561071157600080fd5b506104876117d0565b34801561072657600080fd5b506103db6107353660046149fd565b6001600160a01b031660009081526097602052604090205460ff1690565b34801561075f57600080fd5b5061045261076e3660046149fd565b61187e565b34801561077f57600080fd5b5061045261078e366004614d1d565b6118ae565b34801561079f57600080fd5b506104326107ae366004614916565b6118c4565b3480156107bf57600080fd5b506104526107ce366004614916565b611934565b3480156107df57600080fd5b506103db6107ee36600461495a565b611949565b3480156107ff57600080fd5b506104876000805160206156aa83398151915281565b34801561082157600080fd5b506104876108303660046149fd565b611964565b34801561084157600080fd5b5061045261085036600461495a565b6119ec565b34801561086157600080fd5b50610452610870366004614d58565b611a05565b34801561088157600080fd5b5061048760008051602061562a83398151915281565b3480156108a357600080fd5b506104526108b236600461495a565b611bf4565b3480156108c357600080fd5b5060a054610432906001600160a01b031681565b3480156108e357600080fd5b5060016103db565b61045261044d366004614984565b34801561090557600080fd5b50610452610914366004614b9e565b611c09565b34801561092557600080fd5b5061045261093436600461495a565b611c29565b34801561094557600080fd5b50610405611c42565b34801561095a57600080fd5b50610405610969366004614916565b611c51565b34801561097a57600080fd5b50610452610989366004614dc7565b611cf3565b34801561099a57600080fd5b506104876109a9366004614916565b611da3565b3480156109ba57600080fd5b506104876109c9366004614916565b611deb565b3480156109da57600080fd5b50610487600081565b3480156109ef57600080fd5b506104526109fe366004614e12565b611e09565b348015610a0f57600080fd5b506103db610a1e366004614916565b60ce6020526000908152604090205460ff1681565b348015610a3f57600080fd5b50610452610a4e366004614a18565b611e1b565b348015610a5f57600080fd5b50610487610a6e366004614916565b611f73565b348015610a7f57600080fd5b50610452610a8e366004614b9e565b611f87565b610452610aa1366004614e49565b611fa7565b348015610ab257600080fd5b506103db610ac1366004614b9e565b611fda565b348015610ad257600080fd5b506103db610ae136600461495a565b61200b565b348015610af257600080fd5b50610452610b013660046149fd565b612026565b348015610b1257600080fd5b50610405610b21366004614916565b6120bc565b348015610b3257600080fd5b5061048760008051602061564a83398151915281565b348015610b5457600080fd5b50610452610b63366004614916565b61215b565b348015610b7457600080fd5b50610487610b83366004614ce3565b612170565b348015610b9457600080fd5b506103db610ba33660046149fd565b6001600160a01b0316600090815260cb602052604090205460ff1690565b348015610bcd57600080fd5b50610452610bdc366004614eb0565b61218f565b348015610bed57600080fd5b50610487610bfc366004614ef6565b6121d8565b348015610c0d57600080fd5b50610c21610c1c366004614916565b61220c565b6040516103e7959493929190614f22565b348015610c3e57600080fd5b50610452610c4d3660046149fd565b61226c565b348015610c5e57600080fd5b5061040561227d565b348015610c7357600080fd5b506103db610c82366004614f63565b6001600160a01b039182166000908152609f602090815260408083209390941682526002909201909152205460ff1690565b348015610cc057600080fd5b506103db610ccf36600461495a565b612377565b348015610ce057600080fd5b506103db610cef366004614916565b6123e8565b60006001600160e01b03198216630354d60560e61b1480610d2557506001600160e01b031982166380ac58cd60e01b145b80610d4057506001600160e01b031982166370b0048160e11b145b80610d4f5750610d4f826123f5565b92915050565b606060988054610d6490614f8d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9090614f8d565b8015610ddd5780601f10610db257610100808354040283529160200191610ddd565b820191906000526020600020905b815481529060010190602001808311610dc057829003601f168201915b5050505050905090565b6000610df28261242a565b6000828152609e6020526040902054609d80549091908110610e1657610e16614fc1565b60009182526020909120600460069092020101546001600160a01b031692915050565b60405163c03a3ff560e01b815260040160405180910390fd5b60606000610e6b60408051602081019091526000815290565b60a0549091506001600160a01b0316610ecb576000815111610e9c5760405180602001604052806000815250610f3d565b80610ea68461244f565b604051602001610eb7929190614fd7565b604051602081830303815290604052610f3d565b60a054604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b600060405180830381865afa158015610f15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f3d9190810190615017565b9392505050565b6000610f58610f516124e1565b85846124f0565b610f618461256b565b9050610f788382610f7187611134565b6000612575565b610f3d84828461269f565b6060600080610f92858561297e565b915091506000816001600160401b03811115610fb057610fb0614bd3565b604051908082528060200260200182016040528015610fd9578160200160208202803683370190505b50905060005b8281101561103057838181518110610ff957610ff9614fc1565b602002602001015182828151811061101357611013614fc1565b6020908102919091010152806110288161509a565b915050610fdf565b5095945050505050565b611042612a4a565b6040516001600160a01b038216907f286f82d2b1e37b5e9f33e455d014b4a5f6c29388e6e41e1281d4c83e04f4265590600090a26001600160a01b0316600090815260cb60205260409020805460ff19166001179055565b6110ab6110a682611134565b612a5c565b600081815260cf6020526040808220805460ff191660021790555182917fdb43aa42235c8d63908794a952603e8d43a549383d13123c3d893a3fc2e6249591a250565b6110ff6110f96124e1565b50600090565b6111245760405162461bcd60e51b815260040161111b906150c9565b60405180910390fd5b61112f838383612a74565b505050565b600061113f8261242a565b6000828152609e6020526040902054609d8054909190811061116357611163614fc1565b9060005260206000209060060201600101549050919050565b600061118783611964565b82106111e05760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161111b565b6001600160a01b0383166000908152609f6020526040902080548390811061120a5761120a614fc1565b9060005260206000200154905092915050565b61122f6112286124e1565b84836124f0565b61112f83838361269f565b600054610100900460ff161580801561125a5750600054600160ff909116105b8061127b575061126930612bc3565b15801561127b575060005460ff166001145b6112de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161111b565b6000805460ff191660011790558015611301576000805461ff0019166101001790555b6001600160a01b03851661132857604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03841661134f57604051630ca2c90160e21b815260040160405180910390fd5b60005b828110156113bc57600084848381811061136e5761136e614fc1565b905060200201602081019061138391906149fd565b6001600160a01b0316036113aa57604051630ca2c90160e21b815260040160405180910390fd5b806113b48161509a565b915050611352565b5061143089898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a908190840183828082843760009201829052509250612bd2915050565b61143a8383612c04565b61144384612c3d565b6001600160a01b038516600090815260cb60205260409020805460ff1916600117905580156114ac576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505050565b6114bf612a4a565b6114c881612c3d565b50565b6114e460008051602061564a8339815191528284611c09565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036115305760405162461bcd60e51b815260040161111b9061511b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611562612c87565b6001600160a01b0316146115885760405162461bcd60e51b815260040161111b90615167565b61159181612ca3565b604080516000808252602082019092526114c891839190612cab565b6115b56124e1565b6001600160a01b0316816001600160a01b0316146115f8576040516307ca099360e31b8152600481018490526001600160a01b038216602482015260440161111b565b61112f838383612e16565b61112f83838360405180602001604052806000815250611fa7565b61162a6110a682611134565b6114c881612eb2565b61163b612a4a565b6114c8816001600160a01b03166000908152609760205260409020805460ff19169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036116a85760405162461bcd60e51b815260040161111b9061511b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166116da612c87565b6001600160a01b0316146117005760405162461bcd60e51b815260040161111b90615167565b61170982612ca3565b6114e482826001612cab565b6000611720609d5490565b821061177a5760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161111b565b609d828154811061178d5761178d614fc1565b9060005260206000209060060201600001549050919050565b6117c660008051602061564a8339815191526117c184611134565b612faf565b6114e48282612fc1565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461186b5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161111b565b5060008051602061568a83398151915290565b611886612a4a565b6114c8816001600160a01b03166000908152609760205260409020805460ff19166001179055565b6118ba6110a684611134565b61112f8383613010565b60006118cf8261242a565b6000828152609e6020526040902054609d805490919081106118f3576118f3614fc1565b60009182526020909120600360069092020101546001600160a01b031690508061192f5760405162461bcd60e51b815260040161111b906151b3565b919050565b6119406110a682611134565b6114c88161306c565b6000610f3d60008051602061564a8339815191528385611fda565b60006001600160a01b0382166119d05760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161111b565b506001600160a01b03166000908152609f602052604090205490565b6114e460008051602061564a8339815191528284611f87565b600085815260d1602052604090208054611a1e90614f8d565b159050611a4157604051636f55f62b60e01b81526004810186905260240161111b565b600085815260d160205260409020611a5a848683615241565b508115611b7f57600085815260ce60205260409020805460ff19168315151790556001600160a01b038116611aa257604051630ca2c90160e21b815260040160405180910390fd5b611ab4816001600160a01b0316612bc3565b611ad3578060405163d4daafa160e01b815260040161111b919061492f565b611aec60008051602061562a8339815191528683613113565b611b056000805160206156aa8339815191528683613113565b611b2c6000805160206156aa8339815191528660008051602061562a8339815191526131a4565b611b5360008051602061564a8339815191528660008051602061562a8339815191526131a4565b611b7a60008051602061562a8339815191528660008051602061562a8339815191526131a4565b611bed565b611b9f6000805160206156aa83398151915286611b9a6124e1565b613113565b611bc66000805160206156aa833981519152866000805160206156aa8339815191526131a4565b611bed60008051602061564a833981519152866000805160206156aa8339815191526131a4565b5050505050565b6114e46000805160206156aa83398151915282845b611c138383612170565b82611c1e8282612faf565b611bed858585612e16565b6114e46000805160206156aa8339815191528284611f87565b606060998054610d6490614f8d565b600081815260d160205260409020805460609190611c6e90614f8d565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9a90614f8d565b8015611ce75780601f10611cbc57610100808354040283529160200191611ce7565b820191906000526020600020905b815481529060010190602001808311611cca57829003601f168201915b50505050509050919050565b600083815260d1602052604090208054611d0c90614f8d565b9050600003611d3157604051630817886d60e41b81526004810184905260240161111b565b611d4c6000805160206156aa83398151915284610ac16124e1565b611d8457611d586124e1565b836000805160206156aa83398151915260405163c8c801a760e01b815260040161111b939291906152fa565b600083815260d160205260409020611d9d828483615241565b50505050565b6000611dae8261242a565b6000828152609e6020526040902054609d80549091908110611dd257611dd2614fc1565b9060005260206000209060060201600201549050919050565b6000611df68261320f565b50600090815260d0602052604090205490565b6114e4611e146124e1565b8383613238565b600081815260ce602052604090205460ff16611e4d5760405163db53ce7160e01b81526004810182905260240161111b565b611e6660008051602061562a833981519152828561330b565b6001600160a01b038216611e8d57604051630ca2c90160e21b815260040160405180910390fd5b611ea660008051602061562a8339815191528284611f87565b611ebf6000805160206156aa8339815191528284611f87565b611ed860008051602061564a8339815191528284611f87565b611ef160008051602061564a8339815191528285611c09565b611f0a6000805160206156aa8339815191528285611c09565b611f2360008051602061562a8339815191528285611c09565b604080516001600160a01b038086168252841660208201529081018290527f744258a28673e8738e2812c0ab8e8dbd70352f8871b1febac0dd753d96d79f589060600160405180910390a1505050565b600081815260cd6020526040812054610d4f565b611f918383612170565b82611f9c8282612faf565b611bed858585613113565b611fb26110f96124e1565b611fce5760405162461bcd60e51b815260040161111b906150c9565b611d9d84848484613339565b600091825260ca602090815260408084209484529381528383206001600160a01b0392909216835252205460ff1690565b6000610f3d6000805160206156aa8339815191528385611fda565b61202e612a4a565b6120366124e1565b6001600160a01b0316816001600160a01b03160361206757604051634a19f28160e01b815260040160405180910390fd5b6040516001600160a01b038216907ffb445f6ec07647d2bb7af72821e6b8b7303ec375e934d4a338d38ed5846c2d5690600090a26001600160a01b0316600090815260cb60205260409020805460ff19169055565b60606120c78261242a565b60006120de60408051602081019091526000815290565b60a0549091506001600160a01b031661212a57600081511161210f5760405180602001604052806000815250610f3d565b806121198461244f565b604051602001610eb792919061531b565b60a0546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401610ef8565b6121676110a682611134565b6114c8816133ac565b600090815260ca60209081526040808320938352929052206001015490565b61219884612a5c565b60006121a6868660016133fa565b905083156121c057600081815260d0602052604090208490555b82156121d0576121d08184612fc1565b505050505050565b60006121e38361242a565b506000918252609c602090815260408084206001600160a01b0393909316845291905290205490565b600080606060008061221d866118c4565b600087815260cf602052604090205490955060ff166002811115612243576122436150b3565b600096875260d0602090815260408089205460cd90925290972054959790969395939450915050565b612274612a4a565b6114c881613412565b6060600061229660408051602081019091526000815290565b60a0549091506001600160a01b03166122f65760008151116122c75760405180602001604052806000815250612371565b806122d13061345c565b6040516020016122e292919061534a565b604051602081830303815290604052612371565b60a060009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612349573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123719190810190615017565b91505090565b6000806000612386858561297e565b9150915060005b818110156123dc576123b98382815181106123aa576123aa614fc1565b60200260200101516000613472565b156123ca5760019350505050610d4f565b806123d48161509a565b91505061238d565b50600095945050505050565b6000610d4f826000613472565b60006001600160e01b031982166333cb74f560e11b1480610d4f57506301ffc9a760e01b6001600160e01b0319831614610d4f565b61243381613517565b6114c85760405162461bcd60e51b815260040161111b906151b3565b6060600061245c83613563565b60010190506000816001600160401b0381111561247b5761247b614bd3565b6040519080825280601f01601f1916602001820160405280156124a5576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846124af57509392505050565b60006124eb61363b565b905090565b60006124fc83856121d8565b90506000198114611d9d57818110156125575760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e636500604482015260640161111b565b611d9d8385612566858561538e565b613672565b6000610d4f6137a1565b6001600160a01b0384166125d55760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161111b565b8260000361262f5760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b606482015260840161111b565b61263883613517565b156126855760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e746564000000604482015260640161111b565b6126908484846137b8565b61269a838261386c565b611d9d565b6126a883613517565b6127045760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b606482015260840161111b565b61270d82613517565b6127675760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b606482015260840161111b565b6000838152609e6020526040812054609d8054909190811061278b5761278b614fc1565b906000526020600020906006020190506000609d609e600086815260200190815260200160002054815481106127c3576127c3614fc1565b90600052602060002090600602019050828260020154101561283a5760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161111b565b80600101548260010154146128a85760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b606482015260840161111b565b828260020160008282546128bc919061538e565b92505081905550828160020160008282546128d791906153a1565b90915550506040518381528490869060008051602061566a8339815191529060200160405180910390a361291c858585604051806020016040528060008152506138df565b611bed5760405162461bcd60e51b815260206004820152602d60248201527f455243333532353a207472616e736665722072656a656374656420627920455260448201526c21999a991aa932b1b2b4bb32b960991b606482015260840161111b565b606060008061298c85611964565b90506000816001600160401b038111156129a8576129a8614bd3565b6040519080825280602002602001820160405280156129d1578160200160208202803683370190505b5090506000805b83811015612a3b5760006129ec898361117c565b9050876129f882611134565b03612a2857808484612a098161509a565b955081518110612a1b57612a1b614fc1565b6020026020010181815250505b5080612a338161509a565b9150506129d8565b509093509150505b9250929050565b612a5a612a556124e1565b613a22565b565b6114c860008051602061564a83398151915282612faf565b826001600160a01b0316612a87826118c4565b6001600160a01b031614612ae95760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b606482015260840161111b565b6001600160a01b038216612b4d5760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161111b565b6000612b5882611134565b90506000612b6583611da3565b9050612b72600084613a5d565b612b7b83613af4565b612b858584613b9f565b612b8f8484613cc0565b82846001600160a01b0316866001600160a01b03166000805160206156f183398151915260405160405180910390a4611bed565b6001600160a01b03163b151590565b600054610100900460ff16612bf95760405162461bcd60e51b815260040161111b906153b4565b61112f838383613d49565b600054610100900460ff16612c2b5760405162461bcd60e51b815260040161111b906153b4565b612c33613da2565b6114e48282613dc9565b60cc80546001600160a01b0319166001600160a01b0383169081179091556040517f5e4a30f4224898dbac86adca855a5edd3b8341a3aeb2b6ff0f0b5a82c013b65a90600090a250565b60008051602061568a833981519152546001600160a01b031690565b6114c8612a4a565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615612cde5761112f83613e62565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612d38575060408051601f3d908101601f19168201909252612d35918101906153ff565b60015b612d9b5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161111b565b60008051602061568a8339815191528114612e0a5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161111b565b5061112f838383613efc565b612e21838383611fda565b1561112f57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff19169055612e606124e1565b6001600160a01b0316816001600160a01b0316847f6f9148fcdc32766ca802c14716295d56eab7ed848d0dba113966f40087c8839085604051612ea591815260200190565b60405180910390a4505050565b612ebb8161242a565b6000818152609e6020526040812054609d80549091908110612edf57612edf614fc1565b60009182526020909120600691909102016003810154600182015460028301549293506001600160a01b0390911691612f1785613af4565b612f218386613b9f565b612f2a85613f21565b60008560008051602061566a83398151915283604051612f4c91815260200190565b60405180910390a3600082867fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a460405185906000906001600160a01b038616906000805160206156f1833981519152908390a4611bed565b6114e48282612fbc6124e1565b61330b565b600082815260cd602090815260409182902083905581518481529081018390527f5e07998cef9cea674942c66f0ea7b0bce89ab9473ce240cc93d616c3491f8aeb910160405180910390a15050565b61301b82600161412f565b600082815260d06020526040908190208290555182907f1ebc57da8b3ebab98506502fbb73232ea29fbe86e4963a5a8c004810ad11190d906130609084815260200190565b60405180910390a25050565b6130758161320f565b6001600082815260cf602052604090205460ff16600281111561309a5761309a6150b3565b146130d357600081815260cf6020526040908190205490516308c9ef2d60e11b815261111b91839160ff9091169060019060040161543a565b600081815260cf6020526040808220805460ff191690555182917fe2babfd5e77285a3c3dbc4b25592cbe4a7a26e97a7ac63067a22ebdaa9b82add91a250565b61311e838383611fda565b61112f57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff1916600117905561315f6124e1565b6001600160a01b0316816001600160a01b0316847f4dc88bd74ca601684356789d5b3dbc9cd44275b2544e8d35041203703b76823285604051612ea591815260200190565b60006131b08484612170565b600084815260ca6020908152604080832088845282529182902060010185905590518581529192508391839187917f15f4a36186b2284157fe71215a07487f6c8bdc1203b3307c3e1fd9693011d3d3910160405180910390a450505050565b61321881613517565b6114c8576040516321fbdd2b60e11b81526004810182905260240161111b565b816001600160a01b0316836001600160a01b0316036132995760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c6572000000000000604482015260640161111b565b6001600160a01b038381166000818152609f602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b613316838383611fda565b61112f5780828460405163c8c801a760e01b815260040161111b939291906152fa565b613344848484612a74565b61335084848484614161565b611d9d5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b606482015260840161111b565b6133b781600161412f565b600081815260cf6020526040808220805460ff191660011790555182917f779fbee689bbd6f006ecb329206d35c7db7380f9837a8826fb8dc5cfcd3d33dd91a250565b60006134046137a1565b9050610f3d84828585612575565b60a080546001600160a01b0319166001600160a01b0383169081179091556040517f5252f52e45fc8ee6a7b43cef3645d23e9a470a34182b8b3a12627556635bfc9c90600090a250565b6060610d4f6001600160a01b03831660146142b8565b600082815260cf602052604081205460ff1681816002811115613497576134976150b3565b146134a6576000915050610d4f565b60006134b1856118c4565b600086815260d06020526040902054909150158015906134cf575083155b15613503576001600160a01b038116158015906134fa5750600085815260d060205260409020544211155b92505050610d4f565b6001600160a01b031615159150610d4f9050565b609d5460009015801590610d4f57506000828152609e6020526040902054609d8054849290811061354a5761354a614fc1565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106135a25772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106135ce576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106135ec57662386f26fc10000830492506010015b6305f5e1008310613604576305f5e100830492506008015b612710831061361857612710830492506004015b6064831061362a576064830492506002015b600a8310610d4f5760010192915050565b3360009081526097602052604081205460ff16801561365b575060143610155b1561366d575060131936013560601c90565b503390565b6001600160a01b0382166136db5760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b606482015260840161111b565b6136e58284614453565b61374b576000838152609e6020526040902054609d8054909190811061370d5761370d614fc1565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b6000838152609c602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b91016132fe565b60006137b1609b80546001019055565b50609b5490565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a0820152905061380681614526565b6138108484613cc0565b60405183906001600160a01b038616906000906000805160206156f1833981519152908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b6000828152609e6020526040902054609d8054839290811061389057613890614fc1565b906000526020600020906006020160020160008282546138b091906153a1565b9091555050604051818152829060009060008051602061566a8339815191529060200160405180910390a35050565b6000806138eb856118c4565b90506138ff816001600160a01b0316612bc3565b801561397457506040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa158015613950573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613974919061545b565b15613a14576000816001600160a01b0316629ce20b6139916124e1565b898989896040518663ffffffff1660e01b81526004016139b5959493929190615478565b6020604051808303816000875af11580156139d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139f891906154b6565b6001600160e01b031916629ce20b60e01b149250613a1a915050565b60019150505b949350505050565b6001600160a01b038116600090815260cb602052604090205460ff166114c85780604051632957ccdd60e21b815260040161111b919061492f565b6000818152609e6020526040902054609d80548492908110613a8157613a81614fc1565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b0392831617905581908316613abb826118c4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609e6020526040812054609d80549091908110613b1857613b18614fc1565b600091825260208220600560069092020190810154909250905b81811015613b90576000836005018281548110613b5157613b51614fc1565b6000918252602080832090910154878352609c825260408084206001600160a01b03909216845291528120555080613b888161509a565b915050613b32565b5061112f6005830160006147e8565b6000818152609e6020526040812054609d80549091908110613bc357613bc3614fc1565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b039485161790559184168152609f909152604081208054909190613c129060019061538e565b90506000826000018281548110613c2b57613c2b614fc1565b90600052602060002001549050600083600101600086815260200190815260200160002054905081846000018281548110613c6857613c68614fc1565b60009182526020808320909101929092558381526001860190915260408082208390558682528120558354849080613ca257613ca26154d3565b60019003818190600052602060002001600090559055505050505050565b6000818152609e6020526040902054609d80548492908110613ce457613ce4614fc1565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152609f80845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b600054610100900460ff16613d705760405162461bcd60e51b815260040161111b906153b4565b6098613d7c84826154e9565b506099613d8983826154e9565b50609a805460ff191660ff929092169190911790555050565b600054610100900460ff16612a5a5760405162461bcd60e51b815260040161111b906153b4565b600054610100900460ff16613df05760405162461bcd60e51b815260040161111b906153b4565b60005b8181101561112f57600160976000858585818110613e1357613e13614fc1565b9050602002016020810190613e2891906149fd565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580613e5a8161509a565b915050613df3565b613e6b81612bc3565b613ecd5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161111b565b60008051602061568a83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b613f0583614678565b600082511180613f125750805b1561112f57611d9d83836146b8565b609d54600090613f339060019061538e565b6000838152609e6020526040812054609d8054939450909284908110613f5b57613f5b614fc1565b60009182526020918290206040805160c08101825260069093029091018054835260018101548385015260028101548383015260038101546001600160a01b03908116606085015260048201541660808401526005810180548351818702810187019094528084529394919360a08601939283018282801561400657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311613fe8575b505050505081525050905080609d838154811061402557614025614fc1565b600091825260209182902083516006909202019081558282015160018201556040830151600282015560608301516003820180546001600160a01b039283166001600160a01b031991821617909155608085015160048401805491909316911617905560a0830151805191926140a392600585019290910190614806565b505081516000908152609e602052604080822085905586825281205550609d8054806140d1576140d16154d3565b60008281526020812060066000199093019283020181815560018101829055600281018290556003810180546001600160a01b031990811690915560048201805490911690559061412560058301826147e8565b5050905550505050565b6141398282613472565b6114e4576040516316af84a960e21b815260048101839052811515602482015260440161111b565b6000614175846001600160a01b0316612bc3565b156142b057836001600160a01b031663150b7a026141916124e1565b8786866040518563ffffffff1660e01b81526004016141b394939291906155a2565b6020604051808303816000875af19250505080156141ee575060408051601f3d908101601f191682019092526141eb918101906154b6565b60015b614296573d80801561421c576040519150601f19603f3d011682016040523d82523d6000602084013e614221565b606091505b50805160000361428e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161111b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613a1a565b506001613a1a565b606060006142c78360026155df565b6142d29060026153a1565b6001600160401b038111156142e9576142e9614bd3565b6040519080825280601f01601f191660200182016040528015614313576020820181803683370190505b509050600360fc1b8160008151811061432e5761432e614fc1565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061435d5761435d614fc1565b60200101906001600160f81b031916908160001a90535060006143818460026155df565b61438c9060016153a1565b90505b6001811115614404576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106143c0576143c0614fc1565b1a60f81b8282815181106143d6576143d6614fc1565b60200101906001600160f81b031916908160001a90535060049490941c936143fd816155f6565b905061438f565b508315610f3d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161111b565b6000818152609e6020526040812054609d8054839290811061447757614477614fc1565b6000918252602082206005600690920201015491505b8181101561451b576000848152609e6020526040902054609d80546001600160a01b038816929081106144c2576144c2614fc1565b906000526020600020906006020160050182815481106144e4576144e4614fc1565b6000918252602090912001546001600160a01b03160361450957600192505050610d4f565b806145138161509a565b91505061448d565b506000949350505050565b609d805482516000908152609e6020908152604080832084905560018401855593909152835160069092027fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7b8101928355818501517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7c820155928401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7d84015560608401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7e840180546001600160a01b039283166001600160a01b03199182161790915560808601517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7f8601805491909316911617905560a084015180518594611d9d937fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf80909101920190614806565b61468181613e62565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606146c383612bc3565b61471e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161111b565b600080846001600160a01b031684604051614739919061560d565b600060405180830381855af49150503d8060008114614774576040519150601f19603f3d011682016040523d82523d6000602084013e614779565b606091505b50915091506147a182826040518060600160405280602781526020016156ca602791396147aa565b95945050505050565b606083156147b9575081610f3d565b610f3d83838151156147ce5781518083602001fd5b8060405162461bcd60e51b815260040161111b9190614903565b50805460008255906000526020600020908101906114c8919061486b565b82805482825590600052602060002090810192821561485b579160200282015b8281111561485b57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614826565b5061486792915061486b565b5090565b5b80821115614867576000815560010161486c565b6001600160e01b0319811681146114c857600080fd5b6000602082840312156148a857600080fd5b8135610f3d81614880565b60005b838110156148ce5781810151838201526020016148b6565b50506000910152565b600081518084526148ef8160208601602086016148b3565b601f01601f19169290920160200192915050565b602081526000610f3d60208301846148d7565b60006020828403121561492857600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b038116811461192f57600080fd5b6000806040838503121561496d57600080fd5b61497683614943565b946020939093013593505050565b60008060006060848603121561499957600080fd5b833592506149a960208501614943565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156149f1578351835292840192918401916001016149d5565b50909695505050505050565b600060208284031215614a0f57600080fd5b610f3d82614943565b600080600060608486031215614a2d57600080fd5b614a3684614943565b92506149a960208501614943565b600080600060608486031215614a5957600080fd5b505081359360208301359350604090920135919050565b60008083601f840112614a8257600080fd5b5081356001600160401b03811115614a9957600080fd5b602083019150836020828501011115612a4357600080fd5b60008060008060008060008060a0898b031215614acd57600080fd5b88356001600160401b0380821115614ae457600080fd5b614af08c838d01614a70565b909a50985060208b0135915080821115614b0957600080fd5b614b158c838d01614a70565b9098509650869150614b2960408c01614943565b9550614b3760608c01614943565b945060808b0135915080821115614b4d57600080fd5b818b0191508b601f830112614b6157600080fd5b813581811115614b7057600080fd5b8c60208260051b8501011115614b8557600080fd5b6020830194508093505050509295985092959890939650565b600080600060608486031215614bb357600080fd5b8335925060208401359150614bca60408501614943565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715614c1157614c11614bd3565b604052919050565b60006001600160401b03821115614c3257614c32614bd3565b50601f01601f191660200190565b600082601f830112614c5157600080fd5b8135614c64614c5f82614c19565b614be9565b818152846020838601011115614c7957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215614ca957600080fd5b614cb283614943565b915060208301356001600160401b03811115614ccd57600080fd5b614cd985828601614c40565b9150509250929050565b60008060408385031215614cf657600080fd5b50508035926020909101359150565b600060808284031215614d1757600080fd5b50919050565b600080600060c08486031215614d3257600080fd5b8335925060208401359150614bca8560408601614d05565b80151581146114c857600080fd5b600080600080600060808688031215614d7057600080fd5b8535945060208601356001600160401b03811115614d8d57600080fd5b614d9988828901614a70565b9095509350506040860135614dad81614d4a565b9150614dbb60608701614943565b90509295509295909350565b600080600060408486031215614ddc57600080fd5b8335925060208401356001600160401b03811115614df957600080fd5b614e0586828701614a70565b9497909650939450505050565b60008060408385031215614e2557600080fd5b614e2e83614943565b91506020830135614e3e81614d4a565b809150509250929050565b60008060008060808587031215614e5f57600080fd5b614e6885614943565b9350614e7660208601614943565b92506040850135915060608501356001600160401b03811115614e9857600080fd5b614ea487828801614c40565b91505092959194509250565b60008060008060006101008688031215614ec957600080fd5b614ed286614943565b9450602086013593506040860135925060608601359150614dbb8760808801614d05565b60008060408385031215614f0957600080fd5b82359150614f1960208401614943565b90509250929050565b6001600160a01b038616815260ff8516602082015260a060408201819052600090614f4f908301866148d7565b606083019490945250608001529392505050565b60008060408385031215614f7657600080fd5b614f7f83614943565b9150614f1960208401614943565b600181811c90821680614fa157607f821691505b602082108103614d1757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008351614fe98184602088016148b3565b64736c6f742f60d81b908301908152835161500b8160058401602088016148b3565b01600501949350505050565b60006020828403121561502957600080fd5b81516001600160401b0381111561503f57600080fd5b8201601f8101841361505057600080fd5b805161505e614c5f82614c19565b81815285602083850101111561507357600080fd5b6147a18260208301602086016148b3565b634e487b7160e01b600052601160045260246000fd5b6000600182016150ac576150ac615084565b5060010190565b634e487b7160e01b600052602160045260246000fd5b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b602080825260199082015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604082015260600190565b601f82111561112f57600081815260208120601f850160051c8101602086101561520d5750805b601f850160051c820191505b818110156121d057828155600101615219565b600019600383901b1c191660019190911b1790565b6001600160401b0383111561525857615258614bd3565b61526c836152668354614f8d565b836151e6565b6000601f84116001811461529a57600085156152885750838201355b615292868261522c565b845550611bed565b600083815260209020601f19861690835b828110156152cb57868501358255602094850194600190920191016152ab565b50868210156152e85760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b039390931683526020830191909152604082015260600190565b6000835161532d8184602088016148b3565b8351908301906153418183602088016148b3565b01949350505050565b6000835161535c8184602088016148b3565b68636f6e74726163742f60b81b90830190815283516153828160098401602088016148b3565b01600901949350505050565b81810381811115610d4f57610d4f615084565b80820180821115610d4f57610d4f615084565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60006020828403121561541157600080fd5b5051919050565b6003811061543657634e487b7160e01b600052602160045260246000fd5b9052565b8381526060810161544e6020830185615418565b613a1a6040830184615418565b60006020828403121561546d57600080fd5b8151610f3d81614d4a565b60018060a01b038616815284602082015283604082015282606082015260a0608082015260006154ab60a08301846148d7565b979650505050505050565b6000602082840312156154c857600080fd5b8151610f3d81614880565b634e487b7160e01b600052603160045260246000fd5b81516001600160401b0381111561550257615502614bd3565b615516816155108454614f8d565b846151e6565b602080601f83116001811461554557600084156155335750858301515b61553d858261522c565b8655506121d0565b600085815260208120601f198616915b8281101561557457888601518255948401946001909101908401615555565b50858210156155925787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906155d5908301846148d7565b9695505050505050565b8082028115828204841417610d4f57610d4f615084565b60008161560557615605615084565b506000190190565b6000825161561f8184602087016148b3565b919091019291505056fefca69b310bd19d275687ebe00b254b0772cf7a367c3f81a9a5a433f831fdc1dc3c63e605be3290ab6b04cfc46c6e1516e626d43236b034f09d7ede1d017beb0c0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc6360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc449b0a7e0acc0a95c71947cb19fdd122b42abca9bdfbd6707ca4f1e3fdaef05e416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201516272896f3c2da7f5bf3dd79de3887d3d90def4ded0a2123b9c4a9897a948c64736f6c63430008130033"; + "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e7565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811614620000e5576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6080516157666200011f600039600081816114eb0152818161152b01528181611663015281816116a301526117d601526157666000f3fe6080604052600436106103b65760003560e01c806370f08160116101f9578063b4bd85791161011e578063df2a7fe1116100b6578063e71fb1101161007a578063e71fb11014610c32578063e8a3d48514610c52578063e985e9c514610c67578063ff17e23214610cb4578063ff85a97514610cd457600080fd5b8063df2a7fe114610b68578063df7f453b14610b88578063e0ed6a3114610bc1578063e345e0bc14610be1578063e4b50cb814610c0157600080fd5b8063b4bd857914610a53578063b5d6163514610a73578063b88d4fde14610a93578063babb898d14610aa6578063c2a366fb14610ac6578063c58dbbed14610ae6578063c87b56dd14610b06578063d6fd317514610b26578063d7a78db814610b4857600080fd5b806395d89b411161019157806395d89b411461093957806395ea57171461094e5780639c7525e61461096e5780639cc7f7081461098e578063a05b775f146109ae578063a217fddf146109ce578063a22cb465146109e3578063a578c09314610a03578063a8fa8e0d14610a3357600080fd5b806370f08160146108355780637dbded281461085557806381e9ff191461087557806382d66d5f14610897578063840f7113146108b75780638423df79146108d75780638cb0a511146108eb5780638eb7a776146108f957806390eddd521461091957600080fd5b80633659cfe6116102df57806352d1902d1161027757806352d1902d14610705578063572b6c051461071a5780635c41d2fe146107535780635e79b726146107735780636352211e146107935780636623fc46146107b35780636dba2729146107d35780636f7caf41146107f357806370a082311461081557600080fd5b80633659cfe6146105fd57806336e450411461061d5780633e7e86691461063d57806342842e0e1461065f57806342966c68146106725780634d93172d146106925780634f1ef286146106b25780634f6ccce7146106c557806351da912d146106e557600080fd5b806320c5429b1161035257806320c5429b146104f757806323b872dd14610517578063263f3e7e1461052a5780632d33d27a1461054a5780632f745c591461056a578063310ed7f01461058a57806331416a291461059d57806334e37b8a146105bd5780633568dd29146105dd57600080fd5b806301ffc9a7146103bb57806306fdde03146103f0578063081812fc14610412578063095ea7b31461043f57806309c3dd87146104545780630f485c02146104745780631442f5211461049557806315700052146104c257806318160ddd146104e2575b600080fd5b3480156103c757600080fd5b506103db6103d63660046148b7565b610cf4565b60405190151581526020015b60405180910390f35b3480156103fc57600080fd5b50610405610d55565b6040516103e79190614924565b34801561041e57600080fd5b5061043261042d366004614937565b610de7565b6040516103e79190614950565b61045261044d36600461497b565b610e39565b005b34801561046057600080fd5b5061040561046f366004614937565b610e52565b6104876104823660046149a5565b610f44565b6040519081526020016103e7565b3480156104a157600080fd5b506104b56104b036600461497b565b610f83565b6040516103e791906149da565b3480156104ce57600080fd5b506104526104dd366004614a1e565b61103a565b3480156104ee57600080fd5b50609d54610487565b34801561050357600080fd5b50610452610512366004614937565b61109a565b610452610525366004614a39565b6110ee565b34801561053657600080fd5b50610487610545366004614937565b611134565b34801561055657600080fd5b5060cc54610432906001600160a01b031681565b34801561057657600080fd5b5061048761058536600461497b565b61117c565b610452610598366004614a65565b61121d565b3480156105a957600080fd5b506104526105b8366004614ad2565b61123a565b3480156105c957600080fd5b506104526105d8366004614a1e565b6114b0565b3480156105e957600080fd5b506104526105f836600461497b565b6114c4565b34801561060957600080fd5b50610452610618366004614a1e565b6114e1565b34801561062957600080fd5b50610452610638366004614bbf565b6115a6565b34801561064957600080fd5b50609a5460405160ff90911681526020016103e7565b61045261066d366004614a39565b6115fc565b34801561067e57600080fd5b5061045261068d366004614937565b611617565b34801561069e57600080fd5b506104526106ad366004614a1e565b61162c565b6104526106c0366004614cb7565b611659565b3480156106d157600080fd5b506104876106e0366004614937565b61170e565b3480156106f157600080fd5b50610452610700366004614d04565b61179f565b34801561071157600080fd5b506104876117c9565b34801561072657600080fd5b506103db610735366004614a1e565b6001600160a01b031660009081526097602052604090205460ff1690565b34801561075f57600080fd5b5061045261076e366004614a1e565b611877565b34801561077f57600080fd5b5061045261078e366004614d3e565b6118a7565b34801561079f57600080fd5b506104326107ae366004614937565b6118bd565b3480156107bf57600080fd5b506104526107ce366004614937565b61192d565b3480156107df57600080fd5b506103db6107ee36600461497b565b611942565b3480156107ff57600080fd5b506104876000805160206156ca83398151915281565b34801561082157600080fd5b50610487610830366004614a1e565b61195d565b34801561084157600080fd5b5061045261085036600461497b565b6119e5565b34801561086157600080fd5b50610452610870366004614d79565b6119fe565b34801561088157600080fd5b5061048760008051602061564a83398151915281565b3480156108a357600080fd5b506104526108b236600461497b565b611be6565b3480156108c357600080fd5b5060a054610432906001600160a01b031681565b3480156108e357600080fd5b5060016103db565b61045261044d3660046149a5565b34801561090557600080fd5b50610452610914366004614bbf565b611bfb565b34801561092557600080fd5b5061045261093436600461497b565b611c1b565b34801561094557600080fd5b50610405611c34565b34801561095a57600080fd5b50610405610969366004614937565b611c43565b34801561097a57600080fd5b50610452610989366004614de8565b611ce5565b34801561099a57600080fd5b506104876109a9366004614937565b611d95565b3480156109ba57600080fd5b506104876109c9366004614937565b611ddd565b3480156109da57600080fd5b50610487600081565b3480156109ef57600080fd5b506104526109fe366004614e33565b611dfb565b348015610a0f57600080fd5b506103db610a1e366004614937565b60ce6020526000908152604090205460ff1681565b348015610a3f57600080fd5b50610452610a4e366004614a39565b611e0d565b348015610a5f57600080fd5b50610487610a6e366004614937565b611f65565b348015610a7f57600080fd5b50610452610a8e366004614bbf565b611f79565b610452610aa1366004614e6a565b611f99565b348015610ab257600080fd5b506103db610ac1366004614bbf565b611fcc565b348015610ad257600080fd5b506103db610ae136600461497b565b611ffd565b348015610af257600080fd5b50610452610b01366004614a1e565b612018565b348015610b1257600080fd5b50610405610b21366004614937565b6120ae565b348015610b3257600080fd5b5061048760008051602061566a83398151915281565b348015610b5457600080fd5b50610452610b63366004614937565b61214d565b348015610b7457600080fd5b50610487610b83366004614d04565b612162565b348015610b9457600080fd5b506103db610ba3366004614a1e565b6001600160a01b0316600090815260cb602052604090205460ff1690565b348015610bcd57600080fd5b50610452610bdc366004614ed1565b612181565b348015610bed57600080fd5b50610487610bfc366004614f17565b6121ca565b348015610c0d57600080fd5b50610c21610c1c366004614937565b6121fe565b6040516103e7959493929190614f43565b348015610c3e57600080fd5b50610452610c4d366004614a1e565b61225e565b348015610c5e57600080fd5b5061040561226f565b348015610c7357600080fd5b506103db610c82366004614f84565b6001600160a01b039182166000908152609f602090815260408083209390941682526002909201909152205460ff1690565b348015610cc057600080fd5b506103db610ccf36600461497b565b612369565b348015610ce057600080fd5b506103db610cef366004614937565b6123da565b60006001600160e01b03198216630354d60560e61b1480610d2557506001600160e01b031982166380ac58cd60e01b145b80610d4057506001600160e01b031982166370b0048160e11b145b80610d4f5750610d4f826123e7565b92915050565b606060988054610d6490614fae565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9090614fae565b8015610ddd5780601f10610db257610100808354040283529160200191610ddd565b820191906000526020600020905b815481529060010190602001808311610dc057829003601f168201915b5050505050905090565b6000610df28261241c565b6000828152609e6020526040902054609d80549091908110610e1657610e16614fe2565b60009182526020909120600460069092020101546001600160a01b031692915050565b60405163c03a3ff560e01b815260040160405180910390fd5b60606000610e6b60408051602081019091526000815290565b60a0549091506001600160a01b0316610ecb576000815111610e9c5760405180602001604052806000815250610f3d565b80610ea684612441565b604051602001610eb7929190614ff8565b604051602081830303815290604052610f3d565b60a054604051633601bfc560e11b8152600481018590526001600160a01b0390911690636c037f8a906024015b600060405180830381865afa158015610f15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f3d9190810190615038565b9392505050565b6000610f58610f516124d3565b85846124e2565b610f618461255d565b9050610f788382610f7187611134565b6000612567565b610f3d848284612691565b6060600080610f928585612970565b915091506000816001600160401b03811115610fb057610fb0614bf4565b604051908082528060200260200182016040528015610fd9578160200160208202803683370190505b50905060005b8281101561103057838181518110610ff957610ff9614fe2565b602002602001015182828151811061101357611013614fe2565b602090810291909101015280611028816150c4565b915050610fdf565b5095945050505050565b611042612a3c565b6040516001600160a01b038216907f286f82d2b1e37b5e9f33e455d014b4a5f6c29388e6e41e1281d4c83e04f4265590600090a26001600160a01b0316600090815260cb60205260409020805460ff19166001179055565b6110ab6110a682611134565b612a4e565b600081815260cf6020526040808220805460ff191660021790555182917fdb43aa42235c8d63908794a952603e8d43a549383d13123c3d893a3fc2e6249591a250565b6110ff6110f96124d3565b50600090565b6111245760405162461bcd60e51b815260040161111b906150f3565b60405180910390fd5b61112f838383612a66565b505050565b600061113f8261241c565b6000828152609e6020526040902054609d8054909190811061116357611163614fe2565b9060005260206000209060060201600101549050919050565b60006111878361195d565b82106111e05760405162461bcd60e51b815260206004820152602260248201527f455243333532353a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161111b565b6001600160a01b0383166000908152609f6020526040902080548390811061120a5761120a614fe2565b9060005260206000200154905092915050565b61122f6112286124d3565b84836124e2565b61112f838383612691565b600054610100900460ff161580801561125a5750600054600160ff909116105b806112745750303b158015611274575060005460ff166001145b6112d75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161111b565b6000805460ff1916600117905580156112fa576000805461ff0019166101001790555b6001600160a01b03851661132157604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b03841661134857604051630ca2c90160e21b815260040160405180910390fd5b60005b828110156113b557600084848381811061136757611367614fe2565b905060200201602081019061137c9190614a1e565b6001600160a01b0316036113a357604051630ca2c90160e21b815260040160405180910390fd5b806113ad816150c4565b91505061134b565b5061142989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a908190840183828082843760009201829052509250612bb5915050565b6114338383612be7565b61143c84612c20565b6001600160a01b038516600090815260cb60205260409020805460ff1916600117905580156114a5576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505050565b6114b8612a3c565b6114c181612c20565b50565b6114dd60008051602061566a8339815191528284611bfb565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036115295760405162461bcd60e51b815260040161111b90615145565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661155b612c6a565b6001600160a01b0316146115815760405162461bcd60e51b815260040161111b90615191565b61158a81612c86565b604080516000808252602082019092526114c191839190612c8e565b6115ae6124d3565b6001600160a01b0316816001600160a01b0316146115f1576040516307ca099360e31b8152600481018490526001600160a01b038216602482015260440161111b565b61112f838383612df9565b61112f83838360405180602001604052806000815250611f99565b6116236110a682611134565b6114c181612e95565b611634612a3c565b6114c1816001600160a01b03166000908152609760205260409020805460ff19169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036116a15760405162461bcd60e51b815260040161111b90615145565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166116d3612c6a565b6001600160a01b0316146116f95760405162461bcd60e51b815260040161111b90615191565b61170282612c86565b6114dd82826001612c8e565b6000611719609d5490565b82106117735760405162461bcd60e51b815260206004820152602360248201527f455243333532353a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161111b565b609d828154811061178657611786614fe2565b9060005260206000209060060201600001549050919050565b6117bf60008051602061566a8339815191526117ba84611134565b612f92565b6114dd8282612fa4565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146118645760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161111b565b506000805160206156aa83398151915290565b61187f612a3c565b6114c1816001600160a01b03166000908152609760205260409020805460ff19166001179055565b6118b36110a684611134565b61112f8383612ff3565b60006118c88261241c565b6000828152609e6020526040902054609d805490919081106118ec576118ec614fe2565b60009182526020909120600360069092020101546001600160a01b03169050806119285760405162461bcd60e51b815260040161111b906151dd565b919050565b6119396110a682611134565b6114c18161304f565b6000610f3d60008051602061566a8339815191528385611fcc565b60006001600160a01b0382166119c95760405162461bcd60e51b815260206004820152602b60248201527f455243333532353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161111b565b506001600160a01b03166000908152609f602052604090205490565b6114dd60008051602061566a8339815191528284611f79565b600085815260d1602052604090208054611a1790614fae565b159050611a3a57604051636f55f62b60e01b81526004810186905260240161111b565b600085815260d160205260409020611a5384868361526b565b508115611b7157600085815260ce60205260409020805460ff19168315151790556001600160a01b038116611a9b57604051630ca2c90160e21b815260040160405180910390fd5b6001600160a01b0381163b611ac5578060405163d4daafa160e01b815260040161111b9190614950565b611ade60008051602061564a83398151915286836130f6565b611af76000805160206156ca83398151915286836130f6565b611b1e6000805160206156ca8339815191528660008051602061564a833981519152613187565b611b4560008051602061566a8339815191528660008051602061564a833981519152613187565b611b6c60008051602061564a8339815191528660008051602061564a833981519152613187565b611bdf565b611b916000805160206156ca83398151915286611b8c6124d3565b6130f6565b611bb86000805160206156ca833981519152866000805160206156ca833981519152613187565b611bdf60008051602061566a833981519152866000805160206156ca833981519152613187565b5050505050565b6114dd6000805160206156ca83398151915282845b611c058383612162565b82611c108282612f92565b611bdf858585612df9565b6114dd6000805160206156ca8339815191528284611f79565b606060998054610d6490614fae565b600081815260d160205260409020805460609190611c6090614fae565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8c90614fae565b8015611cd95780601f10611cae57610100808354040283529160200191611cd9565b820191906000526020600020905b815481529060010190602001808311611cbc57829003601f168201915b50505050509050919050565b600083815260d1602052604090208054611cfe90614fae565b9050600003611d2357604051630817886d60e41b81526004810184905260240161111b565b611d3e6000805160206156ca83398151915284610ac16124d3565b611d7657611d4a6124d3565b836000805160206156ca83398151915260405163c8c801a760e01b815260040161111b93929190615324565b600083815260d160205260409020611d8f82848361526b565b50505050565b6000611da08261241c565b6000828152609e6020526040902054609d80549091908110611dc457611dc4614fe2565b9060005260206000209060060201600201549050919050565b6000611de8826131f2565b50600090815260d0602052604090205490565b6114dd611e066124d3565b838361321b565b600081815260ce602052604090205460ff16611e3f5760405163db53ce7160e01b81526004810182905260240161111b565b611e5860008051602061564a83398151915282856132ee565b6001600160a01b038216611e7f57604051630ca2c90160e21b815260040160405180910390fd5b611e9860008051602061564a8339815191528284611f79565b611eb16000805160206156ca8339815191528284611f79565b611eca60008051602061566a8339815191528284611f79565b611ee360008051602061566a8339815191528285611bfb565b611efc6000805160206156ca8339815191528285611bfb565b611f1560008051602061564a8339815191528285611bfb565b604080516001600160a01b038086168252841660208201529081018290527f744258a28673e8738e2812c0ab8e8dbd70352f8871b1febac0dd753d96d79f589060600160405180910390a1505050565b600081815260cd6020526040812054610d4f565b611f838383612162565b82611f8e8282612f92565b611bdf8585856130f6565b611fa46110f96124d3565b611fc05760405162461bcd60e51b815260040161111b906150f3565b611d8f8484848461331c565b600091825260ca602090815260408084209484529381528383206001600160a01b0392909216835252205460ff1690565b6000610f3d6000805160206156ca8339815191528385611fcc565b612020612a3c565b6120286124d3565b6001600160a01b0316816001600160a01b03160361205957604051634a19f28160e01b815260040160405180910390fd5b6040516001600160a01b038216907ffb445f6ec07647d2bb7af72821e6b8b7303ec375e934d4a338d38ed5846c2d5690600090a26001600160a01b0316600090815260cb60205260409020805460ff19169055565b60606120b98261241c565b60006120d060408051602081019091526000815290565b60a0549091506001600160a01b031661211c5760008151116121015760405180602001604052806000815250610f3d565b8061210b84612441565b604051602001610eb7929190615345565b60a0546040516344a5a61760e11b8152600481018590526001600160a01b039091169063894b4c2e90602401610ef8565b6121596110a682611134565b6114c18161338f565b600090815260ca60209081526040808320938352929052206001015490565b61218a84612a4e565b6000612198868660016133dd565b905083156121b257600081815260d0602052604090208490555b82156121c2576121c28184612fa4565b505050505050565b60006121d58361241c565b506000918252609c602090815260408084206001600160a01b0393909316845291905290205490565b600080606060008061220f866118bd565b600087815260cf602052604090205490955060ff166002811115612235576122356150dd565b600096875260d0602090815260408089205460cd90925290972054959790969395939450915050565b612266612a3c565b6114c1816133f5565b6060600061228860408051602081019091526000815290565b60a0549091506001600160a01b03166122e85760008151116122b95760405180602001604052806000815250612363565b806122c33061343f565b6040516020016122d4929190615374565b604051602081830303815290604052612363565b60a060009054906101000a90046001600160a01b03166001600160a01b031663725fa09c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561233b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123639190810190615038565b91505090565b60008060006123788585612970565b9150915060005b818110156123ce576123ab83828151811061239c5761239c614fe2565b60200260200101516000613455565b156123bc5760019350505050610d4f565b806123c6816150c4565b91505061237f565b50600095945050505050565b6000610d4f826000613455565b60006001600160e01b031982166333cb74f560e11b1480610d4f57506301ffc9a760e01b6001600160e01b0319831614610d4f565b612425816134fa565b6114c15760405162461bcd60e51b815260040161111b906151dd565b6060600061244e83613546565b60010190506000816001600160401b0381111561246d5761246d614bf4565b6040519080825280601f01601f191660200182016040528015612497576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846124a157509392505050565b60006124dd61361e565b905090565b60006124ee83856121ca565b90506000198114611d8f57818110156125495760405162461bcd60e51b815260206004820152601f60248201527f455243333532353a20696e73756666696369656e7420616c6c6f77616e636500604482015260640161111b565b611d8f838561255885856153b8565b613655565b6000610d4f613784565b6001600160a01b0384166125c75760405162461bcd60e51b815260206004820152602160248201527f455243333532353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161111b565b826000036126215760405162461bcd60e51b815260206004820152602160248201527f455243333532353a2063616e6e6f74206d696e74207a65726f20746f6b656e496044820152601960fa1b606482015260840161111b565b61262a836134fa565b156126775760405162461bcd60e51b815260206004820152601d60248201527f455243333532353a20746f6b656e20616c7265616479206d696e746564000000604482015260640161111b565b61268284848461379e565b61268c8382613852565b611d8f565b61269a836134fa565b6126f65760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e736665722066726f6d20696e76616c696420746044820152661bdad95b88125160ca1b606482015260840161111b565b6126ff826134fa565b6127595760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20696e76616c696420746f6b604482015264195b88125160da1b606482015260840161111b565b6000838152609e6020526040812054609d8054909190811061277d5761277d614fe2565b906000526020600020906006020190506000609d609e600086815260200190815260200160002054815481106127b5576127b5614fe2565b90600052602060002090600602019050828260020154101561282c5760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161111b565b806001015482600101541461289a5760405162461bcd60e51b815260206004820152602e60248201527f455243333532353a207472616e7366657220746f20746f6b656e20776974682060448201526d191a5999995c995b9d081cdb1bdd60921b606482015260840161111b565b828260020160008282546128ae91906153b8565b92505081905550828160020160008282546128c991906153cb565b90915550506040518381528490869060008051602061568a8339815191529060200160405180910390a361290e858585604051806020016040528060008152506138c5565b611bdf5760405162461bcd60e51b815260206004820152602d60248201527f455243333532353a207472616e736665722072656a656374656420627920455260448201526c21999a991aa932b1b2b4bb32b960991b606482015260840161111b565b606060008061297e8561195d565b90506000816001600160401b0381111561299a5761299a614bf4565b6040519080825280602002602001820160405280156129c3578160200160208202803683370190505b5090506000805b83811015612a2d5760006129de898361117c565b9050876129ea82611134565b03612a1a578084846129fb816150c4565b955081518110612a0d57612a0d614fe2565b6020026020010181815250505b5080612a25816150c4565b9150506129ca565b509093509150505b9250929050565b612a4c612a476124d3565b613a40565b565b6114c160008051602061566a83398151915282612f92565b826001600160a01b0316612a79826118bd565b6001600160a01b031614612adb5760405162461bcd60e51b8152602060048201526024808201527f455243333532353a207472616e736665722066726f6d20696e76616c6964206f6044820152633bb732b960e11b606482015260840161111b565b6001600160a01b038216612b3f5760405162461bcd60e51b815260206004820152602560248201527f455243333532353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161111b565b6000612b4a82611134565b90506000612b5783611d95565b9050612b64600084613a7b565b612b6d83613b12565b612b778584613bbd565b612b818484613cde565b82846001600160a01b0316866001600160a01b031660008051602061571183398151915260405160405180910390a4611bdf565b600054610100900460ff16612bdc5760405162461bcd60e51b815260040161111b906153de565b61112f838383613d67565b600054610100900460ff16612c0e5760405162461bcd60e51b815260040161111b906153de565b612c16613dc5565b6114dd8282613dec565b60cc80546001600160a01b0319166001600160a01b0383169081179091556040517f5e4a30f4224898dbac86adca855a5edd3b8341a3aeb2b6ff0f0b5a82c013b65a90600090a250565b6000805160206156aa833981519152546001600160a01b031690565b6114c1612a3c565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615612cc15761112f83613e85565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612d1b575060408051601f3d908101601f19168201909252612d1891810190615429565b60015b612d7e5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161111b565b6000805160206156aa8339815191528114612ded5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161111b565b5061112f838383613f21565b612e04838383611fcc565b1561112f57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff19169055612e436124d3565b6001600160a01b0316816001600160a01b0316847f6f9148fcdc32766ca802c14716295d56eab7ed848d0dba113966f40087c8839085604051612e8891815260200190565b60405180910390a4505050565b612e9e8161241c565b6000818152609e6020526040812054609d80549091908110612ec257612ec2614fe2565b60009182526020909120600691909102016003810154600182015460028301549293506001600160a01b0390911691612efa85613b12565b612f048386613bbd565b612f0d85613f46565b60008560008051602061568a83398151915283604051612f2f91815260200190565b60405180910390a3600082867fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a460405185906000906001600160a01b03861690600080516020615711833981519152908390a4611bdf565b6114dd8282612f9f6124d3565b6132ee565b600082815260cd602090815260409182902083905581518481529081018390527f5e07998cef9cea674942c66f0ea7b0bce89ab9473ce240cc93d616c3491f8aeb910160405180910390a15050565b612ffe826001614154565b600082815260d06020526040908190208290555182907f1ebc57da8b3ebab98506502fbb73232ea29fbe86e4963a5a8c004810ad11190d906130439084815260200190565b60405180910390a25050565b613058816131f2565b6001600082815260cf602052604090205460ff16600281111561307d5761307d6150dd565b146130b657600081815260cf6020526040908190205490516308c9ef2d60e11b815261111b91839160ff90911690600190600401615464565b600081815260cf6020526040808220805460ff191690555182917fe2babfd5e77285a3c3dbc4b25592cbe4a7a26e97a7ac63067a22ebdaa9b82add91a250565b613101838383611fcc565b61112f57600082815260ca6020908152604080832086845282528083206001600160a01b03851684529091529020805460ff191660011790556131426124d3565b6001600160a01b0316816001600160a01b0316847f4dc88bd74ca601684356789d5b3dbc9cd44275b2544e8d35041203703b76823285604051612e8891815260200190565b60006131938484612162565b600084815260ca6020908152604080832088845282529182902060010185905590518581529192508391839187917f15f4a36186b2284157fe71215a07487f6c8bdc1203b3307c3e1fd9693011d3d3910160405180910390a450505050565b6131fb816134fa565b6114c1576040516321fbdd2b60e11b81526004810182905260240161111b565b816001600160a01b0316836001600160a01b03160361327c5760405162461bcd60e51b815260206004820152601a60248201527f455243333532353a20617070726f766520746f2063616c6c6572000000000000604482015260640161111b565b6001600160a01b038381166000818152609f602090815260408083209487168084526002909501825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b6132f9838383611fcc565b61112f5780828460405163c8c801a760e01b815260040161111b93929190615324565b613327848484612a66565b61333384848484614186565b611d8f5760405162461bcd60e51b815260206004820152602760248201527f455243333532353a207472616e7366657220746f206e6f6e204552433732315260448201526632b1b2b4bb32b960c91b606482015260840161111b565b61339a816001614154565b600081815260cf6020526040808220805460ff191660011790555182917f779fbee689bbd6f006ecb329206d35c7db7380f9837a8826fb8dc5cfcd3d33dd91a250565b60006133e7613784565b9050610f3d84828585612567565b60a080546001600160a01b0319166001600160a01b0383169081179091556040517f5252f52e45fc8ee6a7b43cef3645d23e9a470a34182b8b3a12627556635bfc9c90600090a250565b6060610d4f6001600160a01b03831660146142d3565b600082815260cf602052604081205460ff168181600281111561347a5761347a6150dd565b14613489576000915050610d4f565b6000613494856118bd565b600086815260d06020526040902054909150158015906134b2575083155b156134e6576001600160a01b038116158015906134dd5750600085815260d060205260409020544211155b92505050610d4f565b6001600160a01b031615159150610d4f9050565b609d5460009015801590610d4f57506000828152609e6020526040902054609d8054849290811061352d5761352d614fe2565b9060005260206000209060060201600001541492915050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106135855772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106135b1576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106135cf57662386f26fc10000830492506010015b6305f5e10083106135e7576305f5e100830492506008015b61271083106135fb57612710830492506004015b6064831061360d576064830492506002015b600a8310610d4f5760010192915050565b3360009081526097602052604081205460ff16801561363e575060143610155b15613650575060131936013560601c90565b503390565b6001600160a01b0382166136be5760405162461bcd60e51b815260206004820152602a60248201527f455243333532353a20617070726f76652076616c756520746f20746865207a65604482015269726f206164647265737360b01b606482015260840161111b565b6136c8828461446e565b61372e576000838152609e6020526040902054609d805490919081106136f0576136f0614fe2565b60009182526020808320600692909202909101600501805460018101825590835291200180546001600160a01b0319166001600160a01b0384161790555b6000838152609c602090815260408083206001600160a01b038616808552908352928190208490555183815285917f621b050de0ad08b51d19b48b3e6df75348c4de6bdd93e81b252ca62e28265b1b91016132e1565b609b805460009182613795836150c4565b91905055905090565b6040805160c081018252838152602080820184905260008284018190526001600160a01b038716606084015260808301819052835181815291820190935260a082015290506137ec81614541565b6137f68484613cde565b60405183906001600160a01b03861690600090600080516020615711833981519152908290a4816000847fe4f48c240d3b994948aa54f3e2f5fca59263dfe1d52b6e4cf39a5d249b5ccb6560405160405180910390a450505050565b6000828152609e6020526040902054609d8054839290811061387657613876614fe2565b9060005260206000209060060201600201600082825461389691906153cb565b9091555050604051818152829060009060008051602061568a8339815191529060200160405180910390a35050565b6000806138d1856118bd565b9050803b63ffffffff1615613a32576040516301ffc9a760e01b8152629ce20b60e01b60048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa925050508015613946575060408051601f3d908101601f1916820190925261394391810190615485565b60015b613985573d808015613974576040519150601f19603f3d011682016040523d82523d6000602084013e613979565b606091505b50600192505050613a38565b8015613a27576000826001600160a01b0316629ce20b6139a36124d3565b8a8a8a8a6040518663ffffffff1660e01b81526004016139c79594939291906154a2565b6020604051808303816000875af11580156139e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a0a91906154e0565b6001600160e01b031916629ce20b60e01b149350613a3892505050565b600192505050613a38565b60019150505b949350505050565b6001600160a01b038116600090815260cb602052604090205460ff166114c15780604051632957ccdd60e21b815260040161111b9190614950565b6000818152609e6020526040902054609d80548492908110613a9f57613a9f614fe2565b6000918252602090912060069091020160040180546001600160a01b0319166001600160a01b0392831617905581908316613ad9826118bd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609e6020526040812054609d80549091908110613b3657613b36614fe2565b600091825260208220600560069092020190810154909250905b81811015613bae576000836005018281548110613b6f57613b6f614fe2565b6000918252602080832090910154878352609c825260408084206001600160a01b03909216845291528120555080613ba6816150c4565b915050613b50565b5061112f600583016000614809565b6000818152609e6020526040812054609d80549091908110613be157613be1614fe2565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b039485161790559184168152609f909152604081208054909190613c30906001906153b8565b90506000826000018281548110613c4957613c49614fe2565b90600052602060002001549050600083600101600086815260200190815260200160002054905081846000018281548110613c8657613c86614fe2565b60009182526020808320909101929092558381526001860190915260408082208390558682528120558354849080613cc057613cc06154fd565b60019003818190600052602060002001600090559055505050505050565b6000818152609e6020526040902054609d80548492908110613d0257613d02614fe2565b6000918252602080832060069290920290910160030180546001600160a01b0319166001600160a01b03948516179055939091168152609f80845260408083208054858552600182810188529285208190559286529082018155825292902090910155565b600054610100900460ff16613d8e5760405162461bcd60e51b815260040161111b906153de565b6001609b556098613d9f8482615513565b506099613dac8382615513565b50609a805460ff191660ff929092169190911790555050565b600054610100900460ff16612a4c5760405162461bcd60e51b815260040161111b906153de565b600054610100900460ff16613e135760405162461bcd60e51b815260040161111b906153de565b60005b8181101561112f57600160976000858585818110613e3657613e36614fe2565b9050602002016020810190613e4b9190614a1e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580613e7d816150c4565b915050613e16565b6001600160a01b0381163b613ef25760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161111b565b6000805160206156aa83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b613f2a83614693565b600082511180613f375750805b1561112f57611d8f83836146d3565b609d54600090613f58906001906153b8565b6000838152609e6020526040812054609d8054939450909284908110613f8057613f80614fe2565b60009182526020918290206040805160c08101825260069093029091018054835260018101548385015260028101548383015260038101546001600160a01b03908116606085015260048201541660808401526005810180548351818702810187019094528084529394919360a08601939283018282801561402b57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161400d575b505050505081525050905080609d838154811061404a5761404a614fe2565b600091825260209182902083516006909202019081558282015160018201556040830151600282015560608301516003820180546001600160a01b039283166001600160a01b031991821617909155608085015160048401805491909316911617905560a0830151805191926140c892600585019290910190614827565b505081516000908152609e602052604080822085905586825281205550609d8054806140f6576140f66154fd565b60008281526020812060066000199093019283020181815560018101829055600281018290556003810180546001600160a01b031990811690915560048201805490911690559061414a6005830182614809565b5050905550505050565b61415e8282613455565b6114dd576040516316af84a960e21b815260048101839052811515602482015260440161111b565b6000833b63ffffffff16156142cb57836001600160a01b031663150b7a026141ac6124d3565b8786866040518563ffffffff1660e01b81526004016141ce94939291906155cc565b6020604051808303816000875af1925050508015614209575060408051601f3d908101601f19168201909252614206918101906154e0565b60015b6142b1573d808015614237576040519150601f19603f3d011682016040523d82523d6000602084013e61423c565b606091505b5080516000036142a95760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161111b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613a38565b506001613a38565b606060006142e28360026155ff565b6142ed9060026153cb565b6001600160401b0381111561430457614304614bf4565b6040519080825280601f01601f19166020018201604052801561432e576020820181803683370190505b509050600360fc1b8160008151811061434957614349614fe2565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061437857614378614fe2565b60200101906001600160f81b031916908160001a905350600061439c8460026155ff565b6143a79060016153cb565b90505b600181111561441f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106143db576143db614fe2565b1a60f81b8282815181106143f1576143f1614fe2565b60200101906001600160f81b031916908160001a90535060049490941c9361441881615616565b90506143aa565b508315610f3d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161111b565b6000818152609e6020526040812054609d8054839290811061449257614492614fe2565b6000918252602082206005600690920201015491505b81811015614536576000848152609e6020526040902054609d80546001600160a01b038816929081106144dd576144dd614fe2565b906000526020600020906006020160050182815481106144ff576144ff614fe2565b6000918252602090912001546001600160a01b03160361452457600192505050610d4f565b8061452e816150c4565b9150506144a8565b506000949350505050565b609d805482516000908152609e6020908152604080832084905560018401855593909152835160069092027fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7b8101928355818501517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7c820155928401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7d84015560608401517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7e840180546001600160a01b039283166001600160a01b03199182161790915560808601517fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf7f8601805491909316911617905560a084015180518594611d8f937fd26e832454299e9fabb89e0e5fffdc046d4e14431bc1bf607ffb2e8a1ddecf80909101920190614827565b61469c81613e85565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060610f3d83836040518060600160405280602781526020016156ea602791396060600080856001600160a01b031685604051614710919061562d565b600060405180830381855af49150503d806000811461474b576040519150601f19603f3d011682016040523d82523d6000602084013e614750565b606091505b50915091506147618683838761476b565b9695505050505050565b606083156147da5782516000036147d3576001600160a01b0385163b6147d35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161111b565b5081613a38565b613a3883838151156147ef5781518083602001fd5b8060405162461bcd60e51b815260040161111b9190614924565b50805460008255906000526020600020908101906114c1919061488c565b82805482825590600052602060002090810192821561487c579160200282015b8281111561487c57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614847565b5061488892915061488c565b5090565b5b80821115614888576000815560010161488d565b6001600160e01b0319811681146114c157600080fd5b6000602082840312156148c957600080fd5b8135610f3d816148a1565b60005b838110156148ef5781810151838201526020016148d7565b50506000910152565b600081518084526149108160208601602086016148d4565b601f01601f19169290920160200192915050565b602081526000610f3d60208301846148f8565b60006020828403121561494957600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b038116811461192857600080fd5b6000806040838503121561498e57600080fd5b61499783614964565b946020939093013593505050565b6000806000606084860312156149ba57600080fd5b833592506149ca60208501614964565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015614a12578351835292840192918401916001016149f6565b50909695505050505050565b600060208284031215614a3057600080fd5b610f3d82614964565b600080600060608486031215614a4e57600080fd5b614a5784614964565b92506149ca60208501614964565b600080600060608486031215614a7a57600080fd5b505081359360208301359350604090920135919050565b60008083601f840112614aa357600080fd5b5081356001600160401b03811115614aba57600080fd5b602083019150836020828501011115612a3557600080fd5b60008060008060008060008060a0898b031215614aee57600080fd5b88356001600160401b0380821115614b0557600080fd5b614b118c838d01614a91565b909a50985060208b0135915080821115614b2a57600080fd5b614b368c838d01614a91565b9098509650869150614b4a60408c01614964565b9550614b5860608c01614964565b945060808b0135915080821115614b6e57600080fd5b818b0191508b601f830112614b8257600080fd5b813581811115614b9157600080fd5b8c60208260051b8501011115614ba657600080fd5b6020830194508093505050509295985092959890939650565b600080600060608486031215614bd457600080fd5b8335925060208401359150614beb60408501614964565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715614c3257614c32614bf4565b604052919050565b60006001600160401b03821115614c5357614c53614bf4565b50601f01601f191660200190565b600082601f830112614c7257600080fd5b8135614c85614c8082614c3a565b614c0a565b818152846020838601011115614c9a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215614cca57600080fd5b614cd383614964565b915060208301356001600160401b03811115614cee57600080fd5b614cfa85828601614c61565b9150509250929050565b60008060408385031215614d1757600080fd5b50508035926020909101359150565b600060808284031215614d3857600080fd5b50919050565b600080600060c08486031215614d5357600080fd5b8335925060208401359150614beb8560408601614d26565b80151581146114c157600080fd5b600080600080600060808688031215614d9157600080fd5b8535945060208601356001600160401b03811115614dae57600080fd5b614dba88828901614a91565b9095509350506040860135614dce81614d6b565b9150614ddc60608701614964565b90509295509295909350565b600080600060408486031215614dfd57600080fd5b8335925060208401356001600160401b03811115614e1a57600080fd5b614e2686828701614a91565b9497909650939450505050565b60008060408385031215614e4657600080fd5b614e4f83614964565b91506020830135614e5f81614d6b565b809150509250929050565b60008060008060808587031215614e8057600080fd5b614e8985614964565b9350614e9760208601614964565b92506040850135915060608501356001600160401b03811115614eb957600080fd5b614ec587828801614c61565b91505092959194509250565b60008060008060006101008688031215614eea57600080fd5b614ef386614964565b9450602086013593506040860135925060608601359150614ddc8760808801614d26565b60008060408385031215614f2a57600080fd5b82359150614f3a60208401614964565b90509250929050565b6001600160a01b038616815260ff8516602082015260a060408201819052600090614f70908301866148f8565b606083019490945250608001529392505050565b60008060408385031215614f9757600080fd5b614fa083614964565b9150614f3a60208401614964565b600181811c90821680614fc257607f821691505b602082108103614d3857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000835161500a8184602088016148d4565b64736c6f742f60d81b908301908152835161502c8160058401602088016148d4565b01600501949350505050565b60006020828403121561504a57600080fd5b81516001600160401b0381111561506057600080fd5b8201601f8101841361507157600080fd5b805161507f614c8082614c3a565b81815285602083850101111561509457600080fd5b6150a58260208301602086016148d4565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b6000600182016150d6576150d66150ae565b5060010190565b634e487b7160e01b600052602160045260246000fd5b60208082526032908201527f455243333532353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b602080825260199082015278115490cccd4c8d4e881a5b9d985b1a59081d1bdad95b881251603a1b604082015260600190565b601f82111561112f57600081815260208120601f850160051c810160208610156152375750805b601f850160051c820191505b818110156121c257828155600101615243565b600019600383901b1c191660019190911b1790565b6001600160401b0383111561528257615282614bf4565b615296836152908354614fae565b83615210565b6000601f8411600181146152c457600085156152b25750838201355b6152bc8682615256565b845550611bdf565b600083815260209020601f19861690835b828110156152f557868501358255602094850194600190920191016152d5565b50868210156153125760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b039390931683526020830191909152604082015260600190565b600083516153578184602088016148d4565b83519083019061536b8183602088016148d4565b01949350505050565b600083516153868184602088016148d4565b68636f6e74726163742f60b81b90830190815283516153ac8160098401602088016148d4565b01600901949350505050565b81810381811115610d4f57610d4f6150ae565b80820180821115610d4f57610d4f6150ae565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60006020828403121561543b57600080fd5b5051919050565b6003811061546057634e487b7160e01b600052602160045260246000fd5b9052565b838152606081016154786020830185615442565b613a386040830184615442565b60006020828403121561549757600080fd5b8151610f3d81614d6b565b60018060a01b038616815284602082015283604082015282606082015260a0608082015260006154d560a08301846148f8565b979650505050505050565b6000602082840312156154f257600080fd5b8151610f3d816148a1565b634e487b7160e01b600052603160045260246000fd5b81516001600160401b0381111561552c5761552c614bf4565b6155408161553a8454614fae565b84615210565b602080601f83116001811461556f576000841561555d5750858301515b6155678582615256565b8655506121c2565b600085815260208120601f198616915b8281101561559e5788860151825594840194600190910190840161557f565b50858210156155bc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614761908301846148f8565b8082028115828204841417610d4f57610d4f6150ae565b600081615625576156256150ae565b506000190190565b6000825161563f8184602087016148d4565b919091019291505056fefca69b310bd19d275687ebe00b254b0772cf7a367c3f81a9a5a433f831fdc1dc3c63e605be3290ab6b04cfc46c6e1516e626d43236b034f09d7ede1d017beb0c0b2aac84f3ec956911fd78eae5311062972ff949f38412e8da39069d9f068cc6360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc449b0a7e0acc0a95c71947cb19fdd122b42abca9bdfbd6707ca4f1e3fdaef05e416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220463621331747345623a7010b736155d5d9f556b7519249ece7b9889191703fff64736f6c63430008130033"; type GatewayTokenV0ConstructorParams = | [signer?: Signer] @@ -2104,32 +2109,31 @@ export class GatewayTokenV0__factory extends ContractFactory { } } - override deploy( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } override getDeployTransaction( - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { + overrides?: NonPayableOverrides & { from?: string } + ): Promise { return super.getDeployTransaction(overrides || {}); } - override attach(address: string): GatewayTokenV0 { - return super.attach(address) as GatewayTokenV0; + override deploy(overrides?: NonPayableOverrides & { from?: string }) { + return super.deploy(overrides || {}) as Promise< + GatewayTokenV0 & { + deploymentTransaction(): ContractTransactionResponse; + } + >; } - override connect(signer: Signer): GatewayTokenV0__factory { - return super.connect(signer) as GatewayTokenV0__factory; + override connect(runner: ContractRunner | null): GatewayTokenV0__factory { + return super.connect(runner) as GatewayTokenV0__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): GatewayTokenV0Interface { - return new utils.Interface(_abi) as GatewayTokenV0Interface; + return new Interface(_abi) as GatewayTokenV0Interface; } static connect( address: string, - signerOrProvider: Signer | Provider + runner?: ContractRunner | null ): GatewayTokenV0 { - return new Contract(address, _abi, signerOrProvider) as GatewayTokenV0; + return new Contract(address, _abi, runner) as unknown as GatewayTokenV0; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/IERC721ExpirableV0__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/IERC721ExpirableV0__factory.ts index 249cdbb13..11750a00e 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/IERC721ExpirableV0__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/IERC721ExpirableV0__factory.ts @@ -3,8 +3,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; +import { Contract, Interface, type ContractRunner } from "ethers"; import type { IERC721ExpirableV0, IERC721ExpirableV0Interface, @@ -99,12 +98,12 @@ const _abi = [ export class IERC721ExpirableV0__factory { static readonly abi = _abi; static createInterface(): IERC721ExpirableV0Interface { - return new utils.Interface(_abi) as IERC721ExpirableV0Interface; + return new Interface(_abi) as IERC721ExpirableV0Interface; } static connect( address: string, - signerOrProvider: Signer | Provider + runner?: ContractRunner | null ): IERC721ExpirableV0 { - return new Contract(address, _abi, signerOrProvider) as IERC721ExpirableV0; + return new Contract(address, _abi, runner) as unknown as IERC721ExpirableV0; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/IGatewayTokenV0__factory.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/IGatewayTokenV0__factory.ts index 9c042d385..71adbf720 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/IGatewayTokenV0__factory.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/factories/test/contracts/v0/IGatewayTokenV0__factory.ts @@ -3,8 +3,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; +import { Contract, Interface, type ContractRunner } from "ethers"; import type { IGatewayTokenV0, IGatewayTokenV0Interface, @@ -409,12 +408,12 @@ const _abi = [ export class IGatewayTokenV0__factory { static readonly abi = _abi; static createInterface(): IGatewayTokenV0Interface { - return new utils.Interface(_abi) as IGatewayTokenV0Interface; + return new Interface(_abi) as IGatewayTokenV0Interface; } static connect( address: string, - signerOrProvider: Signer | Provider + runner?: ContractRunner | null ): IGatewayTokenV0 { - return new Contract(address, _abi, signerOrProvider) as IGatewayTokenV0; + return new Contract(address, _abi, runner) as unknown as IGatewayTokenV0; } } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/hardhat.d.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/hardhat.d.ts index 69099c248..ac6b8245d 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/hardhat.d.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/hardhat.d.ts @@ -22,6 +22,10 @@ declare module "hardhat/types/runtime" { name: "IAccessControlUpgradeable", signerOrOptions?: ethers.Signer | FactoryOptions ): Promise; + getContractFactory( + name: "OwnableUpgradeable", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; getContractFactory( name: "IERC1822ProxiableUpgradeable", signerOrOptions?: ethers.Signer | FactoryOptions @@ -62,6 +66,18 @@ declare module "hardhat/types/runtime" { name: "IERC5267", signerOrOptions?: ethers.Signer | FactoryOptions ): Promise; + getContractFactory( + name: "ERC20", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "ERC20Burnable", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "IERC20Metadata", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; getContractFactory( name: "IERC20Permit", signerOrOptions?: ethers.Signer | FactoryOptions @@ -70,6 +86,10 @@ declare module "hardhat/types/runtime" { name: "IERC20", signerOrOptions?: ethers.Signer | FactoryOptions ): Promise; + getContractFactory( + name: "ERC20PresetFixedSupply", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; getContractFactory( name: "EIP712", signerOrOptions?: ethers.Signer | FactoryOptions @@ -210,6 +230,58 @@ declare module "hardhat/types/runtime" { name: "TokenBitMask", signerOrOptions?: ethers.Signer | FactoryOptions ): Promise; + getContractFactory( + name: "DummyBrokenERC20", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "DummyBrokenEthRecipient", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "DummyERC20", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "ERC2771Test", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "GatewayTokenClientERC2771Test", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "GatewayTokenClientERC2771UpgradeableTest", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "GatewayTokenClientTest", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "GatewayTokenInternalsTest", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "GatewayTokenUpgradeTest", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "StubMultisig", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "GatewayTokenV0", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "IERC721ExpirableV0", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; + getContractFactory( + name: "IGatewayTokenV0", + signerOrOptions?: ethers.Signer | FactoryOptions + ): Promise; getContractAt( name: "AccessControlUpgradeable", @@ -221,6 +293,11 @@ declare module "hardhat/types/runtime" { address: string | ethers.Addressable, signer?: ethers.Signer ): Promise; + getContractAt( + name: "OwnableUpgradeable", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; getContractAt( name: "IERC1822ProxiableUpgradeable", address: string | ethers.Addressable, @@ -271,6 +348,21 @@ declare module "hardhat/types/runtime" { address: string | ethers.Addressable, signer?: ethers.Signer ): Promise; + getContractAt( + name: "ERC20", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "ERC20Burnable", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "IERC20Metadata", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; getContractAt( name: "IERC20Permit", address: string | ethers.Addressable, @@ -281,6 +373,11 @@ declare module "hardhat/types/runtime" { address: string | ethers.Addressable, signer?: ethers.Signer ): Promise; + getContractAt( + name: "ERC20PresetFixedSupply", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; getContractAt( name: "EIP712", address: string | ethers.Addressable, @@ -456,6 +553,71 @@ declare module "hardhat/types/runtime" { address: string | ethers.Addressable, signer?: ethers.Signer ): Promise; + getContractAt( + name: "DummyBrokenERC20", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "DummyBrokenEthRecipient", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "DummyERC20", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "ERC2771Test", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "GatewayTokenClientERC2771Test", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "GatewayTokenClientERC2771UpgradeableTest", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "GatewayTokenClientTest", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "GatewayTokenInternalsTest", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "GatewayTokenUpgradeTest", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "StubMultisig", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "GatewayTokenV0", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "IERC721ExpirableV0", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; + getContractAt( + name: "IGatewayTokenV0", + address: string | ethers.Addressable, + signer?: ethers.Signer + ): Promise; deployContract( name: "AccessControlUpgradeable", @@ -465,6 +627,10 @@ declare module "hardhat/types/runtime" { name: "IAccessControlUpgradeable", signerOrOptions?: ethers.Signer | DeployContractOptions ): Promise; + deployContract( + name: "OwnableUpgradeable", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; deployContract( name: "IERC1822ProxiableUpgradeable", signerOrOptions?: ethers.Signer | DeployContractOptions @@ -505,6 +671,18 @@ declare module "hardhat/types/runtime" { name: "IERC5267", signerOrOptions?: ethers.Signer | DeployContractOptions ): Promise; + deployContract( + name: "ERC20", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "ERC20Burnable", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "IERC20Metadata", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; deployContract( name: "IERC20Permit", signerOrOptions?: ethers.Signer | DeployContractOptions @@ -513,6 +691,10 @@ declare module "hardhat/types/runtime" { name: "IERC20", signerOrOptions?: ethers.Signer | DeployContractOptions ): Promise; + deployContract( + name: "ERC20PresetFixedSupply", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; deployContract( name: "EIP712", signerOrOptions?: ethers.Signer | DeployContractOptions @@ -653,6 +835,58 @@ declare module "hardhat/types/runtime" { name: "TokenBitMask", signerOrOptions?: ethers.Signer | DeployContractOptions ): Promise; + deployContract( + name: "DummyBrokenERC20", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "DummyBrokenEthRecipient", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "DummyERC20", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "ERC2771Test", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenClientERC2771Test", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenClientERC2771UpgradeableTest", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenClientTest", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenInternalsTest", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenUpgradeTest", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "StubMultisig", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenV0", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "IERC721ExpirableV0", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "IGatewayTokenV0", + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; deployContract( name: "AccessControlUpgradeable", @@ -664,6 +898,11 @@ declare module "hardhat/types/runtime" { args: any[], signerOrOptions?: ethers.Signer | DeployContractOptions ): Promise; + deployContract( + name: "OwnableUpgradeable", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; deployContract( name: "IERC1822ProxiableUpgradeable", args: any[], @@ -714,6 +953,21 @@ declare module "hardhat/types/runtime" { args: any[], signerOrOptions?: ethers.Signer | DeployContractOptions ): Promise; + deployContract( + name: "ERC20", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "ERC20Burnable", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "IERC20Metadata", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; deployContract( name: "IERC20Permit", args: any[], @@ -724,6 +978,11 @@ declare module "hardhat/types/runtime" { args: any[], signerOrOptions?: ethers.Signer | DeployContractOptions ): Promise; + deployContract( + name: "ERC20PresetFixedSupply", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; deployContract( name: "EIP712", args: any[], @@ -899,6 +1158,71 @@ declare module "hardhat/types/runtime" { args: any[], signerOrOptions?: ethers.Signer | DeployContractOptions ): Promise; + deployContract( + name: "DummyBrokenERC20", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "DummyBrokenEthRecipient", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "DummyERC20", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "ERC2771Test", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenClientERC2771Test", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenClientERC2771UpgradeableTest", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenClientTest", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenInternalsTest", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenUpgradeTest", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "StubMultisig", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "GatewayTokenV0", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "IERC721ExpirableV0", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; + deployContract( + name: "IGatewayTokenV0", + args: any[], + signerOrOptions?: ethers.Signer | DeployContractOptions + ): Promise; // default types getContractFactory( diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/index.ts index 786eba083..dd0d87349 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/index.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/index.ts @@ -8,11 +8,15 @@ import type * as solvprotocol from "./@solvprotocol"; export type { solvprotocol }; import type * as contracts from "./contracts"; export type { contracts }; +import type * as test from "./test"; +export type { test }; export * as factories from "./factories"; export type { AccessControlUpgradeable } from "./@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable"; export { AccessControlUpgradeable__factory } from "./factories/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable__factory"; export type { IAccessControlUpgradeable } from "./@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable"; export { IAccessControlUpgradeable__factory } from "./factories/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable__factory"; +export type { OwnableUpgradeable } from "./@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable"; +export { OwnableUpgradeable__factory } from "./factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory"; export type { IERC1822ProxiableUpgradeable } from "./@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol/IERC1822ProxiableUpgradeable"; export { IERC1822ProxiableUpgradeable__factory } from "./factories/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol/IERC1822ProxiableUpgradeable__factory"; export type { IERC1967Upgradeable } from "./@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable"; @@ -33,10 +37,18 @@ export type { IERC165Upgradeable } from "./@openzeppelin/contracts-upgradeable/u export { IERC165Upgradeable__factory } from "./factories/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable__factory"; export type { IERC5267 } from "./@openzeppelin/contracts/interfaces/IERC5267"; export { IERC5267__factory } from "./factories/@openzeppelin/contracts/interfaces/IERC5267__factory"; +export type { ERC20 } from "./@openzeppelin/contracts/token/ERC20/ERC20"; +export { ERC20__factory } from "./factories/@openzeppelin/contracts/token/ERC20/ERC20__factory"; +export type { ERC20Burnable } from "./@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable"; +export { ERC20Burnable__factory } from "./factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable__factory"; +export type { IERC20Metadata } from "./@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata"; +export { IERC20Metadata__factory } from "./factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory"; export type { IERC20Permit } from "./@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit"; export { IERC20Permit__factory } from "./factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit__factory"; export type { IERC20 } from "./@openzeppelin/contracts/token/ERC20/IERC20"; export { IERC20__factory } from "./factories/@openzeppelin/contracts/token/ERC20/IERC20__factory"; +export type { ERC20PresetFixedSupply } from "./@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply"; +export { ERC20PresetFixedSupply__factory } from "./factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply__factory"; export type { EIP712 } from "./@openzeppelin/contracts/utils/cryptography/EIP712"; export { EIP712__factory } from "./factories/@openzeppelin/contracts/utils/cryptography/EIP712__factory"; export type { ERC165 } from "./@openzeppelin/contracts/utils/introspection/ERC165"; @@ -107,3 +119,29 @@ export type { ParameterizedAccessControl } from "./contracts/ParameterizedAccess export { ParameterizedAccessControl__factory } from "./factories/contracts/ParameterizedAccessControl__factory"; export type { TokenBitMask } from "./contracts/TokenBitMask"; export { TokenBitMask__factory } from "./factories/contracts/TokenBitMask__factory"; +export type { DummyBrokenERC20 } from "./test/contracts/DummyBrokenERC20"; +export { DummyBrokenERC20__factory } from "./factories/test/contracts/DummyBrokenERC20__factory"; +export type { DummyBrokenEthRecipient } from "./test/contracts/DummyBrokenEthRecipient"; +export { DummyBrokenEthRecipient__factory } from "./factories/test/contracts/DummyBrokenEthRecipient__factory"; +export type { DummyERC20 } from "./test/contracts/DummyERC20"; +export { DummyERC20__factory } from "./factories/test/contracts/DummyERC20__factory"; +export type { ERC2771Test } from "./test/contracts/ERC2771Test"; +export { ERC2771Test__factory } from "./factories/test/contracts/ERC2771Test__factory"; +export type { GatewayTokenClientERC2771Test } from "./test/contracts/GatewayTokenClientERC2771Test"; +export { GatewayTokenClientERC2771Test__factory } from "./factories/test/contracts/GatewayTokenClientERC2771Test__factory"; +export type { GatewayTokenClientERC2771UpgradeableTest } from "./test/contracts/GatewayTokenClientERC2771UpgradeableTest"; +export { GatewayTokenClientERC2771UpgradeableTest__factory } from "./factories/test/contracts/GatewayTokenClientERC2771UpgradeableTest__factory"; +export type { GatewayTokenClientTest } from "./test/contracts/GatewayTokenClientTest"; +export { GatewayTokenClientTest__factory } from "./factories/test/contracts/GatewayTokenClientTest__factory"; +export type { GatewayTokenInternalsTest } from "./test/contracts/GatewayTokenInternalsTest"; +export { GatewayTokenInternalsTest__factory } from "./factories/test/contracts/GatewayTokenInternalsTest__factory"; +export type { GatewayTokenUpgradeTest } from "./test/contracts/GatewayTokenUpgradeTest"; +export { GatewayTokenUpgradeTest__factory } from "./factories/test/contracts/GatewayTokenUpgradeTest__factory"; +export type { StubMultisig } from "./test/contracts/StubMultisig"; +export { StubMultisig__factory } from "./factories/test/contracts/StubMultisig__factory"; +export type { GatewayTokenV0 } from "./test/contracts/v0/GatewayTokenV0"; +export { GatewayTokenV0__factory } from "./factories/test/contracts/v0/GatewayTokenV0__factory"; +export type { IERC721ExpirableV0 } from "./test/contracts/v0/IERC721ExpirableV0"; +export { IERC721ExpirableV0__factory } from "./factories/test/contracts/v0/IERC721ExpirableV0__factory"; +export type { IGatewayTokenV0 } from "./test/contracts/v0/IGatewayTokenV0"; +export { IGatewayTokenV0__factory } from "./factories/test/contracts/v0/IGatewayTokenV0__factory"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/DummyBrokenEthRecipient.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/DummyBrokenEthRecipient.ts index 0a93ea39a..ed6ea65bc 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/DummyBrokenEthRecipient.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/DummyBrokenEthRecipient.ts @@ -2,56 +2,69 @@ // @ts-nocheck /* tslint:disable */ /* eslint-disable */ -import type { BaseContract, Signer, utils } from "ethers"; - -import type { Listener, Provider } from "@ethersproject/providers"; import type { - TypedEventFilter, - TypedEvent, + BaseContract, + FunctionFragment, + Interface, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; +import type { + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, TypedListener, - OnEvent, - PromiseOrValue, } from "../../common"; -export interface DummyBrokenEthRecipientInterface extends utils.Interface { - functions: {}; - - events: {}; -} +export interface DummyBrokenEthRecipientInterface extends Interface {} export interface DummyBrokenEthRecipient extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + connect(runner?: ContractRunner | null): DummyBrokenEthRecipient; + waitForDeployment(): Promise; interface: DummyBrokenEthRecipientInterface; - queryFilter( - event: TypedEventFilter, + queryFilter( + event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; - functions: {}; + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; - callStatic: {}; + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; - filters: {}; + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; - estimateGas: {}; + getFunction( + key: string | FunctionFragment + ): T; - populateTransaction: {}; + filters: {}; } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/ERC2771Test.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/ERC2771Test.ts index 7f343cafb..2643535a4 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/ERC2771Test.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/ERC2771Test.ts @@ -4,42 +4,29 @@ /* eslint-disable */ import type { BaseContract, - BigNumber, BigNumberish, BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, + Interface, EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; import type { - TypedEventFilter, - TypedEvent, + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, TypedListener, - OnEvent, - PromiseOrValue, + TypedContractMethod, } from "../../common"; -export interface ERC2771TestInterface extends utils.Interface { - functions: { - "addForwarder(address)": FunctionFragment; - "getMsgData()": FunctionFragment; - "getMsgDataWithArg(uint256)": FunctionFragment; - "getMsgSender()": FunctionFragment; - "isTrustedForwarder(address)": FunctionFragment; - "removeForwarder(address)": FunctionFragment; - }; - +export interface ERC2771TestInterface extends Interface { getFunction( - nameOrSignatureOrTopic: + nameOrSignature: | "addForwarder" | "getMsgData" | "getMsgDataWithArg" @@ -48,9 +35,11 @@ export interface ERC2771TestInterface extends utils.Interface { | "removeForwarder" ): FunctionFragment; + getEvent(nameOrSignatureOrTopic: "MsgData" | "MsgSender"): EventFragment; + encodeFunctionData( functionFragment: "addForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "getMsgData", @@ -58,7 +47,7 @@ export interface ERC2771TestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "getMsgDataWithArg", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getMsgSender", @@ -66,11 +55,11 @@ export interface ERC2771TestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "removeForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; decodeFunctionResult( @@ -94,205 +83,162 @@ export interface ERC2771TestInterface extends utils.Interface { functionFragment: "removeForwarder", data: BytesLike ): Result; - - events: { - "MsgData(bytes)": EventFragment; - "MsgSender(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MsgData"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MsgSender"): EventFragment; } -export interface MsgDataEventObject { - arg0: string; +export namespace MsgDataEvent { + export type InputTuple = [arg0: BytesLike]; + export type OutputTuple = [arg0: string]; + export interface OutputObject { + arg0: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type MsgDataEvent = TypedEvent<[string], MsgDataEventObject>; -export type MsgDataEventFilter = TypedEventFilter; - -export interface MsgSenderEventObject { - arg0: string; +export namespace MsgSenderEvent { + export type InputTuple = [arg0: AddressLike]; + export type OutputTuple = [arg0: string]; + export interface OutputObject { + arg0: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type MsgSenderEvent = TypedEvent<[string], MsgSenderEventObject>; - -export type MsgSenderEventFilter = TypedEventFilter; export interface ERC2771Test extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + connect(runner?: ContractRunner | null): ERC2771Test; + waitForDeployment(): Promise; interface: ERC2771TestInterface; - queryFilter( - event: TypedEventFilter, + queryFilter( + event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgData( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgDataWithArg( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgData( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgDataWithArg( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - addForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData(overrides?: CallOverrides): Promise; - - getMsgDataWithArg( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgSender(overrides?: CallOverrides): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + addForwarder: TypedContractMethod< + [forwarder: AddressLike], + [void], + "nonpayable" + >; + + getMsgData: TypedContractMethod<[], [void], "nonpayable">; + + getMsgDataWithArg: TypedContractMethod< + [arg0: BigNumberish], + [void], + "nonpayable" + >; + + getMsgSender: TypedContractMethod<[], [string], "nonpayable">; + + isTrustedForwarder: TypedContractMethod< + [forwarder: AddressLike], + [boolean], + "view" + >; + + removeForwarder: TypedContractMethod< + [forwarder: AddressLike], + [void], + "nonpayable" + >; + + getFunction( + key: string | FunctionFragment + ): T; - removeForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; + getFunction( + nameOrSignature: "addForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "getMsgData" + ): TypedContractMethod<[], [void], "nonpayable">; + getFunction( + nameOrSignature: "getMsgDataWithArg" + ): TypedContractMethod<[arg0: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "getMsgSender" + ): TypedContractMethod<[], [string], "nonpayable">; + getFunction( + nameOrSignature: "isTrustedForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [boolean], "view">; + getFunction( + nameOrSignature: "removeForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [void], "nonpayable">; + + getEvent( + key: "MsgData" + ): TypedContractEvent< + MsgDataEvent.InputTuple, + MsgDataEvent.OutputTuple, + MsgDataEvent.OutputObject + >; + getEvent( + key: "MsgSender" + ): TypedContractEvent< + MsgSenderEvent.InputTuple, + MsgSenderEvent.OutputTuple, + MsgSenderEvent.OutputObject + >; filters: { - "MsgData(bytes)"(arg0?: null): MsgDataEventFilter; - MsgData(arg0?: null): MsgDataEventFilter; - - "MsgSender(address)"(arg0?: null): MsgSenderEventFilter; - MsgSender(arg0?: null): MsgSenderEventFilter; - }; - - estimateGas: { - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgData( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgDataWithArg( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgData( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgDataWithArg( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + "MsgData(bytes)": TypedContractEvent< + MsgDataEvent.InputTuple, + MsgDataEvent.OutputTuple, + MsgDataEvent.OutputObject + >; + MsgData: TypedContractEvent< + MsgDataEvent.InputTuple, + MsgDataEvent.OutputTuple, + MsgDataEvent.OutputObject + >; + + "MsgSender(address)": TypedContractEvent< + MsgSenderEvent.InputTuple, + MsgSenderEvent.OutputTuple, + MsgSenderEvent.OutputObject + >; + MsgSender: TypedContractEvent< + MsgSenderEvent.InputTuple, + MsgSenderEvent.OutputTuple, + MsgSenderEvent.OutputObject + >; }; } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenClientERC2771Test.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenClientERC2771Test.ts deleted file mode 100644 index 8945781df..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenClientERC2771Test.ts +++ /dev/null @@ -1,146 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export interface GatewayTokenClientERC2771TestInterface - extends utils.Interface { - functions: { - "isTrustedForwarder(address)": FunctionFragment; - "testGated()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "isTrustedForwarder" | "testGated" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "testGated", values?: undefined): string; - - decodeFunctionResult( - functionFragment: "isTrustedForwarder", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "testGated", data: BytesLike): Result; - - events: { - "Success()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Success"): EventFragment; -} - -export interface SuccessEventObject {} -export type SuccessEvent = TypedEvent<[], SuccessEventObject>; - -export type SuccessEventFilter = TypedEventFilter; - -export interface GatewayTokenClientERC2771Test extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GatewayTokenClientERC2771TestInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated(overrides?: CallOverrides): Promise; - }; - - filters: { - "Success()"(): SuccessEventFilter; - Success(): SuccessEventFilter; - }; - - estimateGas: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenERC2771ClientTest.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenERC2771ClientTest.ts deleted file mode 100644 index 6b496f176..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/GatewayTokenERC2771ClientTest.ts +++ /dev/null @@ -1,158 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export interface GatewayTokenERC2771ClientTestInterface - extends utils.Interface { - functions: { - "isTrustedForwarder(address)": FunctionFragment; - "testGated()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "isTrustedForwarder" | "testGated" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "testGated", values?: undefined): string; - - decodeFunctionResult( - functionFragment: "isTrustedForwarder", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "testGated", data: BytesLike): Result; - - events: { - "Initialized(uint8)": EventFragment; - "Success()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Success"): EventFragment; -} - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; - -export type InitializedEventFilter = TypedEventFilter; - -export interface SuccessEventObject {} -export type SuccessEvent = TypedEvent<[], SuccessEventObject>; - -export type SuccessEventFilter = TypedEventFilter; - -export interface GatewayTokenERC2771ClientTest extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GatewayTokenERC2771ClientTestInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated(overrides?: CallOverrides): Promise; - }; - - filters: { - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Success()"(): SuccessEventFilter; - Success(): SuccessEventFilter; - }; - - estimateGas: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/index.ts deleted file mode 100644 index 425b846b1..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2711Test.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export type { GatewayTokenClientERC2771Test } from "./GatewayTokenClientERC2771Test"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771Test.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771Test.ts index 7fecfabd3..40caf2d01 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771Test.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771Test.ts @@ -4,43 +4,35 @@ /* eslint-disable */ import type { BaseContract, - BigNumber, BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, + Interface, EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; import type { - TypedEventFilter, - TypedEvent, + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, TypedListener, - OnEvent, - PromiseOrValue, + TypedContractMethod, } from "../../common"; -export interface GatewayTokenClientERC2771TestInterface - extends utils.Interface { - functions: { - "isTrustedForwarder(address)": FunctionFragment; - "testGated()": FunctionFragment; - }; - +export interface GatewayTokenClientERC2771TestInterface extends Interface { getFunction( - nameOrSignatureOrTopic: "isTrustedForwarder" | "testGated" + nameOrSignature: "isTrustedForwarder" | "testGated" ): FunctionFragment; + getEvent(nameOrSignatureOrTopic: "Success"): EventFragment; + encodeFunctionData( functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData(functionFragment: "testGated", values?: undefined): string; @@ -49,98 +41,98 @@ export interface GatewayTokenClientERC2771TestInterface data: BytesLike ): Result; decodeFunctionResult(functionFragment: "testGated", data: BytesLike): Result; - - events: { - "Success()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Success"): EventFragment; } -export interface SuccessEventObject {} -export type SuccessEvent = TypedEvent<[], SuccessEventObject>; - -export type SuccessEventFilter = TypedEventFilter; +export namespace SuccessEvent { + export type InputTuple = []; + export type OutputTuple = []; + export interface OutputObject {} + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} export interface GatewayTokenClientERC2771Test extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + connect(runner?: ContractRunner | null): GatewayTokenClientERC2771Test; + waitForDeployment(): Promise; interface: GatewayTokenClientERC2771TestInterface; - queryFilter( - event: TypedEventFilter, + queryFilter( + event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + isTrustedForwarder: TypedContractMethod< + [forwarder: AddressLike], + [boolean], + "view" + >; + + testGated: TypedContractMethod<[], [void], "nonpayable">; + + getFunction( + key: string | FunctionFragment + ): T; - callStatic: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + getFunction( + nameOrSignature: "isTrustedForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [boolean], "view">; + getFunction( + nameOrSignature: "testGated" + ): TypedContractMethod<[], [void], "nonpayable">; - testGated(overrides?: CallOverrides): Promise; - }; + getEvent( + key: "Success" + ): TypedContractEvent< + SuccessEvent.InputTuple, + SuccessEvent.OutputTuple, + SuccessEvent.OutputObject + >; filters: { - "Success()"(): SuccessEventFilter; - Success(): SuccessEventFilter; - }; - - estimateGas: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + "Success()": TypedContractEvent< + SuccessEvent.InputTuple, + SuccessEvent.OutputTuple, + SuccessEvent.OutputObject + >; + Success: TypedContractEvent< + SuccessEvent.InputTuple, + SuccessEvent.OutputTuple, + SuccessEvent.OutputObject + >; }; } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771Test.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771Test.ts deleted file mode 100644 index cca077c73..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771Test.ts +++ /dev/null @@ -1,204 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export interface GatewayTokenClientERC2771TestInterface - extends utils.Interface { - functions: { - "initialize(address,uint256,address[])": FunctionFragment; - "isTrustedForwarder(address)": FunctionFragment; - "testGated()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "initialize" | "isTrustedForwarder" | "testGated" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "initialize", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "testGated", values?: undefined): string; - - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isTrustedForwarder", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "testGated", data: BytesLike): Result; - - events: { - "Initialized(uint8)": EventFragment; - "Success()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Success"): EventFragment; -} - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; - -export type InitializedEventFilter = TypedEventFilter; - -export interface SuccessEventObject {} -export type SuccessEvent = TypedEvent<[], SuccessEventObject>; - -export type SuccessEventFilter = TypedEventFilter; - -export interface GatewayTokenClientERC2771Test extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GatewayTokenClientERC2771TestInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - initialize( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - initialize( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - initialize( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated(overrides?: CallOverrides): Promise; - }; - - filters: { - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Success()"(): SuccessEventFilter; - Success(): SuccessEventFilter; - }; - - estimateGas: { - initialize( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - initialize( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771UpgradeableTest.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771UpgradeableTest.ts deleted file mode 100644 index 10c7b9add..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/GatewayTokenClientERC2771UpgradeableTest.ts +++ /dev/null @@ -1,204 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../common"; - -export interface GatewayTokenClientERC2771UpgradeableTestInterface - extends utils.Interface { - functions: { - "initialize(address,uint256,address[])": FunctionFragment; - "isTrustedForwarder(address)": FunctionFragment; - "testGated()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "initialize" | "isTrustedForwarder" | "testGated" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "initialize", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "testGated", values?: undefined): string; - - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isTrustedForwarder", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "testGated", data: BytesLike): Result; - - events: { - "Initialized(uint8)": EventFragment; - "Success()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Success"): EventFragment; -} - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; - -export type InitializedEventFilter = TypedEventFilter; - -export interface SuccessEventObject {} -export type SuccessEvent = TypedEvent<[], SuccessEventObject>; - -export type SuccessEventFilter = TypedEventFilter; - -export interface GatewayTokenClientERC2771UpgradeableTest extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GatewayTokenClientERC2771UpgradeableTestInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - initialize( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - initialize( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - initialize( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated(overrides?: CallOverrides): Promise; - }; - - filters: { - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Success()"(): SuccessEventFilter; - Success(): SuccessEventFilter; - }; - - estimateGas: { - initialize( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - initialize( - gatewayTokenContract: PromiseOrValue, - gatekeeperNetwork: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/index.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/index.ts deleted file mode 100644 index e78dce0c4..000000000 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientERC2771UpgradeableTest.sol/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -// @ts-nocheck -/* tslint:disable */ -/* eslint-disable */ -export type { GatewayTokenClientERC2771Test } from "./GatewayTokenClientERC2771Test"; -export type { GatewayTokenClientERC2771UpgradeableTest } from "./GatewayTokenClientERC2771UpgradeableTest"; diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientTest.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientTest.ts index b01221c63..4a74856bd 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientTest.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenClientTest.ts @@ -4,106 +4,115 @@ /* eslint-disable */ import type { BaseContract, - BigNumber, BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, + Interface, EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; import type { - TypedEventFilter, - TypedEvent, + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, TypedListener, - OnEvent, - PromiseOrValue, + TypedContractMethod, } from "../../common"; -export interface GatewayTokenClientTestInterface extends utils.Interface { - functions: { - "testGated()": FunctionFragment; - }; +export interface GatewayTokenClientTestInterface extends Interface { + getFunction(nameOrSignature: "testGated"): FunctionFragment; - getFunction(nameOrSignatureOrTopic: "testGated"): FunctionFragment; + getEvent(nameOrSignatureOrTopic: "Success"): EventFragment; encodeFunctionData(functionFragment: "testGated", values?: undefined): string; decodeFunctionResult(functionFragment: "testGated", data: BytesLike): Result; - - events: { - "Success()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Success"): EventFragment; } -export interface SuccessEventObject {} -export type SuccessEvent = TypedEvent<[], SuccessEventObject>; - -export type SuccessEventFilter = TypedEventFilter; +export namespace SuccessEvent { + export type InputTuple = []; + export type OutputTuple = []; + export interface OutputObject {} + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} export interface GatewayTokenClientTest extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + connect(runner?: ContractRunner | null): GatewayTokenClientTest; + waitForDeployment(): Promise; interface: GatewayTokenClientTestInterface; - queryFilter( - event: TypedEventFilter, + queryFilter( + event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - testGated(overrides?: CallOverrides): Promise; - }; + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + testGated: TypedContractMethod<[], [void], "nonpayable">; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "testGated" + ): TypedContractMethod<[], [void], "nonpayable">; + + getEvent( + key: "Success" + ): TypedContractEvent< + SuccessEvent.InputTuple, + SuccessEvent.OutputTuple, + SuccessEvent.OutputObject + >; filters: { - "Success()"(): SuccessEventFilter; - Success(): SuccessEventFilter; - }; - - estimateGas: { - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - testGated( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + "Success()": TypedContractEvent< + SuccessEvent.InputTuple, + SuccessEvent.OutputTuple, + SuccessEvent.OutputObject + >; + Success: TypedContractEvent< + SuccessEvent.InputTuple, + SuccessEvent.OutputTuple, + SuccessEvent.OutputObject + >; }; } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenInternalsTest.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenInternalsTest.ts index 230bac936..0d8f626d1 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenInternalsTest.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenInternalsTest.ts @@ -4,133 +4,51 @@ /* eslint-disable */ import type { BaseContract, - BigNumber, BigNumberish, BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, + Interface, EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; import type { - TypedEventFilter, - TypedEvent, + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, TypedListener, - OnEvent, - PromiseOrValue, + TypedContractMethod, } from "../../common"; export type ChargeStruct = { - value: PromiseOrValue; - chargeType: PromiseOrValue; - token: PromiseOrValue; - tokenSender: PromiseOrValue; - recipient: PromiseOrValue; + value: BigNumberish; + chargeType: BigNumberish; + token: AddressLike; + tokenSender: AddressLike; + recipient: AddressLike; }; -export type ChargeStructOutput = [BigNumber, number, string, string, string] & { - value: BigNumber; - chargeType: number; +export type ChargeStructOutput = [ + value: bigint, + chargeType: bigint, + token: string, + tokenSender: string, + recipient: string +] & { + value: bigint; + chargeType: bigint; token: string; tokenSender: string; recipient: string; }; -export interface GatewayTokenInternalsTestInterface extends utils.Interface { - functions: { - "DAO_MANAGER_ROLE()": FunctionFragment; - "DEFAULT_ADMIN_ROLE()": FunctionFragment; - "GATEKEEPER_ROLE()": FunctionFragment; - "NETWORK_AUTHORITY_ROLE()": FunctionFragment; - "addForwarder(address)": FunctionFragment; - "addGatekeeper(address,uint256)": FunctionFragment; - "addNetworkAuthority(address,uint256)": FunctionFragment; - "allowance(uint256,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "approve(uint256,address,uint256)": FunctionFragment; - "authorizedUpgrade()": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "balanceOf(uint256)": FunctionFragment; - "burn(uint256)": FunctionFragment; - "contractURI()": FunctionFragment; - "createNetwork(uint256,string,bool,address)": FunctionFragment; - "flagsStorage()": FunctionFragment; - "freeze(uint256)": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "getExpiration(uint256)": FunctionFragment; - "getIssuingGatekeeper(uint256)": FunctionFragment; - "getMsgData(uint256)": FunctionFragment; - "getMsgSender()": FunctionFragment; - "getNetwork(uint256)": FunctionFragment; - "getRoleAdmin(bytes32,uint256)": FunctionFragment; - "getToken(uint256)": FunctionFragment; - "getTokenBitmask(uint256)": FunctionFragment; - "getTokenIdsByOwnerAndNetwork(address,uint256,bool)": FunctionFragment; - "grantRole(bytes32,uint256,address)": FunctionFragment; - "hasRole(bytes32,uint256,address)": FunctionFragment; - "initialize(string,string,address,address,address,address[])": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "isGatekeeper(address,uint256)": FunctionFragment; - "isNetworkAuthority(address,uint256)": FunctionFragment; - "isNetworkDAOGoverned(uint256)": FunctionFragment; - "isSuperAdmin(address)": FunctionFragment; - "isTrustedForwarder(address)": FunctionFragment; - "metadataDescriptor()": FunctionFragment; - "mint(address,uint256,uint256,uint256,(uint256,uint8,address,address,address))": FunctionFragment; - "name()": FunctionFragment; - "networkHasFeature(uint256,uint8)": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "proxiableUUID()": FunctionFragment; - "removeForwarder(address)": FunctionFragment; - "removeGatekeeper(address,uint256)": FunctionFragment; - "removeNetworkAuthority(address,uint256)": FunctionFragment; - "renameNetwork(uint256,string)": FunctionFragment; - "renounceRole(bytes32,uint256,address)": FunctionFragment; - "revoke(uint256)": FunctionFragment; - "revokeRole(bytes32,uint256,address)": FunctionFragment; - "revokeSuperAdmin(address)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "setBitmask(uint256,uint256)": FunctionFragment; - "setExpiration(uint256,uint256,(uint256,uint8,address,address,address))": FunctionFragment; - "setMetadataDescriptor(address)": FunctionFragment; - "setNetworkFeatures(uint256,uint256)": FunctionFragment; - "setSuperAdmin(address)": FunctionFragment; - "slotOf(uint256)": FunctionFragment; - "slotURI(uint256)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "tokenByIndex(uint256)": FunctionFragment; - "tokenOfOwnerByIndex(address,uint256)": FunctionFragment; - "tokenURI(uint256)": FunctionFragment; - "totalSupply()": FunctionFragment; - "transferDAOManager(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,uint256,uint256)": FunctionFragment; - "transfersRestricted()": FunctionFragment; - "unfreeze(uint256)": FunctionFragment; - "updateChargeHandler(address)": FunctionFragment; - "updateFlagsStorage(address)": FunctionFragment; - "upgradeTo(address)": FunctionFragment; - "upgradeToAndCall(address,bytes)": FunctionFragment; - "valueDecimals()": FunctionFragment; - "verifyToken(address,uint256)": FunctionFragment; - "verifyToken(uint256)": FunctionFragment; - }; - +export interface GatewayTokenInternalsTestInterface extends Interface { getFunction( - nameOrSignatureOrTopic: + nameOrSignature: | "DAO_MANAGER_ROLE" | "DEFAULT_ADMIN_ROLE" | "GATEKEEPER_ROLE" @@ -213,6 +131,41 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { | "verifyToken(uint256)" ): FunctionFragment; + getEvent( + nameOrSignatureOrTopic: + | "AdminChanged" + | "Approval" + | "ApprovalForAll" + | "ApprovalValue" + | "AuthorizedUpgrade" + | "BeaconUpgraded" + | "BitMaskUpdated" + | "ChargeHandlerUpdated" + | "DAOManagerTransferred" + | "Expiration" + | "FlagsStorageUpdated" + | "ForwarderAdded" + | "ForwarderRemoved" + | "Freeze" + | "GatekeeperNetworkCreated" + | "GatewayTokenInitialized" + | "Initialized" + | "MsgData" + | "MsgSender" + | "Revoke" + | "RoleAdminChanged" + | "RoleGranted" + | "RoleRevoked" + | "SetMetadataDescriptor" + | "SlotChanged" + | "SuperAdminAdded" + | "SuperAdminRemoved" + | "Transfer" + | "TransferValue" + | "Unfreeze" + | "Upgraded" + ): EventFragment; + encodeFunctionData( functionFragment: "DAO_MANAGER_ROLE", values?: undefined @@ -231,31 +184,27 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "addForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "addGatekeeper", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "addNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "approve(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "authorizedUpgrade", @@ -263,28 +212,20 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "balanceOf(address)", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "balanceOf(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "burn", - values: [PromiseOrValue] + values: [BigNumberish] ): string; + encodeFunctionData(functionFragment: "burn", values: [BigNumberish]): string; encodeFunctionData( functionFragment: "contractURI", values?: undefined ): string; encodeFunctionData( functionFragment: "createNetwork", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, string, boolean, AddressLike] ): string; encodeFunctionData( functionFragment: "flagsStorage", @@ -292,23 +233,23 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "freeze", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getApproved", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getExpiration", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getIssuingGatekeeper", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getMsgData", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getMsgSender", @@ -316,78 +257,66 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "getNetwork", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getRoleAdmin", - values: [PromiseOrValue, PromiseOrValue] + values: [BytesLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "getToken", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getTokenBitmask", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getTokenIdsByOwnerAndNetwork", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, BigNumberish, boolean] ): string; encodeFunctionData( functionFragment: "grantRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "hasRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "initialize", values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] + string, + string, + AddressLike, + AddressLike, + AddressLike, + AddressLike[] ] ): string; encodeFunctionData( functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, AddressLike] ): string; encodeFunctionData( functionFragment: "isGatekeeper", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "isNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "isNetworkDAOGoverned", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "isSuperAdmin", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "metadataDescriptor", @@ -396,21 +325,21 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { encodeFunctionData( functionFragment: "mint", values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, + AddressLike, + BigNumberish, + BigNumberish, + BigNumberish, ChargeStruct ] ): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData( functionFragment: "networkHasFeature", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "ownerOf", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "proxiableUUID", @@ -418,113 +347,92 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "removeForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "removeGatekeeper", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "removeNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "renameNetwork", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, string] ): string; encodeFunctionData( functionFragment: "renounceRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "revoke", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "revokeRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "revokeSuperAdmin", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish, BytesLike] ): string; encodeFunctionData( functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, boolean] ): string; encodeFunctionData( functionFragment: "setBitmask", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "setExpiration", - values: [ - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] + values: [BigNumberish, BigNumberish, ChargeStruct] ): string; encodeFunctionData( functionFragment: "setMetadataDescriptor", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "setNetworkFeatures", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "setSuperAdmin", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "slotOf", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "slotURI", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "supportsInterface", - values: [PromiseOrValue] + values: [BytesLike] ): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData( functionFragment: "tokenByIndex", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "tokenOfOwnerByIndex", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "tokenURI", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "totalSupply", @@ -532,35 +440,19 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "transferDAOManager", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom(uint256,uint256,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "transfersRestricted", @@ -568,23 +460,23 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "unfreeze", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "updateChargeHandler", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "updateFlagsStorage", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "upgradeTo", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "upgradeToAndCall", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BytesLike] ): string; encodeFunctionData( functionFragment: "valueDecimals", @@ -592,11 +484,11 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "verifyToken(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "verifyToken(uint256)", - values: [PromiseOrValue] + values: [BigNumberish] ): string; decodeFunctionResult( @@ -856,2808 +748,1954 @@ export interface GatewayTokenInternalsTestInterface extends utils.Interface { functionFragment: "verifyToken(uint256)", data: BytesLike ): Result; - - events: { - "AdminChanged(address,address)": EventFragment; - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "ApprovalValue(uint256,address,uint256)": EventFragment; - "AuthorizedUpgrade()": EventFragment; - "BeaconUpgraded(address)": EventFragment; - "BitMaskUpdated(uint256,uint256)": EventFragment; - "ChargeHandlerUpdated(address)": EventFragment; - "DAOManagerTransferred(address,address,uint256)": EventFragment; - "Expiration(uint256,uint256)": EventFragment; - "FlagsStorageUpdated(address)": EventFragment; - "ForwarderAdded(address)": EventFragment; - "ForwarderRemoved(address)": EventFragment; - "Freeze(uint256)": EventFragment; - "GatekeeperNetworkCreated(uint256,string,bool,address)": EventFragment; - "GatewayTokenInitialized(string,string,address,address,address,address[])": EventFragment; - "Initialized(uint8)": EventFragment; - "MsgData(bytes)": EventFragment; - "MsgSender(address)": EventFragment; - "Revoke(uint256)": EventFragment; - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)": EventFragment; - "RoleGranted(bytes32,uint256,address,address)": EventFragment; - "RoleRevoked(bytes32,uint256,address,address)": EventFragment; - "SetMetadataDescriptor(address)": EventFragment; - "SlotChanged(uint256,uint256,uint256)": EventFragment; - "SuperAdminAdded(address)": EventFragment; - "SuperAdminRemoved(address)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "TransferValue(uint256,uint256,uint256)": EventFragment; - "Unfreeze(uint256)": EventFragment; - "Upgraded(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "AuthorizedUpgrade"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BitMaskUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ChargeHandlerUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DAOManagerTransferred"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Expiration"): EventFragment; - getEvent(nameOrSignatureOrTopic: "FlagsStorageUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ForwarderAdded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ForwarderRemoved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Freeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "GatekeeperNetworkCreated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "GatewayTokenInitialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MsgData"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MsgSender"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Revoke"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SetMetadataDescriptor"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SlotChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminAdded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminRemoved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TransferValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Unfreeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment; } -export interface AdminChangedEventObject { - previousAdmin: string; - newAdmin: string; +export namespace AdminChangedEvent { + export type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike]; + export type OutputTuple = [previousAdmin: string, newAdmin: string]; + export interface OutputObject { + previousAdmin: string; + newAdmin: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type AdminChangedEvent = TypedEvent< - [string, string], - AdminChangedEventObject ->; -export type AdminChangedEventFilter = TypedEventFilter; +export namespace ApprovalEvent { + export type InputTuple = [ + _owner: AddressLike, + _approved: AddressLike, + _tokenId: BigNumberish + ]; + export type OutputTuple = [ + _owner: string, + _approved: string, + _tokenId: bigint + ]; + export interface OutputObject { + _owner: string; + _approved: string; + _tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; +export namespace ApprovalForAllEvent { + export type InputTuple = [ + _owner: AddressLike, + _operator: AddressLike, + _approved: boolean + ]; + export type OutputTuple = [ + _owner: string, + _operator: string, + _approved: boolean + ]; + export interface OutputObject { + _owner: string; + _operator: string; + _approved: boolean; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; -export type ApprovalEventFilter = TypedEventFilter; +export namespace ApprovalValueEvent { + export type InputTuple = [ + _tokenId: BigNumberish, + _operator: AddressLike, + _value: BigNumberish + ]; + export type OutputTuple = [ + _tokenId: bigint, + _operator: string, + _value: bigint + ]; + export interface OutputObject { + _tokenId: bigint; + _operator: string; + _value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; +export namespace AuthorizedUpgradeEvent { + export type InputTuple = []; + export type OutputTuple = []; + export interface OutputObject {} + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; -export type ApprovalForAllEventFilter = TypedEventFilter; +export namespace BeaconUpgradedEvent { + export type InputTuple = [beacon: AddressLike]; + export type OutputTuple = [beacon: string]; + export interface OutputObject { + beacon: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ApprovalValueEventObject { - _tokenId: BigNumber; - _operator: string; - _value: BigNumber; +export namespace BitMaskUpdatedEvent { + export type InputTuple = [tokenId: BigNumberish, bitmask: BigNumberish]; + export type OutputTuple = [tokenId: bigint, bitmask: bigint]; + export interface OutputObject { + tokenId: bigint; + bitmask: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ApprovalValueEvent = TypedEvent< - [BigNumber, string, BigNumber], - ApprovalValueEventObject ->; -export type ApprovalValueEventFilter = TypedEventFilter; +export namespace ChargeHandlerUpdatedEvent { + export type InputTuple = [chargeHandler: AddressLike]; + export type OutputTuple = [chargeHandler: string]; + export interface OutputObject { + chargeHandler: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface AuthorizedUpgradeEventObject {} -export type AuthorizedUpgradeEvent = TypedEvent< - [], - AuthorizedUpgradeEventObject ->; +export namespace DAOManagerTransferredEvent { + export type InputTuple = [ + previousDAOManager: AddressLike, + newDAOManager: AddressLike, + network: BigNumberish + ]; + export type OutputTuple = [ + previousDAOManager: string, + newDAOManager: string, + network: bigint + ]; + export interface OutputObject { + previousDAOManager: string; + newDAOManager: string; + network: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export type AuthorizedUpgradeEventFilter = - TypedEventFilter; +export namespace ExpirationEvent { + export type InputTuple = [tokenId: BigNumberish, timestamp: BigNumberish]; + export type OutputTuple = [tokenId: bigint, timestamp: bigint]; + export interface OutputObject { + tokenId: bigint; + timestamp: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface BeaconUpgradedEventObject { - beacon: string; +export namespace FlagsStorageUpdatedEvent { + export type InputTuple = [flagsStorage: AddressLike]; + export type OutputTuple = [flagsStorage: string]; + export interface OutputObject { + flagsStorage: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type BeaconUpgradedEvent = TypedEvent< - [string], - BeaconUpgradedEventObject ->; -export type BeaconUpgradedEventFilter = TypedEventFilter; +export namespace ForwarderAddedEvent { + export type InputTuple = [forwarder: AddressLike]; + export type OutputTuple = [forwarder: string]; + export interface OutputObject { + forwarder: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface BitMaskUpdatedEventObject { - tokenId: BigNumber; - bitmask: BigNumber; +export namespace ForwarderRemovedEvent { + export type InputTuple = [forwarder: AddressLike]; + export type OutputTuple = [forwarder: string]; + export interface OutputObject { + forwarder: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type BitMaskUpdatedEvent = TypedEvent< - [BigNumber, BigNumber], - BitMaskUpdatedEventObject ->; -export type BitMaskUpdatedEventFilter = TypedEventFilter; +export namespace FreezeEvent { + export type InputTuple = [tokenId: BigNumberish]; + export type OutputTuple = [tokenId: bigint]; + export interface OutputObject { + tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ChargeHandlerUpdatedEventObject { - chargeHandler: string; +export namespace GatekeeperNetworkCreatedEvent { + export type InputTuple = [ + network: BigNumberish, + name: string, + daoGoverned: boolean, + daoManager: AddressLike + ]; + export type OutputTuple = [ + network: bigint, + name: string, + daoGoverned: boolean, + daoManager: string + ]; + export interface OutputObject { + network: bigint; + name: string; + daoGoverned: boolean; + daoManager: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ChargeHandlerUpdatedEvent = TypedEvent< - [string], - ChargeHandlerUpdatedEventObject ->; - -export type ChargeHandlerUpdatedEventFilter = - TypedEventFilter; - -export interface DAOManagerTransferredEventObject { - previousDAOManager: string; - newDAOManager: string; - network: BigNumber; + +export namespace GatewayTokenInitializedEvent { + export type InputTuple = [ + name: string, + symbol: string, + superAdmin: AddressLike, + flagsStorage: AddressLike, + chargeHandler: AddressLike, + trustedForwarders: AddressLike[] + ]; + export type OutputTuple = [ + name: string, + symbol: string, + superAdmin: string, + flagsStorage: string, + chargeHandler: string, + trustedForwarders: string[] + ]; + export interface OutputObject { + name: string; + symbol: string; + superAdmin: string; + flagsStorage: string; + chargeHandler: string; + trustedForwarders: string[]; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type DAOManagerTransferredEvent = TypedEvent< - [string, string, BigNumber], - DAOManagerTransferredEventObject ->; -export type DAOManagerTransferredEventFilter = - TypedEventFilter; +export namespace InitializedEvent { + export type InputTuple = [version: BigNumberish]; + export type OutputTuple = [version: bigint]; + export interface OutputObject { + version: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ExpirationEventObject { - tokenId: BigNumber; - timestamp: BigNumber; +export namespace MsgDataEvent { + export type InputTuple = [arg0: BytesLike]; + export type OutputTuple = [arg0: string]; + export interface OutputObject { + arg0: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ExpirationEvent = TypedEvent< - [BigNumber, BigNumber], - ExpirationEventObject ->; -export type ExpirationEventFilter = TypedEventFilter; +export namespace MsgSenderEvent { + export type InputTuple = [arg0: AddressLike]; + export type OutputTuple = [arg0: string]; + export interface OutputObject { + arg0: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface FlagsStorageUpdatedEventObject { - flagsStorage: string; +export namespace RevokeEvent { + export type InputTuple = [tokenId: BigNumberish]; + export type OutputTuple = [tokenId: bigint]; + export interface OutputObject { + tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type FlagsStorageUpdatedEvent = TypedEvent< - [string], - FlagsStorageUpdatedEventObject ->; -export type FlagsStorageUpdatedEventFilter = - TypedEventFilter; +export namespace RoleAdminChangedEvent { + export type InputTuple = [ + role: BytesLike, + domain: BigNumberish, + previousAdminRole: BytesLike, + newAdminRole: BytesLike + ]; + export type OutputTuple = [ + role: string, + domain: bigint, + previousAdminRole: string, + newAdminRole: string + ]; + export interface OutputObject { + role: string; + domain: bigint; + previousAdminRole: string; + newAdminRole: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ForwarderAddedEventObject { - forwarder: string; +export namespace RoleGrantedEvent { + export type InputTuple = [ + role: BytesLike, + domain: BigNumberish, + account: AddressLike, + sender: AddressLike + ]; + export type OutputTuple = [ + role: string, + domain: bigint, + account: string, + sender: string + ]; + export interface OutputObject { + role: string; + domain: bigint; + account: string; + sender: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ForwarderAddedEvent = TypedEvent< - [string], - ForwarderAddedEventObject ->; -export type ForwarderAddedEventFilter = TypedEventFilter; +export namespace RoleRevokedEvent { + export type InputTuple = [ + role: BytesLike, + domain: BigNumberish, + account: AddressLike, + sender: AddressLike + ]; + export type OutputTuple = [ + role: string, + domain: bigint, + account: string, + sender: string + ]; + export interface OutputObject { + role: string; + domain: bigint; + account: string; + sender: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ForwarderRemovedEventObject { - forwarder: string; +export namespace SetMetadataDescriptorEvent { + export type InputTuple = [metadataDescriptor: AddressLike]; + export type OutputTuple = [metadataDescriptor: string]; + export interface OutputObject { + metadataDescriptor: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ForwarderRemovedEvent = TypedEvent< - [string], - ForwarderRemovedEventObject ->; -export type ForwarderRemovedEventFilter = - TypedEventFilter; +export namespace SlotChangedEvent { + export type InputTuple = [ + _tokenId: BigNumberish, + _oldSlot: BigNumberish, + _newSlot: BigNumberish + ]; + export type OutputTuple = [ + _tokenId: bigint, + _oldSlot: bigint, + _newSlot: bigint + ]; + export interface OutputObject { + _tokenId: bigint; + _oldSlot: bigint; + _newSlot: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface FreezeEventObject { - tokenId: BigNumber; +export namespace SuperAdminAddedEvent { + export type InputTuple = [account: AddressLike]; + export type OutputTuple = [account: string]; + export interface OutputObject { + account: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type FreezeEvent = TypedEvent<[BigNumber], FreezeEventObject>; -export type FreezeEventFilter = TypedEventFilter; +export namespace SuperAdminRemovedEvent { + export type InputTuple = [account: AddressLike]; + export type OutputTuple = [account: string]; + export interface OutputObject { + account: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface GatekeeperNetworkCreatedEventObject { - network: BigNumber; - name: string; - daoGoverned: boolean; - daoManager: string; +export namespace TransferEvent { + export type InputTuple = [ + _from: AddressLike, + _to: AddressLike, + _tokenId: BigNumberish + ]; + export type OutputTuple = [_from: string, _to: string, _tokenId: bigint]; + export interface OutputObject { + _from: string; + _to: string; + _tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type GatekeeperNetworkCreatedEvent = TypedEvent< - [BigNumber, string, boolean, string], - GatekeeperNetworkCreatedEventObject ->; - -export type GatekeeperNetworkCreatedEventFilter = - TypedEventFilter; - -export interface GatewayTokenInitializedEventObject { - name: string; - symbol: string; - superAdmin: string; - flagsStorage: string; - chargeHandler: string; - trustedForwarders: string[]; + +export namespace TransferValueEvent { + export type InputTuple = [ + _fromTokenId: BigNumberish, + _toTokenId: BigNumberish, + _value: BigNumberish + ]; + export type OutputTuple = [ + _fromTokenId: bigint, + _toTokenId: bigint, + _value: bigint + ]; + export interface OutputObject { + _fromTokenId: bigint; + _toTokenId: bigint; + _value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type GatewayTokenInitializedEvent = TypedEvent< - [string, string, string, string, string, string[]], - GatewayTokenInitializedEventObject ->; -export type GatewayTokenInitializedEventFilter = - TypedEventFilter; +export namespace UnfreezeEvent { + export type InputTuple = [tokenId: BigNumberish]; + export type OutputTuple = [tokenId: bigint]; + export interface OutputObject { + tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface InitializedEventObject { - version: number; +export namespace UpgradedEvent { + export type InputTuple = [implementation: AddressLike]; + export type OutputTuple = [implementation: string]; + export interface OutputObject { + implementation: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; -export type InitializedEventFilter = TypedEventFilter; +export interface GatewayTokenInternalsTest extends BaseContract { + connect(runner?: ContractRunner | null): GatewayTokenInternalsTest; + waitForDeployment(): Promise; -export interface MsgDataEventObject { - arg0: string; -} -export type MsgDataEvent = TypedEvent<[string], MsgDataEventObject>; + interface: GatewayTokenInternalsTestInterface; -export type MsgDataEventFilter = TypedEventFilter; + queryFilter( + event: TCEvent, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + DAO_MANAGER_ROLE: TypedContractMethod<[], [string], "view">; + + DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">; + + GATEKEEPER_ROLE: TypedContractMethod<[], [string], "view">; + + NETWORK_AUTHORITY_ROLE: TypedContractMethod<[], [string], "view">; + + addForwarder: TypedContractMethod< + [forwarder: AddressLike], + [void], + "nonpayable" + >; -export interface MsgSenderEventObject { - arg0: string; -} -export type MsgSenderEvent = TypedEvent<[string], MsgSenderEventObject>; + addGatekeeper: TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; -export type MsgSenderEventFilter = TypedEventFilter; + addNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; -export interface RevokeEventObject { - tokenId: BigNumber; -} -export type RevokeEvent = TypedEvent<[BigNumber], RevokeEventObject>; + allowance: TypedContractMethod< + [tokenId_: BigNumberish, operator_: AddressLike], + [bigint], + "view" + >; -export type RevokeEventFilter = TypedEventFilter; + "approve(address,uint256)": TypedContractMethod< + [arg0: AddressLike, arg1: BigNumberish], + [void], + "payable" + >; -export interface RoleAdminChangedEventObject { - role: string; - domain: BigNumber; - previousAdminRole: string; - newAdminRole: string; -} -export type RoleAdminChangedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleAdminChangedEventObject ->; - -export type RoleAdminChangedEventFilter = - TypedEventFilter; - -export interface RoleGrantedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleGrantedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleGrantedEventObject ->; - -export type RoleGrantedEventFilter = TypedEventFilter; - -export interface RoleRevokedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleRevokedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleRevokedEventObject ->; + "approve(uint256,address,uint256)": TypedContractMethod< + [arg0: BigNumberish, arg1: AddressLike, arg2: BigNumberish], + [void], + "payable" + >; -export type RoleRevokedEventFilter = TypedEventFilter; + authorizedUpgrade: TypedContractMethod<[], [void], "nonpayable">; -export interface SetMetadataDescriptorEventObject { - metadataDescriptor: string; -} -export type SetMetadataDescriptorEvent = TypedEvent< - [string], - SetMetadataDescriptorEventObject ->; - -export type SetMetadataDescriptorEventFilter = - TypedEventFilter; - -export interface SlotChangedEventObject { - _tokenId: BigNumber; - _oldSlot: BigNumber; - _newSlot: BigNumber; -} -export type SlotChangedEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - SlotChangedEventObject ->; + "balanceOf(address)": TypedContractMethod< + [owner_: AddressLike], + [bigint], + "view" + >; -export type SlotChangedEventFilter = TypedEventFilter; + "balanceOf(uint256)": TypedContractMethod< + [tokenId_: BigNumberish], + [bigint], + "view" + >; -export interface SuperAdminAddedEventObject { - account: string; -} -export type SuperAdminAddedEvent = TypedEvent< - [string], - SuperAdminAddedEventObject ->; + burn: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; -export type SuperAdminAddedEventFilter = TypedEventFilter; + contractURI: TypedContractMethod<[], [string], "view">; -export interface SuperAdminRemovedEventObject { - account: string; -} -export type SuperAdminRemovedEvent = TypedEvent< - [string], - SuperAdminRemovedEventObject ->; - -export type SuperAdminRemovedEventFilter = - TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; + createNetwork: TypedContractMethod< + [ + network: BigNumberish, + name: string, + daoGoverned: boolean, + daoManager: AddressLike + ], + [void], + "nonpayable" + >; -export type TransferEventFilter = TypedEventFilter; + flagsStorage: TypedContractMethod<[], [string], "view">; -export interface TransferValueEventObject { - _fromTokenId: BigNumber; - _toTokenId: BigNumber; - _value: BigNumber; -} -export type TransferValueEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - TransferValueEventObject ->; + freeze: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; -export type TransferValueEventFilter = TypedEventFilter; + getApproved: TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; -export interface UnfreezeEventObject { - tokenId: BigNumber; -} -export type UnfreezeEvent = TypedEvent<[BigNumber], UnfreezeEventObject>; + getExpiration: TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; -export type UnfreezeEventFilter = TypedEventFilter; + getIssuingGatekeeper: TypedContractMethod< + [tokenId: BigNumberish], + [string], + "view" + >; -export interface UpgradedEventObject { - implementation: string; -} -export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>; + getMsgData: TypedContractMethod<[arg0: BigNumberish], [void], "nonpayable">; -export type UpgradedEventFilter = TypedEventFilter; + getMsgSender: TypedContractMethod<[], [void], "nonpayable">; -export interface GatewayTokenInternalsTest extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + getNetwork: TypedContractMethod<[network: BigNumberish], [string], "view">; - interface: GatewayTokenInternalsTestInterface; + getRoleAdmin: TypedContractMethod< + [role: BytesLike, domain: BigNumberish], + [string], + "view" + >; - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise<[string]>; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - authorizedUpgrade( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { balance: BigNumber }>; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise<[string]>; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise<[string]>; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getIssuingGatekeeper( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getMsgData( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { + getToken: TypedContractMethod< + [tokenId: BigNumberish], + [ + [string, bigint, string, bigint, bigint] & { owner: string; - state: number; + state: bigint; identity: string; - expiration: BigNumber; - bitmask: BigNumber; + expiration: bigint; + bitmask: bigint; } - >; + ], + "view" + >; - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - onlyActive: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber[]]>; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - initialize( - name: PromiseOrValue, - symbol: PromiseOrValue, - superAdmin: PromiseOrValue, - flagsStorage: PromiseOrValue, - chargeHandler: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - metadataDescriptor(overrides?: CallOverrides): Promise<[string]>; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - networkHasFeature( - network: PromiseOrValue, - feature: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { owner_: string }>; - - proxiableUUID(overrides?: CallOverrides): Promise<[string]>; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setNetworkFeatures( - network: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise<[boolean]>; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateChargeHandler( - chargeHandler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise<[number]>; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; + getTokenBitmask: TypedContractMethod< + [tokenId: BigNumberish], + [bigint], + "view" + >; + + getTokenIdsByOwnerAndNetwork: TypedContractMethod< + [owner: AddressLike, network: BigNumberish, onlyActive: boolean], + [bigint[]], + "view" + >; + + grantRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + + hasRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [boolean], + "view" + >; + + initialize: TypedContractMethod< + [ + name: string, + symbol: string, + superAdmin: AddressLike, + flagsStorage: AddressLike, + chargeHandler: AddressLike, + trustedForwarders: AddressLike[] + ], + [void], + "nonpayable" + >; + + isApprovedForAll: TypedContractMethod< + [owner_: AddressLike, operator_: AddressLike], + [boolean], + "view" + >; - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - authorizedUpgrade( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getIssuingGatekeeper( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - onlyActive: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - name: PromiseOrValue, - symbol: PromiseOrValue, - superAdmin: PromiseOrValue, - flagsStorage: PromiseOrValue, - chargeHandler: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - networkHasFeature( - network: PromiseOrValue, - feature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setNetworkFeatures( - network: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateChargeHandler( - chargeHandler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - authorizedUpgrade(overrides?: CallOverrides): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getIssuingGatekeeper( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgSender(overrides?: CallOverrides): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { + isGatekeeper: TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + + isNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + + isNetworkDAOGoverned: TypedContractMethod< + [arg0: BigNumberish], + [boolean], + "view" + >; + + isSuperAdmin: TypedContractMethod<[account: AddressLike], [boolean], "view">; + + isTrustedForwarder: TypedContractMethod< + [forwarder: AddressLike], + [boolean], + "view" + >; + + metadataDescriptor: TypedContractMethod<[], [string], "view">; + + mint: TypedContractMethod< + [ + to: AddressLike, + network: BigNumberish, + expiration: BigNumberish, + mask: BigNumberish, + charge: ChargeStruct + ], + [void], + "payable" + >; + + name: TypedContractMethod<[], [string], "view">; + + networkHasFeature: TypedContractMethod< + [network: BigNumberish, feature: BigNumberish], + [boolean], + "view" + >; + + ownerOf: TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + + proxiableUUID: TypedContractMethod<[], [string], "view">; + + removeForwarder: TypedContractMethod< + [forwarder: AddressLike], + [void], + "nonpayable" + >; + + removeGatekeeper: TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + + removeNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + + renameNetwork: TypedContractMethod< + [network: BigNumberish, name: string], + [void], + "nonpayable" + >; + + renounceRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + + revoke: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + + revokeRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + + revokeSuperAdmin: TypedContractMethod< + [account: AddressLike], + [void], + "nonpayable" + >; + + "safeTransferFrom(address,address,uint256)": TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + + "safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod< + [ + from_: AddressLike, + to_: AddressLike, + tokenId_: BigNumberish, + data_: BytesLike + ], + [void], + "payable" + >; + + setApprovalForAll: TypedContractMethod< + [operator_: AddressLike, approved_: boolean], + [void], + "nonpayable" + >; + + setBitmask: TypedContractMethod< + [tokenId: BigNumberish, mask: BigNumberish], + [void], + "nonpayable" + >; + + setExpiration: TypedContractMethod< + [tokenId: BigNumberish, timestamp: BigNumberish, charge: ChargeStruct], + [void], + "payable" + >; + + setMetadataDescriptor: TypedContractMethod< + [_metadataDescriptor: AddressLike], + [void], + "nonpayable" + >; + + setNetworkFeatures: TypedContractMethod< + [network: BigNumberish, mask: BigNumberish], + [void], + "nonpayable" + >; + + setSuperAdmin: TypedContractMethod< + [account: AddressLike], + [void], + "nonpayable" + >; + + slotOf: TypedContractMethod<[tokenId_: BigNumberish], [bigint], "view">; + + slotURI: TypedContractMethod<[slot_: BigNumberish], [string], "view">; + + supportsInterface: TypedContractMethod< + [interfaceId: BytesLike], + [boolean], + "view" + >; + + symbol: TypedContractMethod<[], [string], "view">; + + tokenByIndex: TypedContractMethod<[index_: BigNumberish], [bigint], "view">; + + tokenOfOwnerByIndex: TypedContractMethod< + [owner_: AddressLike, index_: BigNumberish], + [bigint], + "view" + >; + + tokenURI: TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + + totalSupply: TypedContractMethod<[], [bigint], "view">; + + transferDAOManager: TypedContractMethod< + [ + previousManager: AddressLike, + newManager: AddressLike, + network: BigNumberish + ], + [void], + "nonpayable" + >; + + "transferFrom(uint256,address,uint256)": TypedContractMethod< + [fromTokenId_: BigNumberish, to_: AddressLike, value_: BigNumberish], + [bigint], + "payable" + >; + + "transferFrom(address,address,uint256)": TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + + "transferFrom(uint256,uint256,uint256)": TypedContractMethod< + [ + fromTokenId_: BigNumberish, + toTokenId_: BigNumberish, + value_: BigNumberish + ], + [void], + "payable" + >; + + transfersRestricted: TypedContractMethod<[], [boolean], "view">; + + unfreeze: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + + updateChargeHandler: TypedContractMethod< + [chargeHandler: AddressLike], + [void], + "nonpayable" + >; + + updateFlagsStorage: TypedContractMethod< + [flagsStorage: AddressLike], + [void], + "nonpayable" + >; + + upgradeTo: TypedContractMethod< + [newImplementation: AddressLike], + [void], + "nonpayable" + >; + + upgradeToAndCall: TypedContractMethod< + [newImplementation: AddressLike, data: BytesLike], + [void], + "payable" + >; + + valueDecimals: TypedContractMethod<[], [bigint], "view">; + + "verifyToken(address,uint256)": TypedContractMethod< + [owner: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + + "verifyToken(uint256)": TypedContractMethod< + [tokenId: BigNumberish], + [boolean], + "view" + >; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "DAO_MANAGER_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "DEFAULT_ADMIN_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "GATEKEEPER_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "NETWORK_AUTHORITY_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "addForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "addGatekeeper" + ): TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "addNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "allowance" + ): TypedContractMethod< + [tokenId_: BigNumberish, operator_: AddressLike], + [bigint], + "view" + >; + getFunction( + nameOrSignature: "approve(address,uint256)" + ): TypedContractMethod< + [arg0: AddressLike, arg1: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "approve(uint256,address,uint256)" + ): TypedContractMethod< + [arg0: BigNumberish, arg1: AddressLike, arg2: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "authorizedUpgrade" + ): TypedContractMethod<[], [void], "nonpayable">; + getFunction( + nameOrSignature: "balanceOf(address)" + ): TypedContractMethod<[owner_: AddressLike], [bigint], "view">; + getFunction( + nameOrSignature: "balanceOf(uint256)" + ): TypedContractMethod<[tokenId_: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "burn" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "contractURI" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "createNetwork" + ): TypedContractMethod< + [ + network: BigNumberish, + name: string, + daoGoverned: boolean, + daoManager: AddressLike + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "flagsStorage" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "freeze" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "getApproved" + ): TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "getExpiration" + ): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "getIssuingGatekeeper" + ): TypedContractMethod<[tokenId: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "getMsgData" + ): TypedContractMethod<[arg0: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "getMsgSender" + ): TypedContractMethod<[], [void], "nonpayable">; + getFunction( + nameOrSignature: "getNetwork" + ): TypedContractMethod<[network: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "getRoleAdmin" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish], + [string], + "view" + >; + getFunction( + nameOrSignature: "getToken" + ): TypedContractMethod< + [tokenId: BigNumberish], + [ + [string, bigint, string, bigint, bigint] & { owner: string; - state: number; + state: bigint; identity: string; - expiration: BigNumber; - bitmask: BigNumber; + expiration: bigint; + bitmask: bigint; } + ], + "view" + >; + getFunction( + nameOrSignature: "getTokenBitmask" + ): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "getTokenIdsByOwnerAndNetwork" + ): TypedContractMethod< + [owner: AddressLike, network: BigNumberish, onlyActive: boolean], + [bigint[]], + "view" + >; + getFunction( + nameOrSignature: "grantRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "hasRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "initialize" + ): TypedContractMethod< + [ + name: string, + symbol: string, + superAdmin: AddressLike, + flagsStorage: AddressLike, + chargeHandler: AddressLike, + trustedForwarders: AddressLike[] + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "isApprovedForAll" + ): TypedContractMethod< + [owner_: AddressLike, operator_: AddressLike], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "isGatekeeper" + ): TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "isNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "isNetworkDAOGoverned" + ): TypedContractMethod<[arg0: BigNumberish], [boolean], "view">; + getFunction( + nameOrSignature: "isSuperAdmin" + ): TypedContractMethod<[account: AddressLike], [boolean], "view">; + getFunction( + nameOrSignature: "isTrustedForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [boolean], "view">; + getFunction( + nameOrSignature: "metadataDescriptor" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "mint" + ): TypedContractMethod< + [ + to: AddressLike, + network: BigNumberish, + expiration: BigNumberish, + mask: BigNumberish, + charge: ChargeStruct + ], + [void], + "payable" + >; + getFunction( + nameOrSignature: "name" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "networkHasFeature" + ): TypedContractMethod< + [network: BigNumberish, feature: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "ownerOf" + ): TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "proxiableUUID" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "removeForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "removeGatekeeper" + ): TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "removeNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "renameNetwork" + ): TypedContractMethod< + [network: BigNumberish, name: string], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "renounceRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "revoke" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "revokeRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "revokeSuperAdmin" + ): TypedContractMethod<[account: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "safeTransferFrom(address,address,uint256)" + ): TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)" + ): TypedContractMethod< + [ + from_: AddressLike, + to_: AddressLike, + tokenId_: BigNumberish, + data_: BytesLike + ], + [void], + "payable" + >; + getFunction( + nameOrSignature: "setApprovalForAll" + ): TypedContractMethod< + [operator_: AddressLike, approved_: boolean], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setBitmask" + ): TypedContractMethod< + [tokenId: BigNumberish, mask: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setExpiration" + ): TypedContractMethod< + [tokenId: BigNumberish, timestamp: BigNumberish, charge: ChargeStruct], + [void], + "payable" + >; + getFunction( + nameOrSignature: "setMetadataDescriptor" + ): TypedContractMethod< + [_metadataDescriptor: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setNetworkFeatures" + ): TypedContractMethod< + [network: BigNumberish, mask: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setSuperAdmin" + ): TypedContractMethod<[account: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "slotOf" + ): TypedContractMethod<[tokenId_: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "slotURI" + ): TypedContractMethod<[slot_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "supportsInterface" + ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; + getFunction( + nameOrSignature: "symbol" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "tokenByIndex" + ): TypedContractMethod<[index_: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "tokenOfOwnerByIndex" + ): TypedContractMethod< + [owner_: AddressLike, index_: BigNumberish], + [bigint], + "view" + >; + getFunction( + nameOrSignature: "tokenURI" + ): TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "totalSupply" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "transferDAOManager" + ): TypedContractMethod< + [ + previousManager: AddressLike, + newManager: AddressLike, + network: BigNumberish + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "transferFrom(uint256,address,uint256)" + ): TypedContractMethod< + [fromTokenId_: BigNumberish, to_: AddressLike, value_: BigNumberish], + [bigint], + "payable" + >; + getFunction( + nameOrSignature: "transferFrom(address,address,uint256)" + ): TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "transferFrom(uint256,uint256,uint256)" + ): TypedContractMethod< + [ + fromTokenId_: BigNumberish, + toTokenId_: BigNumberish, + value_: BigNumberish + ], + [void], + "payable" + >; + getFunction( + nameOrSignature: "transfersRestricted" + ): TypedContractMethod<[], [boolean], "view">; + getFunction( + nameOrSignature: "unfreeze" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "updateChargeHandler" + ): TypedContractMethod<[chargeHandler: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "updateFlagsStorage" + ): TypedContractMethod<[flagsStorage: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "upgradeTo" + ): TypedContractMethod< + [newImplementation: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "upgradeToAndCall" + ): TypedContractMethod< + [newImplementation: AddressLike, data: BytesLike], + [void], + "payable" + >; + getFunction( + nameOrSignature: "valueDecimals" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "verifyToken(address,uint256)" + ): TypedContractMethod< + [owner: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "verifyToken(uint256)" + ): TypedContractMethod<[tokenId: BigNumberish], [boolean], "view">; + + getEvent( + key: "AdminChanged" + ): TypedContractEvent< + AdminChangedEvent.InputTuple, + AdminChangedEvent.OutputTuple, + AdminChangedEvent.OutputObject + >; + getEvent( + key: "Approval" + ): TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + getEvent( + key: "ApprovalForAll" + ): TypedContractEvent< + ApprovalForAllEvent.InputTuple, + ApprovalForAllEvent.OutputTuple, + ApprovalForAllEvent.OutputObject + >; + getEvent( + key: "ApprovalValue" + ): TypedContractEvent< + ApprovalValueEvent.InputTuple, + ApprovalValueEvent.OutputTuple, + ApprovalValueEvent.OutputObject + >; + getEvent( + key: "AuthorizedUpgrade" + ): TypedContractEvent< + AuthorizedUpgradeEvent.InputTuple, + AuthorizedUpgradeEvent.OutputTuple, + AuthorizedUpgradeEvent.OutputObject + >; + getEvent( + key: "BeaconUpgraded" + ): TypedContractEvent< + BeaconUpgradedEvent.InputTuple, + BeaconUpgradedEvent.OutputTuple, + BeaconUpgradedEvent.OutputObject + >; + getEvent( + key: "BitMaskUpdated" + ): TypedContractEvent< + BitMaskUpdatedEvent.InputTuple, + BitMaskUpdatedEvent.OutputTuple, + BitMaskUpdatedEvent.OutputObject + >; + getEvent( + key: "ChargeHandlerUpdated" + ): TypedContractEvent< + ChargeHandlerUpdatedEvent.InputTuple, + ChargeHandlerUpdatedEvent.OutputTuple, + ChargeHandlerUpdatedEvent.OutputObject + >; + getEvent( + key: "DAOManagerTransferred" + ): TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; + getEvent( + key: "Expiration" + ): TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; + getEvent( + key: "FlagsStorageUpdated" + ): TypedContractEvent< + FlagsStorageUpdatedEvent.InputTuple, + FlagsStorageUpdatedEvent.OutputTuple, + FlagsStorageUpdatedEvent.OutputObject + >; + getEvent( + key: "ForwarderAdded" + ): TypedContractEvent< + ForwarderAddedEvent.InputTuple, + ForwarderAddedEvent.OutputTuple, + ForwarderAddedEvent.OutputObject + >; + getEvent( + key: "ForwarderRemoved" + ): TypedContractEvent< + ForwarderRemovedEvent.InputTuple, + ForwarderRemovedEvent.OutputTuple, + ForwarderRemovedEvent.OutputObject + >; + getEvent( + key: "Freeze" + ): TypedContractEvent< + FreezeEvent.InputTuple, + FreezeEvent.OutputTuple, + FreezeEvent.OutputObject + >; + getEvent( + key: "GatekeeperNetworkCreated" + ): TypedContractEvent< + GatekeeperNetworkCreatedEvent.InputTuple, + GatekeeperNetworkCreatedEvent.OutputTuple, + GatekeeperNetworkCreatedEvent.OutputObject + >; + getEvent( + key: "GatewayTokenInitialized" + ): TypedContractEvent< + GatewayTokenInitializedEvent.InputTuple, + GatewayTokenInitializedEvent.OutputTuple, + GatewayTokenInitializedEvent.OutputObject + >; + getEvent( + key: "Initialized" + ): TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + getEvent( + key: "MsgData" + ): TypedContractEvent< + MsgDataEvent.InputTuple, + MsgDataEvent.OutputTuple, + MsgDataEvent.OutputObject + >; + getEvent( + key: "MsgSender" + ): TypedContractEvent< + MsgSenderEvent.InputTuple, + MsgSenderEvent.OutputTuple, + MsgSenderEvent.OutputObject + >; + getEvent( + key: "Revoke" + ): TypedContractEvent< + RevokeEvent.InputTuple, + RevokeEvent.OutputTuple, + RevokeEvent.OutputObject + >; + getEvent( + key: "RoleAdminChanged" + ): TypedContractEvent< + RoleAdminChangedEvent.InputTuple, + RoleAdminChangedEvent.OutputTuple, + RoleAdminChangedEvent.OutputObject + >; + getEvent( + key: "RoleGranted" + ): TypedContractEvent< + RoleGrantedEvent.InputTuple, + RoleGrantedEvent.OutputTuple, + RoleGrantedEvent.OutputObject + >; + getEvent( + key: "RoleRevoked" + ): TypedContractEvent< + RoleRevokedEvent.InputTuple, + RoleRevokedEvent.OutputTuple, + RoleRevokedEvent.OutputObject + >; + getEvent( + key: "SetMetadataDescriptor" + ): TypedContractEvent< + SetMetadataDescriptorEvent.InputTuple, + SetMetadataDescriptorEvent.OutputTuple, + SetMetadataDescriptorEvent.OutputObject + >; + getEvent( + key: "SlotChanged" + ): TypedContractEvent< + SlotChangedEvent.InputTuple, + SlotChangedEvent.OutputTuple, + SlotChangedEvent.OutputObject + >; + getEvent( + key: "SuperAdminAdded" + ): TypedContractEvent< + SuperAdminAddedEvent.InputTuple, + SuperAdminAddedEvent.OutputTuple, + SuperAdminAddedEvent.OutputObject + >; + getEvent( + key: "SuperAdminRemoved" + ): TypedContractEvent< + SuperAdminRemovedEvent.InputTuple, + SuperAdminRemovedEvent.OutputTuple, + SuperAdminRemovedEvent.OutputObject + >; + getEvent( + key: "Transfer" + ): TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + getEvent( + key: "TransferValue" + ): TypedContractEvent< + TransferValueEvent.InputTuple, + TransferValueEvent.OutputTuple, + TransferValueEvent.OutputObject + >; + getEvent( + key: "Unfreeze" + ): TypedContractEvent< + UnfreezeEvent.InputTuple, + UnfreezeEvent.OutputTuple, + UnfreezeEvent.OutputObject + >; + getEvent( + key: "Upgraded" + ): TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; + + filters: { + "AdminChanged(address,address)": TypedContractEvent< + AdminChangedEvent.InputTuple, + AdminChangedEvent.OutputTuple, + AdminChangedEvent.OutputObject + >; + AdminChanged: TypedContractEvent< + AdminChangedEvent.InputTuple, + AdminChangedEvent.OutputTuple, + AdminChangedEvent.OutputObject >; - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - onlyActive: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - name: PromiseOrValue, - symbol: PromiseOrValue, - superAdmin: PromiseOrValue, - flagsStorage: PromiseOrValue, - chargeHandler: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - networkHasFeature( - network: PromiseOrValue, - feature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setNetworkFeatures( - network: PromiseOrValue, - mask: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateChargeHandler( - chargeHandler: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; + "Approval(address,address,uint256)": TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + Approval: TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; - filters: { - "AdminChanged(address,address)"( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - AdminChanged( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "ApprovalValue(uint256,address,uint256)"( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - ApprovalValue( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - - "AuthorizedUpgrade()"(): AuthorizedUpgradeEventFilter; - AuthorizedUpgrade(): AuthorizedUpgradeEventFilter; - - "BeaconUpgraded(address)"( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - BeaconUpgraded( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - - "BitMaskUpdated(uint256,uint256)"( - tokenId?: null, - bitmask?: null - ): BitMaskUpdatedEventFilter; - BitMaskUpdated(tokenId?: null, bitmask?: null): BitMaskUpdatedEventFilter; - - "ChargeHandlerUpdated(address)"( - chargeHandler?: PromiseOrValue | null - ): ChargeHandlerUpdatedEventFilter; - ChargeHandlerUpdated( - chargeHandler?: PromiseOrValue | null - ): ChargeHandlerUpdatedEventFilter; - - "DAOManagerTransferred(address,address,uint256)"( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - DAOManagerTransferred( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - - "Expiration(uint256,uint256)"( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - Expiration( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - - "FlagsStorageUpdated(address)"( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - FlagsStorageUpdated( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - - "ForwarderAdded(address)"( - forwarder?: PromiseOrValue | null - ): ForwarderAddedEventFilter; - ForwarderAdded( - forwarder?: PromiseOrValue | null - ): ForwarderAddedEventFilter; - - "ForwarderRemoved(address)"( - forwarder?: PromiseOrValue | null - ): ForwarderRemovedEventFilter; - ForwarderRemoved( - forwarder?: PromiseOrValue | null - ): ForwarderRemovedEventFilter; - - "Freeze(uint256)"( - tokenId?: PromiseOrValue | null - ): FreezeEventFilter; - Freeze(tokenId?: PromiseOrValue | null): FreezeEventFilter; - - "GatekeeperNetworkCreated(uint256,string,bool,address)"( - network?: null, - name?: null, - daoGoverned?: null, - daoManager?: null - ): GatekeeperNetworkCreatedEventFilter; - GatekeeperNetworkCreated( - network?: null, - name?: null, - daoGoverned?: null, - daoManager?: null - ): GatekeeperNetworkCreatedEventFilter; - - "GatewayTokenInitialized(string,string,address,address,address,address[])"( - name?: null, - symbol?: null, - superAdmin?: null, - flagsStorage?: null, - chargeHandler?: null, - trustedForwarders?: null - ): GatewayTokenInitializedEventFilter; - GatewayTokenInitialized( - name?: null, - symbol?: null, - superAdmin?: null, - flagsStorage?: null, - chargeHandler?: null, - trustedForwarders?: null - ): GatewayTokenInitializedEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "MsgData(bytes)"(arg0?: null): MsgDataEventFilter; - MsgData(arg0?: null): MsgDataEventFilter; - - "MsgSender(address)"(arg0?: null): MsgSenderEventFilter; - MsgSender(arg0?: null): MsgSenderEventFilter; - - "Revoke(uint256)"( - tokenId?: PromiseOrValue | null - ): RevokeEventFilter; - Revoke(tokenId?: PromiseOrValue | null): RevokeEventFilter; - - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)"( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - RoleAdminChanged( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - - "RoleGranted(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - RoleGranted( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - - "RoleRevoked(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - RoleRevoked( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - - "SetMetadataDescriptor(address)"( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - SetMetadataDescriptor( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - - "SlotChanged(uint256,uint256,uint256)"( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - SlotChanged( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - - "SuperAdminAdded(address)"( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - SuperAdminAdded( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - - "SuperAdminRemoved(address)"( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - SuperAdminRemoved( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - - "TransferValue(uint256,uint256,uint256)"( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - TransferValue( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - - "Unfreeze(uint256)"( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - Unfreeze( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - - "Upgraded(address)"( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - Upgraded( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - }; + "ApprovalForAll(address,address,bool)": TypedContractEvent< + ApprovalForAllEvent.InputTuple, + ApprovalForAllEvent.OutputTuple, + ApprovalForAllEvent.OutputObject + >; + ApprovalForAll: TypedContractEvent< + ApprovalForAllEvent.InputTuple, + ApprovalForAllEvent.OutputTuple, + ApprovalForAllEvent.OutputObject + >; - estimateGas: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - authorizedUpgrade( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getIssuingGatekeeper( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - onlyActive: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - name: PromiseOrValue, - symbol: PromiseOrValue, - superAdmin: PromiseOrValue, - flagsStorage: PromiseOrValue, - chargeHandler: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - networkHasFeature( - network: PromiseOrValue, - feature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setNetworkFeatures( - network: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateChargeHandler( - chargeHandler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; + "ApprovalValue(uint256,address,uint256)": TypedContractEvent< + ApprovalValueEvent.InputTuple, + ApprovalValueEvent.OutputTuple, + ApprovalValueEvent.OutputObject + >; + ApprovalValue: TypedContractEvent< + ApprovalValueEvent.InputTuple, + ApprovalValueEvent.OutputTuple, + ApprovalValueEvent.OutputObject + >; + + "AuthorizedUpgrade()": TypedContractEvent< + AuthorizedUpgradeEvent.InputTuple, + AuthorizedUpgradeEvent.OutputTuple, + AuthorizedUpgradeEvent.OutputObject + >; + AuthorizedUpgrade: TypedContractEvent< + AuthorizedUpgradeEvent.InputTuple, + AuthorizedUpgradeEvent.OutputTuple, + AuthorizedUpgradeEvent.OutputObject + >; + + "BeaconUpgraded(address)": TypedContractEvent< + BeaconUpgradedEvent.InputTuple, + BeaconUpgradedEvent.OutputTuple, + BeaconUpgradedEvent.OutputObject + >; + BeaconUpgraded: TypedContractEvent< + BeaconUpgradedEvent.InputTuple, + BeaconUpgradedEvent.OutputTuple, + BeaconUpgradedEvent.OutputObject + >; + + "BitMaskUpdated(uint256,uint256)": TypedContractEvent< + BitMaskUpdatedEvent.InputTuple, + BitMaskUpdatedEvent.OutputTuple, + BitMaskUpdatedEvent.OutputObject + >; + BitMaskUpdated: TypedContractEvent< + BitMaskUpdatedEvent.InputTuple, + BitMaskUpdatedEvent.OutputTuple, + BitMaskUpdatedEvent.OutputObject + >; + + "ChargeHandlerUpdated(address)": TypedContractEvent< + ChargeHandlerUpdatedEvent.InputTuple, + ChargeHandlerUpdatedEvent.OutputTuple, + ChargeHandlerUpdatedEvent.OutputObject + >; + ChargeHandlerUpdated: TypedContractEvent< + ChargeHandlerUpdatedEvent.InputTuple, + ChargeHandlerUpdatedEvent.OutputTuple, + ChargeHandlerUpdatedEvent.OutputObject + >; + + "DAOManagerTransferred(address,address,uint256)": TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; + DAOManagerTransferred: TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; + + "Expiration(uint256,uint256)": TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; + Expiration: TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; + + "FlagsStorageUpdated(address)": TypedContractEvent< + FlagsStorageUpdatedEvent.InputTuple, + FlagsStorageUpdatedEvent.OutputTuple, + FlagsStorageUpdatedEvent.OutputObject + >; + FlagsStorageUpdated: TypedContractEvent< + FlagsStorageUpdatedEvent.InputTuple, + FlagsStorageUpdatedEvent.OutputTuple, + FlagsStorageUpdatedEvent.OutputObject + >; + + "ForwarderAdded(address)": TypedContractEvent< + ForwarderAddedEvent.InputTuple, + ForwarderAddedEvent.OutputTuple, + ForwarderAddedEvent.OutputObject + >; + ForwarderAdded: TypedContractEvent< + ForwarderAddedEvent.InputTuple, + ForwarderAddedEvent.OutputTuple, + ForwarderAddedEvent.OutputObject + >; + + "ForwarderRemoved(address)": TypedContractEvent< + ForwarderRemovedEvent.InputTuple, + ForwarderRemovedEvent.OutputTuple, + ForwarderRemovedEvent.OutputObject + >; + ForwarderRemoved: TypedContractEvent< + ForwarderRemovedEvent.InputTuple, + ForwarderRemovedEvent.OutputTuple, + ForwarderRemovedEvent.OutputObject + >; - populateTransaction: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE( - overrides?: CallOverrides - ): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE( - overrides?: CallOverrides - ): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - authorizedUpgrade( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getIssuingGatekeeper( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMsgData( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMsgSender( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - onlyActive: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - name: PromiseOrValue, - symbol: PromiseOrValue, - superAdmin: PromiseOrValue, - flagsStorage: PromiseOrValue, - chargeHandler: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor( - overrides?: CallOverrides - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - networkHasFeature( - network: PromiseOrValue, - feature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setNetworkFeatures( - network: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted( - overrides?: CallOverrides - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateChargeHandler( - chargeHandler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + "Freeze(uint256)": TypedContractEvent< + FreezeEvent.InputTuple, + FreezeEvent.OutputTuple, + FreezeEvent.OutputObject + >; + Freeze: TypedContractEvent< + FreezeEvent.InputTuple, + FreezeEvent.OutputTuple, + FreezeEvent.OutputObject + >; + + "GatekeeperNetworkCreated(uint256,string,bool,address)": TypedContractEvent< + GatekeeperNetworkCreatedEvent.InputTuple, + GatekeeperNetworkCreatedEvent.OutputTuple, + GatekeeperNetworkCreatedEvent.OutputObject + >; + GatekeeperNetworkCreated: TypedContractEvent< + GatekeeperNetworkCreatedEvent.InputTuple, + GatekeeperNetworkCreatedEvent.OutputTuple, + GatekeeperNetworkCreatedEvent.OutputObject + >; + + "GatewayTokenInitialized(string,string,address,address,address,address[])": TypedContractEvent< + GatewayTokenInitializedEvent.InputTuple, + GatewayTokenInitializedEvent.OutputTuple, + GatewayTokenInitializedEvent.OutputObject + >; + GatewayTokenInitialized: TypedContractEvent< + GatewayTokenInitializedEvent.InputTuple, + GatewayTokenInitializedEvent.OutputTuple, + GatewayTokenInitializedEvent.OutputObject + >; + + "Initialized(uint8)": TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + Initialized: TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + + "MsgData(bytes)": TypedContractEvent< + MsgDataEvent.InputTuple, + MsgDataEvent.OutputTuple, + MsgDataEvent.OutputObject + >; + MsgData: TypedContractEvent< + MsgDataEvent.InputTuple, + MsgDataEvent.OutputTuple, + MsgDataEvent.OutputObject + >; + + "MsgSender(address)": TypedContractEvent< + MsgSenderEvent.InputTuple, + MsgSenderEvent.OutputTuple, + MsgSenderEvent.OutputObject + >; + MsgSender: TypedContractEvent< + MsgSenderEvent.InputTuple, + MsgSenderEvent.OutputTuple, + MsgSenderEvent.OutputObject + >; + + "Revoke(uint256)": TypedContractEvent< + RevokeEvent.InputTuple, + RevokeEvent.OutputTuple, + RevokeEvent.OutputObject + >; + Revoke: TypedContractEvent< + RevokeEvent.InputTuple, + RevokeEvent.OutputTuple, + RevokeEvent.OutputObject + >; + + "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)": TypedContractEvent< + RoleAdminChangedEvent.InputTuple, + RoleAdminChangedEvent.OutputTuple, + RoleAdminChangedEvent.OutputObject + >; + RoleAdminChanged: TypedContractEvent< + RoleAdminChangedEvent.InputTuple, + RoleAdminChangedEvent.OutputTuple, + RoleAdminChangedEvent.OutputObject + >; + + "RoleGranted(bytes32,uint256,address,address)": TypedContractEvent< + RoleGrantedEvent.InputTuple, + RoleGrantedEvent.OutputTuple, + RoleGrantedEvent.OutputObject + >; + RoleGranted: TypedContractEvent< + RoleGrantedEvent.InputTuple, + RoleGrantedEvent.OutputTuple, + RoleGrantedEvent.OutputObject + >; + + "RoleRevoked(bytes32,uint256,address,address)": TypedContractEvent< + RoleRevokedEvent.InputTuple, + RoleRevokedEvent.OutputTuple, + RoleRevokedEvent.OutputObject + >; + RoleRevoked: TypedContractEvent< + RoleRevokedEvent.InputTuple, + RoleRevokedEvent.OutputTuple, + RoleRevokedEvent.OutputObject + >; + + "SetMetadataDescriptor(address)": TypedContractEvent< + SetMetadataDescriptorEvent.InputTuple, + SetMetadataDescriptorEvent.OutputTuple, + SetMetadataDescriptorEvent.OutputObject + >; + SetMetadataDescriptor: TypedContractEvent< + SetMetadataDescriptorEvent.InputTuple, + SetMetadataDescriptorEvent.OutputTuple, + SetMetadataDescriptorEvent.OutputObject + >; + + "SlotChanged(uint256,uint256,uint256)": TypedContractEvent< + SlotChangedEvent.InputTuple, + SlotChangedEvent.OutputTuple, + SlotChangedEvent.OutputObject + >; + SlotChanged: TypedContractEvent< + SlotChangedEvent.InputTuple, + SlotChangedEvent.OutputTuple, + SlotChangedEvent.OutputObject + >; + + "SuperAdminAdded(address)": TypedContractEvent< + SuperAdminAddedEvent.InputTuple, + SuperAdminAddedEvent.OutputTuple, + SuperAdminAddedEvent.OutputObject + >; + SuperAdminAdded: TypedContractEvent< + SuperAdminAddedEvent.InputTuple, + SuperAdminAddedEvent.OutputTuple, + SuperAdminAddedEvent.OutputObject + >; + + "SuperAdminRemoved(address)": TypedContractEvent< + SuperAdminRemovedEvent.InputTuple, + SuperAdminRemovedEvent.OutputTuple, + SuperAdminRemovedEvent.OutputObject + >; + SuperAdminRemoved: TypedContractEvent< + SuperAdminRemovedEvent.InputTuple, + SuperAdminRemovedEvent.OutputTuple, + SuperAdminRemovedEvent.OutputObject + >; + + "Transfer(address,address,uint256)": TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + Transfer: TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + + "TransferValue(uint256,uint256,uint256)": TypedContractEvent< + TransferValueEvent.InputTuple, + TransferValueEvent.OutputTuple, + TransferValueEvent.OutputObject + >; + TransferValue: TypedContractEvent< + TransferValueEvent.InputTuple, + TransferValueEvent.OutputTuple, + TransferValueEvent.OutputObject + >; + + "Unfreeze(uint256)": TypedContractEvent< + UnfreezeEvent.InputTuple, + UnfreezeEvent.OutputTuple, + UnfreezeEvent.OutputObject + >; + Unfreeze: TypedContractEvent< + UnfreezeEvent.InputTuple, + UnfreezeEvent.OutputTuple, + UnfreezeEvent.OutputObject + >; + + "Upgraded(address)": TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; + Upgraded: TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; }; } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenUpgradeTest.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenUpgradeTest.ts index a002b847b..a0552e6a6 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenUpgradeTest.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/GatewayTokenUpgradeTest.ts @@ -4,130 +4,51 @@ /* eslint-disable */ import type { BaseContract, - BigNumber, BigNumberish, BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, + Interface, EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; import type { - TypedEventFilter, - TypedEvent, + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, TypedListener, - OnEvent, - PromiseOrValue, + TypedContractMethod, } from "../../common"; export type ChargeStruct = { - value: PromiseOrValue; - chargeType: PromiseOrValue; - token: PromiseOrValue; - tokenSender: PromiseOrValue; - recipient: PromiseOrValue; + value: BigNumberish; + chargeType: BigNumberish; + token: AddressLike; + tokenSender: AddressLike; + recipient: AddressLike; }; -export type ChargeStructOutput = [BigNumber, number, string, string, string] & { - value: BigNumber; - chargeType: number; +export type ChargeStructOutput = [ + value: bigint, + chargeType: bigint, + token: string, + tokenSender: string, + recipient: string +] & { + value: bigint; + chargeType: bigint; token: string; tokenSender: string; recipient: string; }; -export interface GatewayTokenUpgradeTestInterface extends utils.Interface { - functions: { - "DAO_MANAGER_ROLE()": FunctionFragment; - "DEFAULT_ADMIN_ROLE()": FunctionFragment; - "GATEKEEPER_ROLE()": FunctionFragment; - "NETWORK_AUTHORITY_ROLE()": FunctionFragment; - "addForwarder(address)": FunctionFragment; - "addGatekeeper(address,uint256)": FunctionFragment; - "addNetworkAuthority(address,uint256)": FunctionFragment; - "allowance(uint256,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "approve(uint256,address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "balanceOf(uint256)": FunctionFragment; - "burn(uint256)": FunctionFragment; - "contractURI()": FunctionFragment; - "createNetwork(uint256,string,bool,address)": FunctionFragment; - "flagsStorage()": FunctionFragment; - "freeze(uint256)": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "getExpiration(uint256)": FunctionFragment; - "getIssuingGatekeeper(uint256)": FunctionFragment; - "getNetwork(uint256)": FunctionFragment; - "getRoleAdmin(bytes32,uint256)": FunctionFragment; - "getToken(uint256)": FunctionFragment; - "getTokenBitmask(uint256)": FunctionFragment; - "getTokenIdsByOwnerAndNetwork(address,uint256,bool)": FunctionFragment; - "grantRole(bytes32,uint256,address)": FunctionFragment; - "hasRole(bytes32,uint256,address)": FunctionFragment; - "initialize(string,string,address,address,address,address[])": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "isGatekeeper(address,uint256)": FunctionFragment; - "isNetworkAuthority(address,uint256)": FunctionFragment; - "isNetworkDAOGoverned(uint256)": FunctionFragment; - "isSuperAdmin(address)": FunctionFragment; - "isTrustedForwarder(address)": FunctionFragment; - "metadataDescriptor()": FunctionFragment; - "mint(address,uint256,uint256,uint256,(uint256,uint8,address,address,address))": FunctionFragment; - "name()": FunctionFragment; - "networkHasFeature(uint256,uint8)": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "proxiableUUID()": FunctionFragment; - "removeForwarder(address)": FunctionFragment; - "removeGatekeeper(address,uint256)": FunctionFragment; - "removeNetworkAuthority(address,uint256)": FunctionFragment; - "renameNetwork(uint256,string)": FunctionFragment; - "renounceRole(bytes32,uint256,address)": FunctionFragment; - "revoke(uint256)": FunctionFragment; - "revokeRole(bytes32,uint256,address)": FunctionFragment; - "revokeSuperAdmin(address)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "setBitmask(uint256,uint256)": FunctionFragment; - "setExpiration(uint256,uint256,(uint256,uint8,address,address,address))": FunctionFragment; - "setMetadataDescriptor(address)": FunctionFragment; - "setNetworkFeatures(uint256,uint256)": FunctionFragment; - "setSuperAdmin(address)": FunctionFragment; - "slotOf(uint256)": FunctionFragment; - "slotURI(uint256)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "tokenByIndex(uint256)": FunctionFragment; - "tokenOfOwnerByIndex(address,uint256)": FunctionFragment; - "tokenURI(uint256)": FunctionFragment; - "totalSupply()": FunctionFragment; - "transferDAOManager(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,uint256,uint256)": FunctionFragment; - "transfersRestricted()": FunctionFragment; - "unfreeze(uint256)": FunctionFragment; - "updateChargeHandler(address)": FunctionFragment; - "updateFlagsStorage(address)": FunctionFragment; - "upgradeTo(address)": FunctionFragment; - "upgradeToAndCall(address,bytes)": FunctionFragment; - "valueDecimals()": FunctionFragment; - "verifyToken(address,uint256)": FunctionFragment; - "verifyToken(uint256)": FunctionFragment; - }; - +export interface GatewayTokenUpgradeTestInterface extends Interface { getFunction( - nameOrSignatureOrTopic: + nameOrSignature: | "DAO_MANAGER_ROLE" | "DEFAULT_ADMIN_ROLE" | "GATEKEEPER_ROLE" @@ -207,6 +128,38 @@ export interface GatewayTokenUpgradeTestInterface extends utils.Interface { | "verifyToken(uint256)" ): FunctionFragment; + getEvent( + nameOrSignatureOrTopic: + | "AdminChanged" + | "Approval" + | "ApprovalForAll" + | "ApprovalValue" + | "BeaconUpgraded" + | "BitMaskUpdated" + | "ChargeHandlerUpdated" + | "DAOManagerTransferred" + | "Expiration" + | "FlagsStorageUpdated" + | "ForwarderAdded" + | "ForwarderRemoved" + | "Freeze" + | "GatekeeperNetworkCreated" + | "GatewayTokenInitialized" + | "Initialized" + | "Revoke" + | "RoleAdminChanged" + | "RoleGranted" + | "RoleRevoked" + | "SetMetadataDescriptor" + | "SlotChanged" + | "SuperAdminAdded" + | "SuperAdminRemoved" + | "Transfer" + | "TransferValue" + | "Unfreeze" + | "Upgraded" + ): EventFragment; + encodeFunctionData( functionFragment: "DAO_MANAGER_ROLE", values?: undefined @@ -225,56 +178,44 @@ export interface GatewayTokenUpgradeTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "addForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "addGatekeeper", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "addNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "approve(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "balanceOf(address)", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "balanceOf(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "burn", - values: [PromiseOrValue] + values: [BigNumberish] ): string; + encodeFunctionData(functionFragment: "burn", values: [BigNumberish]): string; encodeFunctionData( functionFragment: "contractURI", values?: undefined ): string; encodeFunctionData( functionFragment: "createNetwork", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, string, boolean, AddressLike] ): string; encodeFunctionData( functionFragment: "flagsStorage", @@ -282,94 +223,82 @@ export interface GatewayTokenUpgradeTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "freeze", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getApproved", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getExpiration", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getIssuingGatekeeper", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getNetwork", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getRoleAdmin", - values: [PromiseOrValue, PromiseOrValue] + values: [BytesLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "getToken", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getTokenBitmask", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getTokenIdsByOwnerAndNetwork", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, BigNumberish, boolean] ): string; encodeFunctionData( functionFragment: "grantRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "hasRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "initialize", values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] + string, + string, + AddressLike, + AddressLike, + AddressLike, + AddressLike[] ] ): string; encodeFunctionData( functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, AddressLike] ): string; encodeFunctionData( functionFragment: "isGatekeeper", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "isNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "isNetworkDAOGoverned", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "isSuperAdmin", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "metadataDescriptor", @@ -378,21 +307,21 @@ export interface GatewayTokenUpgradeTestInterface extends utils.Interface { encodeFunctionData( functionFragment: "mint", values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, + AddressLike, + BigNumberish, + BigNumberish, + BigNumberish, ChargeStruct ] ): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData( functionFragment: "networkHasFeature", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "ownerOf", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "proxiableUUID", @@ -400,113 +329,92 @@ export interface GatewayTokenUpgradeTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "removeForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "removeGatekeeper", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "removeNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "renameNetwork", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, string] ): string; encodeFunctionData( functionFragment: "renounceRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "revoke", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "revokeRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "revokeSuperAdmin", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish, BytesLike] ): string; encodeFunctionData( functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, boolean] ): string; encodeFunctionData( functionFragment: "setBitmask", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "setExpiration", - values: [ - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] + values: [BigNumberish, BigNumberish, ChargeStruct] ): string; encodeFunctionData( functionFragment: "setMetadataDescriptor", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "setNetworkFeatures", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "setSuperAdmin", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "slotOf", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "slotURI", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "supportsInterface", - values: [PromiseOrValue] + values: [BytesLike] ): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData( functionFragment: "tokenByIndex", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "tokenOfOwnerByIndex", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "tokenURI", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "totalSupply", @@ -514,35 +422,19 @@ export interface GatewayTokenUpgradeTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "transferDAOManager", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom(uint256,uint256,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "transfersRestricted", @@ -550,23 +442,23 @@ export interface GatewayTokenUpgradeTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "unfreeze", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "updateChargeHandler", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "updateFlagsStorage", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "upgradeTo", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "upgradeToAndCall", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BytesLike] ): string; encodeFunctionData( functionFragment: "valueDecimals", @@ -574,11 +466,11 @@ export interface GatewayTokenUpgradeTestInterface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "verifyToken(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "verifyToken(uint256)", - values: [PromiseOrValue] + values: [BigNumberish] ): string; decodeFunctionResult( @@ -829,2709 +721,1851 @@ export interface GatewayTokenUpgradeTestInterface extends utils.Interface { functionFragment: "verifyToken(uint256)", data: BytesLike ): Result; - - events: { - "AdminChanged(address,address)": EventFragment; - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "ApprovalValue(uint256,address,uint256)": EventFragment; - "BeaconUpgraded(address)": EventFragment; - "BitMaskUpdated(uint256,uint256)": EventFragment; - "ChargeHandlerUpdated(address)": EventFragment; - "DAOManagerTransferred(address,address,uint256)": EventFragment; - "Expiration(uint256,uint256)": EventFragment; - "FlagsStorageUpdated(address)": EventFragment; - "ForwarderAdded(address)": EventFragment; - "ForwarderRemoved(address)": EventFragment; - "Freeze(uint256)": EventFragment; - "GatekeeperNetworkCreated(uint256,string,bool,address)": EventFragment; - "GatewayTokenInitialized(string,string,address,address,address,address[])": EventFragment; - "Initialized(uint8)": EventFragment; - "Revoke(uint256)": EventFragment; - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)": EventFragment; - "RoleGranted(bytes32,uint256,address,address)": EventFragment; - "RoleRevoked(bytes32,uint256,address,address)": EventFragment; - "SetMetadataDescriptor(address)": EventFragment; - "SlotChanged(uint256,uint256,uint256)": EventFragment; - "SuperAdminAdded(address)": EventFragment; - "SuperAdminRemoved(address)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "TransferValue(uint256,uint256,uint256)": EventFragment; - "Unfreeze(uint256)": EventFragment; - "Upgraded(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BitMaskUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ChargeHandlerUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DAOManagerTransferred"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Expiration"): EventFragment; - getEvent(nameOrSignatureOrTopic: "FlagsStorageUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ForwarderAdded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ForwarderRemoved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Freeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "GatekeeperNetworkCreated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "GatewayTokenInitialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Revoke"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SetMetadataDescriptor"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SlotChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminAdded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminRemoved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TransferValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Unfreeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment; } -export interface AdminChangedEventObject { - previousAdmin: string; - newAdmin: string; +export namespace AdminChangedEvent { + export type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike]; + export type OutputTuple = [previousAdmin: string, newAdmin: string]; + export interface OutputObject { + previousAdmin: string; + newAdmin: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type AdminChangedEvent = TypedEvent< - [string, string], - AdminChangedEventObject ->; - -export type AdminChangedEventFilter = TypedEventFilter; -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; +export namespace ApprovalEvent { + export type InputTuple = [ + _owner: AddressLike, + _approved: AddressLike, + _tokenId: BigNumberish + ]; + export type OutputTuple = [ + _owner: string, + _approved: string, + _tokenId: bigint + ]; + export interface OutputObject { + _owner: string; + _approved: string; + _tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; -export type ApprovalEventFilter = TypedEventFilter; +export namespace ApprovalForAllEvent { + export type InputTuple = [ + _owner: AddressLike, + _operator: AddressLike, + _approved: boolean + ]; + export type OutputTuple = [ + _owner: string, + _operator: string, + _approved: boolean + ]; + export interface OutputObject { + _owner: string; + _operator: string; + _approved: boolean; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; +export namespace ApprovalValueEvent { + export type InputTuple = [ + _tokenId: BigNumberish, + _operator: AddressLike, + _value: BigNumberish + ]; + export type OutputTuple = [ + _tokenId: bigint, + _operator: string, + _value: bigint + ]; + export interface OutputObject { + _tokenId: bigint; + _operator: string; + _value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; -export type ApprovalForAllEventFilter = TypedEventFilter; +export namespace BeaconUpgradedEvent { + export type InputTuple = [beacon: AddressLike]; + export type OutputTuple = [beacon: string]; + export interface OutputObject { + beacon: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ApprovalValueEventObject { - _tokenId: BigNumber; - _operator: string; - _value: BigNumber; +export namespace BitMaskUpdatedEvent { + export type InputTuple = [tokenId: BigNumberish, bitmask: BigNumberish]; + export type OutputTuple = [tokenId: bigint, bitmask: bigint]; + export interface OutputObject { + tokenId: bigint; + bitmask: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ApprovalValueEvent = TypedEvent< - [BigNumber, string, BigNumber], - ApprovalValueEventObject ->; -export type ApprovalValueEventFilter = TypedEventFilter; +export namespace ChargeHandlerUpdatedEvent { + export type InputTuple = [chargeHandler: AddressLike]; + export type OutputTuple = [chargeHandler: string]; + export interface OutputObject { + chargeHandler: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface BeaconUpgradedEventObject { - beacon: string; +export namespace DAOManagerTransferredEvent { + export type InputTuple = [ + previousDAOManager: AddressLike, + newDAOManager: AddressLike, + network: BigNumberish + ]; + export type OutputTuple = [ + previousDAOManager: string, + newDAOManager: string, + network: bigint + ]; + export interface OutputObject { + previousDAOManager: string; + newDAOManager: string; + network: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type BeaconUpgradedEvent = TypedEvent< - [string], - BeaconUpgradedEventObject ->; -export type BeaconUpgradedEventFilter = TypedEventFilter; +export namespace ExpirationEvent { + export type InputTuple = [tokenId: BigNumberish, timestamp: BigNumberish]; + export type OutputTuple = [tokenId: bigint, timestamp: bigint]; + export interface OutputObject { + tokenId: bigint; + timestamp: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface BitMaskUpdatedEventObject { - tokenId: BigNumber; - bitmask: BigNumber; +export namespace FlagsStorageUpdatedEvent { + export type InputTuple = [flagsStorage: AddressLike]; + export type OutputTuple = [flagsStorage: string]; + export interface OutputObject { + flagsStorage: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type BitMaskUpdatedEvent = TypedEvent< - [BigNumber, BigNumber], - BitMaskUpdatedEventObject ->; -export type BitMaskUpdatedEventFilter = TypedEventFilter; +export namespace ForwarderAddedEvent { + export type InputTuple = [forwarder: AddressLike]; + export type OutputTuple = [forwarder: string]; + export interface OutputObject { + forwarder: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ChargeHandlerUpdatedEventObject { - chargeHandler: string; +export namespace ForwarderRemovedEvent { + export type InputTuple = [forwarder: AddressLike]; + export type OutputTuple = [forwarder: string]; + export interface OutputObject { + forwarder: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ChargeHandlerUpdatedEvent = TypedEvent< - [string], - ChargeHandlerUpdatedEventObject ->; - -export type ChargeHandlerUpdatedEventFilter = - TypedEventFilter; - -export interface DAOManagerTransferredEventObject { - previousDAOManager: string; - newDAOManager: string; - network: BigNumber; + +export namespace FreezeEvent { + export type InputTuple = [tokenId: BigNumberish]; + export type OutputTuple = [tokenId: bigint]; + export interface OutputObject { + tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type DAOManagerTransferredEvent = TypedEvent< - [string, string, BigNumber], - DAOManagerTransferredEventObject ->; -export type DAOManagerTransferredEventFilter = - TypedEventFilter; +export namespace GatekeeperNetworkCreatedEvent { + export type InputTuple = [ + network: BigNumberish, + name: string, + daoGoverned: boolean, + daoManager: AddressLike + ]; + export type OutputTuple = [ + network: bigint, + name: string, + daoGoverned: boolean, + daoManager: string + ]; + export interface OutputObject { + network: bigint; + name: string; + daoGoverned: boolean; + daoManager: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ExpirationEventObject { - tokenId: BigNumber; - timestamp: BigNumber; +export namespace GatewayTokenInitializedEvent { + export type InputTuple = [ + name: string, + symbol: string, + superAdmin: AddressLike, + flagsStorage: AddressLike, + chargeHandler: AddressLike, + trustedForwarders: AddressLike[] + ]; + export type OutputTuple = [ + name: string, + symbol: string, + superAdmin: string, + flagsStorage: string, + chargeHandler: string, + trustedForwarders: string[] + ]; + export interface OutputObject { + name: string; + symbol: string; + superAdmin: string; + flagsStorage: string; + chargeHandler: string; + trustedForwarders: string[]; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ExpirationEvent = TypedEvent< - [BigNumber, BigNumber], - ExpirationEventObject ->; -export type ExpirationEventFilter = TypedEventFilter; +export namespace InitializedEvent { + export type InputTuple = [version: BigNumberish]; + export type OutputTuple = [version: bigint]; + export interface OutputObject { + version: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface FlagsStorageUpdatedEventObject { - flagsStorage: string; +export namespace RevokeEvent { + export type InputTuple = [tokenId: BigNumberish]; + export type OutputTuple = [tokenId: bigint]; + export interface OutputObject { + tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type FlagsStorageUpdatedEvent = TypedEvent< - [string], - FlagsStorageUpdatedEventObject ->; -export type FlagsStorageUpdatedEventFilter = - TypedEventFilter; +export namespace RoleAdminChangedEvent { + export type InputTuple = [ + role: BytesLike, + domain: BigNumberish, + previousAdminRole: BytesLike, + newAdminRole: BytesLike + ]; + export type OutputTuple = [ + role: string, + domain: bigint, + previousAdminRole: string, + newAdminRole: string + ]; + export interface OutputObject { + role: string; + domain: bigint; + previousAdminRole: string; + newAdminRole: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ForwarderAddedEventObject { - forwarder: string; +export namespace RoleGrantedEvent { + export type InputTuple = [ + role: BytesLike, + domain: BigNumberish, + account: AddressLike, + sender: AddressLike + ]; + export type OutputTuple = [ + role: string, + domain: bigint, + account: string, + sender: string + ]; + export interface OutputObject { + role: string; + domain: bigint; + account: string; + sender: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ForwarderAddedEvent = TypedEvent< - [string], - ForwarderAddedEventObject ->; -export type ForwarderAddedEventFilter = TypedEventFilter; +export namespace RoleRevokedEvent { + export type InputTuple = [ + role: BytesLike, + domain: BigNumberish, + account: AddressLike, + sender: AddressLike + ]; + export type OutputTuple = [ + role: string, + domain: bigint, + account: string, + sender: string + ]; + export interface OutputObject { + role: string; + domain: bigint; + account: string; + sender: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ForwarderRemovedEventObject { - forwarder: string; +export namespace SetMetadataDescriptorEvent { + export type InputTuple = [metadataDescriptor: AddressLike]; + export type OutputTuple = [metadataDescriptor: string]; + export interface OutputObject { + metadataDescriptor: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ForwarderRemovedEvent = TypedEvent< - [string], - ForwarderRemovedEventObject ->; -export type ForwarderRemovedEventFilter = - TypedEventFilter; +export namespace SlotChangedEvent { + export type InputTuple = [ + _tokenId: BigNumberish, + _oldSlot: BigNumberish, + _newSlot: BigNumberish + ]; + export type OutputTuple = [ + _tokenId: bigint, + _oldSlot: bigint, + _newSlot: bigint + ]; + export interface OutputObject { + _tokenId: bigint; + _oldSlot: bigint; + _newSlot: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface FreezeEventObject { - tokenId: BigNumber; +export namespace SuperAdminAddedEvent { + export type InputTuple = [account: AddressLike]; + export type OutputTuple = [account: string]; + export interface OutputObject { + account: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type FreezeEvent = TypedEvent<[BigNumber], FreezeEventObject>; -export type FreezeEventFilter = TypedEventFilter; +export namespace SuperAdminRemovedEvent { + export type InputTuple = [account: AddressLike]; + export type OutputTuple = [account: string]; + export interface OutputObject { + account: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface GatekeeperNetworkCreatedEventObject { - network: BigNumber; - name: string; - daoGoverned: boolean; - daoManager: string; +export namespace TransferEvent { + export type InputTuple = [ + _from: AddressLike, + _to: AddressLike, + _tokenId: BigNumberish + ]; + export type OutputTuple = [_from: string, _to: string, _tokenId: bigint]; + export interface OutputObject { + _from: string; + _to: string; + _tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type GatekeeperNetworkCreatedEvent = TypedEvent< - [BigNumber, string, boolean, string], - GatekeeperNetworkCreatedEventObject ->; - -export type GatekeeperNetworkCreatedEventFilter = - TypedEventFilter; - -export interface GatewayTokenInitializedEventObject { - name: string; - symbol: string; - superAdmin: string; - flagsStorage: string; - chargeHandler: string; - trustedForwarders: string[]; + +export namespace TransferValueEvent { + export type InputTuple = [ + _fromTokenId: BigNumberish, + _toTokenId: BigNumberish, + _value: BigNumberish + ]; + export type OutputTuple = [ + _fromTokenId: bigint, + _toTokenId: bigint, + _value: bigint + ]; + export interface OutputObject { + _fromTokenId: bigint; + _toTokenId: bigint; + _value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type GatewayTokenInitializedEvent = TypedEvent< - [string, string, string, string, string, string[]], - GatewayTokenInitializedEventObject ->; -export type GatewayTokenInitializedEventFilter = - TypedEventFilter; +export namespace UnfreezeEvent { + export type InputTuple = [tokenId: BigNumberish]; + export type OutputTuple = [tokenId: bigint]; + export interface OutputObject { + tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface InitializedEventObject { - version: number; +export namespace UpgradedEvent { + export type InputTuple = [implementation: AddressLike]; + export type OutputTuple = [implementation: string]; + export interface OutputObject { + implementation: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; -export type InitializedEventFilter = TypedEventFilter; +export interface GatewayTokenUpgradeTest extends BaseContract { + connect(runner?: ContractRunner | null): GatewayTokenUpgradeTest; + waitForDeployment(): Promise; -export interface RevokeEventObject { - tokenId: BigNumber; -} -export type RevokeEvent = TypedEvent<[BigNumber], RevokeEventObject>; + interface: GatewayTokenUpgradeTestInterface; -export type RevokeEventFilter = TypedEventFilter; + queryFilter( + event: TCEvent, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + DAO_MANAGER_ROLE: TypedContractMethod<[], [string], "view">; + + DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">; + + GATEKEEPER_ROLE: TypedContractMethod<[], [string], "view">; + + NETWORK_AUTHORITY_ROLE: TypedContractMethod<[], [string], "view">; + + addForwarder: TypedContractMethod< + [forwarder: AddressLike], + [void], + "nonpayable" + >; -export interface RoleAdminChangedEventObject { - role: string; - domain: BigNumber; - previousAdminRole: string; - newAdminRole: string; -} -export type RoleAdminChangedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleAdminChangedEventObject ->; - -export type RoleAdminChangedEventFilter = - TypedEventFilter; - -export interface RoleGrantedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleGrantedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleGrantedEventObject ->; - -export type RoleGrantedEventFilter = TypedEventFilter; - -export interface RoleRevokedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleRevokedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleRevokedEventObject ->; + addGatekeeper: TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; -export type RoleRevokedEventFilter = TypedEventFilter; + addNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; -export interface SetMetadataDescriptorEventObject { - metadataDescriptor: string; -} -export type SetMetadataDescriptorEvent = TypedEvent< - [string], - SetMetadataDescriptorEventObject ->; - -export type SetMetadataDescriptorEventFilter = - TypedEventFilter; - -export interface SlotChangedEventObject { - _tokenId: BigNumber; - _oldSlot: BigNumber; - _newSlot: BigNumber; -} -export type SlotChangedEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - SlotChangedEventObject ->; + allowance: TypedContractMethod< + [tokenId_: BigNumberish, operator_: AddressLike], + [bigint], + "view" + >; -export type SlotChangedEventFilter = TypedEventFilter; + "approve(address,uint256)": TypedContractMethod< + [arg0: AddressLike, arg1: BigNumberish], + [void], + "payable" + >; -export interface SuperAdminAddedEventObject { - account: string; -} -export type SuperAdminAddedEvent = TypedEvent< - [string], - SuperAdminAddedEventObject ->; + "approve(uint256,address,uint256)": TypedContractMethod< + [arg0: BigNumberish, arg1: AddressLike, arg2: BigNumberish], + [void], + "payable" + >; -export type SuperAdminAddedEventFilter = TypedEventFilter; + "balanceOf(address)": TypedContractMethod< + [owner_: AddressLike], + [bigint], + "view" + >; -export interface SuperAdminRemovedEventObject { - account: string; -} -export type SuperAdminRemovedEvent = TypedEvent< - [string], - SuperAdminRemovedEventObject ->; - -export type SuperAdminRemovedEventFilter = - TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; + "balanceOf(uint256)": TypedContractMethod< + [tokenId_: BigNumberish], + [bigint], + "view" + >; -export type TransferEventFilter = TypedEventFilter; + burn: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; -export interface TransferValueEventObject { - _fromTokenId: BigNumber; - _toTokenId: BigNumber; - _value: BigNumber; -} -export type TransferValueEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - TransferValueEventObject ->; + contractURI: TypedContractMethod<[], [string], "view">; -export type TransferValueEventFilter = TypedEventFilter; + createNetwork: TypedContractMethod< + [ + network: BigNumberish, + name: string, + daoGoverned: boolean, + daoManager: AddressLike + ], + [void], + "nonpayable" + >; -export interface UnfreezeEventObject { - tokenId: BigNumber; -} -export type UnfreezeEvent = TypedEvent<[BigNumber], UnfreezeEventObject>; + flagsStorage: TypedContractMethod<[], [string], "view">; -export type UnfreezeEventFilter = TypedEventFilter; + freeze: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; -export interface UpgradedEventObject { - implementation: string; -} -export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>; + getApproved: TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; -export type UpgradedEventFilter = TypedEventFilter; + getExpiration: TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; -export interface GatewayTokenUpgradeTest extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + getIssuingGatekeeper: TypedContractMethod< + [tokenId: BigNumberish], + [string], + "view" + >; - interface: GatewayTokenUpgradeTestInterface; + getNetwork: TypedContractMethod<[network: BigNumberish], [string], "view">; - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise<[string]>; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { balance: BigNumber }>; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise<[string]>; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise<[string]>; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getIssuingGatekeeper( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { + getRoleAdmin: TypedContractMethod< + [role: BytesLike, domain: BigNumberish], + [string], + "view" + >; + + getToken: TypedContractMethod< + [tokenId: BigNumberish], + [ + [string, bigint, string, bigint, bigint] & { owner: string; - state: number; + state: bigint; identity: string; - expiration: BigNumber; - bitmask: BigNumber; + expiration: bigint; + bitmask: bigint; } - >; + ], + "view" + >; - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - onlyActive: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber[]]>; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - initialize( - name: PromiseOrValue, - symbol: PromiseOrValue, - superAdmin: PromiseOrValue, - flagsStorage: PromiseOrValue, - chargeHandler: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - metadataDescriptor(overrides?: CallOverrides): Promise<[string]>; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - networkHasFeature( - network: PromiseOrValue, - feature: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { owner_: string }>; - - proxiableUUID(overrides?: CallOverrides): Promise<[string]>; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setNetworkFeatures( - network: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise<[boolean]>; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateChargeHandler( - chargeHandler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise<[number]>; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; + getTokenBitmask: TypedContractMethod< + [tokenId: BigNumberish], + [bigint], + "view" + >; + + getTokenIdsByOwnerAndNetwork: TypedContractMethod< + [owner: AddressLike, network: BigNumberish, onlyActive: boolean], + [bigint[]], + "view" + >; + + grantRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + + hasRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [boolean], + "view" + >; + + initialize: TypedContractMethod< + [ + name: string, + symbol: string, + superAdmin: AddressLike, + flagsStorage: AddressLike, + chargeHandler: AddressLike, + trustedForwarders: AddressLike[] + ], + [void], + "nonpayable" + >; - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getIssuingGatekeeper( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - onlyActive: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - name: PromiseOrValue, - symbol: PromiseOrValue, - superAdmin: PromiseOrValue, - flagsStorage: PromiseOrValue, - chargeHandler: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - networkHasFeature( - network: PromiseOrValue, - feature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setNetworkFeatures( - network: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateChargeHandler( - chargeHandler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getIssuingGatekeeper( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { + isApprovedForAll: TypedContractMethod< + [owner_: AddressLike, operator_: AddressLike], + [boolean], + "view" + >; + + isGatekeeper: TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + + isNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + + isNetworkDAOGoverned: TypedContractMethod< + [arg0: BigNumberish], + [boolean], + "view" + >; + + isSuperAdmin: TypedContractMethod<[account: AddressLike], [boolean], "view">; + + isTrustedForwarder: TypedContractMethod< + [forwarder: AddressLike], + [boolean], + "view" + >; + + metadataDescriptor: TypedContractMethod<[], [string], "view">; + + mint: TypedContractMethod< + [ + to: AddressLike, + network: BigNumberish, + expiration: BigNumberish, + mask: BigNumberish, + charge: ChargeStruct + ], + [void], + "payable" + >; + + name: TypedContractMethod<[], [string], "view">; + + networkHasFeature: TypedContractMethod< + [network: BigNumberish, feature: BigNumberish], + [boolean], + "view" + >; + + ownerOf: TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + + proxiableUUID: TypedContractMethod<[], [string], "view">; + + removeForwarder: TypedContractMethod< + [forwarder: AddressLike], + [void], + "nonpayable" + >; + + removeGatekeeper: TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + + removeNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + + renameNetwork: TypedContractMethod< + [network: BigNumberish, name: string], + [void], + "nonpayable" + >; + + renounceRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + + revoke: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + + revokeRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + + revokeSuperAdmin: TypedContractMethod< + [account: AddressLike], + [void], + "nonpayable" + >; + + "safeTransferFrom(address,address,uint256)": TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + + "safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod< + [ + from_: AddressLike, + to_: AddressLike, + tokenId_: BigNumberish, + data_: BytesLike + ], + [void], + "payable" + >; + + setApprovalForAll: TypedContractMethod< + [operator_: AddressLike, approved_: boolean], + [void], + "nonpayable" + >; + + setBitmask: TypedContractMethod< + [tokenId: BigNumberish, mask: BigNumberish], + [void], + "nonpayable" + >; + + setExpiration: TypedContractMethod< + [tokenId: BigNumberish, timestamp: BigNumberish, charge: ChargeStruct], + [void], + "payable" + >; + + setMetadataDescriptor: TypedContractMethod< + [_metadataDescriptor: AddressLike], + [void], + "nonpayable" + >; + + setNetworkFeatures: TypedContractMethod< + [network: BigNumberish, mask: BigNumberish], + [void], + "nonpayable" + >; + + setSuperAdmin: TypedContractMethod< + [account: AddressLike], + [void], + "nonpayable" + >; + + slotOf: TypedContractMethod<[tokenId_: BigNumberish], [bigint], "view">; + + slotURI: TypedContractMethod<[slot_: BigNumberish], [string], "view">; + + supportsInterface: TypedContractMethod< + [interfaceId: BytesLike], + [boolean], + "view" + >; + + symbol: TypedContractMethod<[], [string], "view">; + + tokenByIndex: TypedContractMethod<[index_: BigNumberish], [bigint], "view">; + + tokenOfOwnerByIndex: TypedContractMethod< + [owner_: AddressLike, index_: BigNumberish], + [bigint], + "view" + >; + + tokenURI: TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + + totalSupply: TypedContractMethod<[], [bigint], "view">; + + transferDAOManager: TypedContractMethod< + [ + previousManager: AddressLike, + newManager: AddressLike, + network: BigNumberish + ], + [void], + "nonpayable" + >; + + "transferFrom(uint256,address,uint256)": TypedContractMethod< + [fromTokenId_: BigNumberish, to_: AddressLike, value_: BigNumberish], + [bigint], + "payable" + >; + + "transferFrom(address,address,uint256)": TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + + "transferFrom(uint256,uint256,uint256)": TypedContractMethod< + [ + fromTokenId_: BigNumberish, + toTokenId_: BigNumberish, + value_: BigNumberish + ], + [void], + "payable" + >; + + transfersRestricted: TypedContractMethod<[], [boolean], "view">; + + unfreeze: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + + updateChargeHandler: TypedContractMethod< + [chargeHandler: AddressLike], + [void], + "nonpayable" + >; + + updateFlagsStorage: TypedContractMethod< + [flagsStorage: AddressLike], + [void], + "nonpayable" + >; + + upgradeTo: TypedContractMethod< + [newImplementation: AddressLike], + [void], + "nonpayable" + >; + + upgradeToAndCall: TypedContractMethod< + [newImplementation: AddressLike, data: BytesLike], + [void], + "payable" + >; + + valueDecimals: TypedContractMethod<[], [bigint], "view">; + + "verifyToken(address,uint256)": TypedContractMethod< + [owner: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + + "verifyToken(uint256)": TypedContractMethod< + [tokenId: BigNumberish], + [boolean], + "view" + >; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "DAO_MANAGER_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "DEFAULT_ADMIN_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "GATEKEEPER_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "NETWORK_AUTHORITY_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "addForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "addGatekeeper" + ): TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "addNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "allowance" + ): TypedContractMethod< + [tokenId_: BigNumberish, operator_: AddressLike], + [bigint], + "view" + >; + getFunction( + nameOrSignature: "approve(address,uint256)" + ): TypedContractMethod< + [arg0: AddressLike, arg1: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "approve(uint256,address,uint256)" + ): TypedContractMethod< + [arg0: BigNumberish, arg1: AddressLike, arg2: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "balanceOf(address)" + ): TypedContractMethod<[owner_: AddressLike], [bigint], "view">; + getFunction( + nameOrSignature: "balanceOf(uint256)" + ): TypedContractMethod<[tokenId_: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "burn" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "contractURI" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "createNetwork" + ): TypedContractMethod< + [ + network: BigNumberish, + name: string, + daoGoverned: boolean, + daoManager: AddressLike + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "flagsStorage" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "freeze" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "getApproved" + ): TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "getExpiration" + ): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "getIssuingGatekeeper" + ): TypedContractMethod<[tokenId: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "getNetwork" + ): TypedContractMethod<[network: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "getRoleAdmin" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish], + [string], + "view" + >; + getFunction( + nameOrSignature: "getToken" + ): TypedContractMethod< + [tokenId: BigNumberish], + [ + [string, bigint, string, bigint, bigint] & { owner: string; - state: number; + state: bigint; identity: string; - expiration: BigNumber; - bitmask: BigNumber; + expiration: bigint; + bitmask: bigint; } + ], + "view" + >; + getFunction( + nameOrSignature: "getTokenBitmask" + ): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "getTokenIdsByOwnerAndNetwork" + ): TypedContractMethod< + [owner: AddressLike, network: BigNumberish, onlyActive: boolean], + [bigint[]], + "view" + >; + getFunction( + nameOrSignature: "grantRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "hasRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "initialize" + ): TypedContractMethod< + [ + name: string, + symbol: string, + superAdmin: AddressLike, + flagsStorage: AddressLike, + chargeHandler: AddressLike, + trustedForwarders: AddressLike[] + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "isApprovedForAll" + ): TypedContractMethod< + [owner_: AddressLike, operator_: AddressLike], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "isGatekeeper" + ): TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "isNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "isNetworkDAOGoverned" + ): TypedContractMethod<[arg0: BigNumberish], [boolean], "view">; + getFunction( + nameOrSignature: "isSuperAdmin" + ): TypedContractMethod<[account: AddressLike], [boolean], "view">; + getFunction( + nameOrSignature: "isTrustedForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [boolean], "view">; + getFunction( + nameOrSignature: "metadataDescriptor" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "mint" + ): TypedContractMethod< + [ + to: AddressLike, + network: BigNumberish, + expiration: BigNumberish, + mask: BigNumberish, + charge: ChargeStruct + ], + [void], + "payable" + >; + getFunction( + nameOrSignature: "name" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "networkHasFeature" + ): TypedContractMethod< + [network: BigNumberish, feature: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "ownerOf" + ): TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "proxiableUUID" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "removeForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "removeGatekeeper" + ): TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "removeNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "renameNetwork" + ): TypedContractMethod< + [network: BigNumberish, name: string], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "renounceRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "revoke" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "revokeRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "revokeSuperAdmin" + ): TypedContractMethod<[account: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "safeTransferFrom(address,address,uint256)" + ): TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)" + ): TypedContractMethod< + [ + from_: AddressLike, + to_: AddressLike, + tokenId_: BigNumberish, + data_: BytesLike + ], + [void], + "payable" + >; + getFunction( + nameOrSignature: "setApprovalForAll" + ): TypedContractMethod< + [operator_: AddressLike, approved_: boolean], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setBitmask" + ): TypedContractMethod< + [tokenId: BigNumberish, mask: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setExpiration" + ): TypedContractMethod< + [tokenId: BigNumberish, timestamp: BigNumberish, charge: ChargeStruct], + [void], + "payable" + >; + getFunction( + nameOrSignature: "setMetadataDescriptor" + ): TypedContractMethod< + [_metadataDescriptor: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setNetworkFeatures" + ): TypedContractMethod< + [network: BigNumberish, mask: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setSuperAdmin" + ): TypedContractMethod<[account: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "slotOf" + ): TypedContractMethod<[tokenId_: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "slotURI" + ): TypedContractMethod<[slot_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "supportsInterface" + ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; + getFunction( + nameOrSignature: "symbol" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "tokenByIndex" + ): TypedContractMethod<[index_: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "tokenOfOwnerByIndex" + ): TypedContractMethod< + [owner_: AddressLike, index_: BigNumberish], + [bigint], + "view" + >; + getFunction( + nameOrSignature: "tokenURI" + ): TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "totalSupply" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "transferDAOManager" + ): TypedContractMethod< + [ + previousManager: AddressLike, + newManager: AddressLike, + network: BigNumberish + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "transferFrom(uint256,address,uint256)" + ): TypedContractMethod< + [fromTokenId_: BigNumberish, to_: AddressLike, value_: BigNumberish], + [bigint], + "payable" + >; + getFunction( + nameOrSignature: "transferFrom(address,address,uint256)" + ): TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "transferFrom(uint256,uint256,uint256)" + ): TypedContractMethod< + [ + fromTokenId_: BigNumberish, + toTokenId_: BigNumberish, + value_: BigNumberish + ], + [void], + "payable" + >; + getFunction( + nameOrSignature: "transfersRestricted" + ): TypedContractMethod<[], [boolean], "view">; + getFunction( + nameOrSignature: "unfreeze" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "updateChargeHandler" + ): TypedContractMethod<[chargeHandler: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "updateFlagsStorage" + ): TypedContractMethod<[flagsStorage: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "upgradeTo" + ): TypedContractMethod< + [newImplementation: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "upgradeToAndCall" + ): TypedContractMethod< + [newImplementation: AddressLike, data: BytesLike], + [void], + "payable" + >; + getFunction( + nameOrSignature: "valueDecimals" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "verifyToken(address,uint256)" + ): TypedContractMethod< + [owner: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "verifyToken(uint256)" + ): TypedContractMethod<[tokenId: BigNumberish], [boolean], "view">; + + getEvent( + key: "AdminChanged" + ): TypedContractEvent< + AdminChangedEvent.InputTuple, + AdminChangedEvent.OutputTuple, + AdminChangedEvent.OutputObject + >; + getEvent( + key: "Approval" + ): TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + getEvent( + key: "ApprovalForAll" + ): TypedContractEvent< + ApprovalForAllEvent.InputTuple, + ApprovalForAllEvent.OutputTuple, + ApprovalForAllEvent.OutputObject + >; + getEvent( + key: "ApprovalValue" + ): TypedContractEvent< + ApprovalValueEvent.InputTuple, + ApprovalValueEvent.OutputTuple, + ApprovalValueEvent.OutputObject + >; + getEvent( + key: "BeaconUpgraded" + ): TypedContractEvent< + BeaconUpgradedEvent.InputTuple, + BeaconUpgradedEvent.OutputTuple, + BeaconUpgradedEvent.OutputObject + >; + getEvent( + key: "BitMaskUpdated" + ): TypedContractEvent< + BitMaskUpdatedEvent.InputTuple, + BitMaskUpdatedEvent.OutputTuple, + BitMaskUpdatedEvent.OutputObject + >; + getEvent( + key: "ChargeHandlerUpdated" + ): TypedContractEvent< + ChargeHandlerUpdatedEvent.InputTuple, + ChargeHandlerUpdatedEvent.OutputTuple, + ChargeHandlerUpdatedEvent.OutputObject + >; + getEvent( + key: "DAOManagerTransferred" + ): TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; + getEvent( + key: "Expiration" + ): TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; + getEvent( + key: "FlagsStorageUpdated" + ): TypedContractEvent< + FlagsStorageUpdatedEvent.InputTuple, + FlagsStorageUpdatedEvent.OutputTuple, + FlagsStorageUpdatedEvent.OutputObject + >; + getEvent( + key: "ForwarderAdded" + ): TypedContractEvent< + ForwarderAddedEvent.InputTuple, + ForwarderAddedEvent.OutputTuple, + ForwarderAddedEvent.OutputObject + >; + getEvent( + key: "ForwarderRemoved" + ): TypedContractEvent< + ForwarderRemovedEvent.InputTuple, + ForwarderRemovedEvent.OutputTuple, + ForwarderRemovedEvent.OutputObject + >; + getEvent( + key: "Freeze" + ): TypedContractEvent< + FreezeEvent.InputTuple, + FreezeEvent.OutputTuple, + FreezeEvent.OutputObject + >; + getEvent( + key: "GatekeeperNetworkCreated" + ): TypedContractEvent< + GatekeeperNetworkCreatedEvent.InputTuple, + GatekeeperNetworkCreatedEvent.OutputTuple, + GatekeeperNetworkCreatedEvent.OutputObject + >; + getEvent( + key: "GatewayTokenInitialized" + ): TypedContractEvent< + GatewayTokenInitializedEvent.InputTuple, + GatewayTokenInitializedEvent.OutputTuple, + GatewayTokenInitializedEvent.OutputObject + >; + getEvent( + key: "Initialized" + ): TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + getEvent( + key: "Revoke" + ): TypedContractEvent< + RevokeEvent.InputTuple, + RevokeEvent.OutputTuple, + RevokeEvent.OutputObject + >; + getEvent( + key: "RoleAdminChanged" + ): TypedContractEvent< + RoleAdminChangedEvent.InputTuple, + RoleAdminChangedEvent.OutputTuple, + RoleAdminChangedEvent.OutputObject + >; + getEvent( + key: "RoleGranted" + ): TypedContractEvent< + RoleGrantedEvent.InputTuple, + RoleGrantedEvent.OutputTuple, + RoleGrantedEvent.OutputObject + >; + getEvent( + key: "RoleRevoked" + ): TypedContractEvent< + RoleRevokedEvent.InputTuple, + RoleRevokedEvent.OutputTuple, + RoleRevokedEvent.OutputObject + >; + getEvent( + key: "SetMetadataDescriptor" + ): TypedContractEvent< + SetMetadataDescriptorEvent.InputTuple, + SetMetadataDescriptorEvent.OutputTuple, + SetMetadataDescriptorEvent.OutputObject + >; + getEvent( + key: "SlotChanged" + ): TypedContractEvent< + SlotChangedEvent.InputTuple, + SlotChangedEvent.OutputTuple, + SlotChangedEvent.OutputObject + >; + getEvent( + key: "SuperAdminAdded" + ): TypedContractEvent< + SuperAdminAddedEvent.InputTuple, + SuperAdminAddedEvent.OutputTuple, + SuperAdminAddedEvent.OutputObject + >; + getEvent( + key: "SuperAdminRemoved" + ): TypedContractEvent< + SuperAdminRemovedEvent.InputTuple, + SuperAdminRemovedEvent.OutputTuple, + SuperAdminRemovedEvent.OutputObject + >; + getEvent( + key: "Transfer" + ): TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + getEvent( + key: "TransferValue" + ): TypedContractEvent< + TransferValueEvent.InputTuple, + TransferValueEvent.OutputTuple, + TransferValueEvent.OutputObject + >; + getEvent( + key: "Unfreeze" + ): TypedContractEvent< + UnfreezeEvent.InputTuple, + UnfreezeEvent.OutputTuple, + UnfreezeEvent.OutputObject + >; + getEvent( + key: "Upgraded" + ): TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; + + filters: { + "AdminChanged(address,address)": TypedContractEvent< + AdminChangedEvent.InputTuple, + AdminChangedEvent.OutputTuple, + AdminChangedEvent.OutputObject + >; + AdminChanged: TypedContractEvent< + AdminChangedEvent.InputTuple, + AdminChangedEvent.OutputTuple, + AdminChangedEvent.OutputObject >; - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - onlyActive: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - name: PromiseOrValue, - symbol: PromiseOrValue, - superAdmin: PromiseOrValue, - flagsStorage: PromiseOrValue, - chargeHandler: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - networkHasFeature( - network: PromiseOrValue, - feature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setNetworkFeatures( - network: PromiseOrValue, - mask: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateChargeHandler( - chargeHandler: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; + "Approval(address,address,uint256)": TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + Approval: TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; - filters: { - "AdminChanged(address,address)"( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - AdminChanged( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "ApprovalValue(uint256,address,uint256)"( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - ApprovalValue( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - - "BeaconUpgraded(address)"( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - BeaconUpgraded( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - - "BitMaskUpdated(uint256,uint256)"( - tokenId?: null, - bitmask?: null - ): BitMaskUpdatedEventFilter; - BitMaskUpdated(tokenId?: null, bitmask?: null): BitMaskUpdatedEventFilter; - - "ChargeHandlerUpdated(address)"( - chargeHandler?: PromiseOrValue | null - ): ChargeHandlerUpdatedEventFilter; - ChargeHandlerUpdated( - chargeHandler?: PromiseOrValue | null - ): ChargeHandlerUpdatedEventFilter; - - "DAOManagerTransferred(address,address,uint256)"( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - DAOManagerTransferred( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - - "Expiration(uint256,uint256)"( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - Expiration( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - - "FlagsStorageUpdated(address)"( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - FlagsStorageUpdated( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - - "ForwarderAdded(address)"( - forwarder?: PromiseOrValue | null - ): ForwarderAddedEventFilter; - ForwarderAdded( - forwarder?: PromiseOrValue | null - ): ForwarderAddedEventFilter; - - "ForwarderRemoved(address)"( - forwarder?: PromiseOrValue | null - ): ForwarderRemovedEventFilter; - ForwarderRemoved( - forwarder?: PromiseOrValue | null - ): ForwarderRemovedEventFilter; - - "Freeze(uint256)"( - tokenId?: PromiseOrValue | null - ): FreezeEventFilter; - Freeze(tokenId?: PromiseOrValue | null): FreezeEventFilter; - - "GatekeeperNetworkCreated(uint256,string,bool,address)"( - network?: null, - name?: null, - daoGoverned?: null, - daoManager?: null - ): GatekeeperNetworkCreatedEventFilter; - GatekeeperNetworkCreated( - network?: null, - name?: null, - daoGoverned?: null, - daoManager?: null - ): GatekeeperNetworkCreatedEventFilter; - - "GatewayTokenInitialized(string,string,address,address,address,address[])"( - name?: null, - symbol?: null, - superAdmin?: null, - flagsStorage?: null, - chargeHandler?: null, - trustedForwarders?: null - ): GatewayTokenInitializedEventFilter; - GatewayTokenInitialized( - name?: null, - symbol?: null, - superAdmin?: null, - flagsStorage?: null, - chargeHandler?: null, - trustedForwarders?: null - ): GatewayTokenInitializedEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Revoke(uint256)"( - tokenId?: PromiseOrValue | null - ): RevokeEventFilter; - Revoke(tokenId?: PromiseOrValue | null): RevokeEventFilter; - - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)"( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - RoleAdminChanged( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - - "RoleGranted(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - RoleGranted( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - - "RoleRevoked(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - RoleRevoked( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - - "SetMetadataDescriptor(address)"( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - SetMetadataDescriptor( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - - "SlotChanged(uint256,uint256,uint256)"( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - SlotChanged( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - - "SuperAdminAdded(address)"( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - SuperAdminAdded( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - - "SuperAdminRemoved(address)"( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - SuperAdminRemoved( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - - "TransferValue(uint256,uint256,uint256)"( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - TransferValue( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - - "Unfreeze(uint256)"( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - Unfreeze( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - - "Upgraded(address)"( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - Upgraded( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - }; + "ApprovalForAll(address,address,bool)": TypedContractEvent< + ApprovalForAllEvent.InputTuple, + ApprovalForAllEvent.OutputTuple, + ApprovalForAllEvent.OutputObject + >; + ApprovalForAll: TypedContractEvent< + ApprovalForAllEvent.InputTuple, + ApprovalForAllEvent.OutputTuple, + ApprovalForAllEvent.OutputObject + >; - estimateGas: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getIssuingGatekeeper( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - onlyActive: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - name: PromiseOrValue, - symbol: PromiseOrValue, - superAdmin: PromiseOrValue, - flagsStorage: PromiseOrValue, - chargeHandler: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - networkHasFeature( - network: PromiseOrValue, - feature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setNetworkFeatures( - network: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateChargeHandler( - chargeHandler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; + "ApprovalValue(uint256,address,uint256)": TypedContractEvent< + ApprovalValueEvent.InputTuple, + ApprovalValueEvent.OutputTuple, + ApprovalValueEvent.OutputObject + >; + ApprovalValue: TypedContractEvent< + ApprovalValueEvent.InputTuple, + ApprovalValueEvent.OutputTuple, + ApprovalValueEvent.OutputObject + >; + + "BeaconUpgraded(address)": TypedContractEvent< + BeaconUpgradedEvent.InputTuple, + BeaconUpgradedEvent.OutputTuple, + BeaconUpgradedEvent.OutputObject + >; + BeaconUpgraded: TypedContractEvent< + BeaconUpgradedEvent.InputTuple, + BeaconUpgradedEvent.OutputTuple, + BeaconUpgradedEvent.OutputObject + >; + + "BitMaskUpdated(uint256,uint256)": TypedContractEvent< + BitMaskUpdatedEvent.InputTuple, + BitMaskUpdatedEvent.OutputTuple, + BitMaskUpdatedEvent.OutputObject + >; + BitMaskUpdated: TypedContractEvent< + BitMaskUpdatedEvent.InputTuple, + BitMaskUpdatedEvent.OutputTuple, + BitMaskUpdatedEvent.OutputObject + >; + + "ChargeHandlerUpdated(address)": TypedContractEvent< + ChargeHandlerUpdatedEvent.InputTuple, + ChargeHandlerUpdatedEvent.OutputTuple, + ChargeHandlerUpdatedEvent.OutputObject + >; + ChargeHandlerUpdated: TypedContractEvent< + ChargeHandlerUpdatedEvent.InputTuple, + ChargeHandlerUpdatedEvent.OutputTuple, + ChargeHandlerUpdatedEvent.OutputObject + >; - populateTransaction: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE( - overrides?: CallOverrides - ): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE( - overrides?: CallOverrides - ): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getIssuingGatekeeper( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - onlyActive: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - name: PromiseOrValue, - symbol: PromiseOrValue, - superAdmin: PromiseOrValue, - flagsStorage: PromiseOrValue, - chargeHandler: PromiseOrValue, - trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor( - overrides?: CallOverrides - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - networkHasFeature( - network: PromiseOrValue, - feature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setNetworkFeatures( - network: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted( - overrides?: CallOverrides - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateChargeHandler( - chargeHandler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + "DAOManagerTransferred(address,address,uint256)": TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; + DAOManagerTransferred: TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; + + "Expiration(uint256,uint256)": TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; + Expiration: TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; + + "FlagsStorageUpdated(address)": TypedContractEvent< + FlagsStorageUpdatedEvent.InputTuple, + FlagsStorageUpdatedEvent.OutputTuple, + FlagsStorageUpdatedEvent.OutputObject + >; + FlagsStorageUpdated: TypedContractEvent< + FlagsStorageUpdatedEvent.InputTuple, + FlagsStorageUpdatedEvent.OutputTuple, + FlagsStorageUpdatedEvent.OutputObject + >; + + "ForwarderAdded(address)": TypedContractEvent< + ForwarderAddedEvent.InputTuple, + ForwarderAddedEvent.OutputTuple, + ForwarderAddedEvent.OutputObject + >; + ForwarderAdded: TypedContractEvent< + ForwarderAddedEvent.InputTuple, + ForwarderAddedEvent.OutputTuple, + ForwarderAddedEvent.OutputObject + >; + + "ForwarderRemoved(address)": TypedContractEvent< + ForwarderRemovedEvent.InputTuple, + ForwarderRemovedEvent.OutputTuple, + ForwarderRemovedEvent.OutputObject + >; + ForwarderRemoved: TypedContractEvent< + ForwarderRemovedEvent.InputTuple, + ForwarderRemovedEvent.OutputTuple, + ForwarderRemovedEvent.OutputObject + >; + + "Freeze(uint256)": TypedContractEvent< + FreezeEvent.InputTuple, + FreezeEvent.OutputTuple, + FreezeEvent.OutputObject + >; + Freeze: TypedContractEvent< + FreezeEvent.InputTuple, + FreezeEvent.OutputTuple, + FreezeEvent.OutputObject + >; + + "GatekeeperNetworkCreated(uint256,string,bool,address)": TypedContractEvent< + GatekeeperNetworkCreatedEvent.InputTuple, + GatekeeperNetworkCreatedEvent.OutputTuple, + GatekeeperNetworkCreatedEvent.OutputObject + >; + GatekeeperNetworkCreated: TypedContractEvent< + GatekeeperNetworkCreatedEvent.InputTuple, + GatekeeperNetworkCreatedEvent.OutputTuple, + GatekeeperNetworkCreatedEvent.OutputObject + >; + + "GatewayTokenInitialized(string,string,address,address,address,address[])": TypedContractEvent< + GatewayTokenInitializedEvent.InputTuple, + GatewayTokenInitializedEvent.OutputTuple, + GatewayTokenInitializedEvent.OutputObject + >; + GatewayTokenInitialized: TypedContractEvent< + GatewayTokenInitializedEvent.InputTuple, + GatewayTokenInitializedEvent.OutputTuple, + GatewayTokenInitializedEvent.OutputObject + >; + + "Initialized(uint8)": TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + Initialized: TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + + "Revoke(uint256)": TypedContractEvent< + RevokeEvent.InputTuple, + RevokeEvent.OutputTuple, + RevokeEvent.OutputObject + >; + Revoke: TypedContractEvent< + RevokeEvent.InputTuple, + RevokeEvent.OutputTuple, + RevokeEvent.OutputObject + >; + + "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)": TypedContractEvent< + RoleAdminChangedEvent.InputTuple, + RoleAdminChangedEvent.OutputTuple, + RoleAdminChangedEvent.OutputObject + >; + RoleAdminChanged: TypedContractEvent< + RoleAdminChangedEvent.InputTuple, + RoleAdminChangedEvent.OutputTuple, + RoleAdminChangedEvent.OutputObject + >; + + "RoleGranted(bytes32,uint256,address,address)": TypedContractEvent< + RoleGrantedEvent.InputTuple, + RoleGrantedEvent.OutputTuple, + RoleGrantedEvent.OutputObject + >; + RoleGranted: TypedContractEvent< + RoleGrantedEvent.InputTuple, + RoleGrantedEvent.OutputTuple, + RoleGrantedEvent.OutputObject + >; + + "RoleRevoked(bytes32,uint256,address,address)": TypedContractEvent< + RoleRevokedEvent.InputTuple, + RoleRevokedEvent.OutputTuple, + RoleRevokedEvent.OutputObject + >; + RoleRevoked: TypedContractEvent< + RoleRevokedEvent.InputTuple, + RoleRevokedEvent.OutputTuple, + RoleRevokedEvent.OutputObject + >; + + "SetMetadataDescriptor(address)": TypedContractEvent< + SetMetadataDescriptorEvent.InputTuple, + SetMetadataDescriptorEvent.OutputTuple, + SetMetadataDescriptorEvent.OutputObject + >; + SetMetadataDescriptor: TypedContractEvent< + SetMetadataDescriptorEvent.InputTuple, + SetMetadataDescriptorEvent.OutputTuple, + SetMetadataDescriptorEvent.OutputObject + >; + + "SlotChanged(uint256,uint256,uint256)": TypedContractEvent< + SlotChangedEvent.InputTuple, + SlotChangedEvent.OutputTuple, + SlotChangedEvent.OutputObject + >; + SlotChanged: TypedContractEvent< + SlotChangedEvent.InputTuple, + SlotChangedEvent.OutputTuple, + SlotChangedEvent.OutputObject + >; + + "SuperAdminAdded(address)": TypedContractEvent< + SuperAdminAddedEvent.InputTuple, + SuperAdminAddedEvent.OutputTuple, + SuperAdminAddedEvent.OutputObject + >; + SuperAdminAdded: TypedContractEvent< + SuperAdminAddedEvent.InputTuple, + SuperAdminAddedEvent.OutputTuple, + SuperAdminAddedEvent.OutputObject + >; + + "SuperAdminRemoved(address)": TypedContractEvent< + SuperAdminRemovedEvent.InputTuple, + SuperAdminRemovedEvent.OutputTuple, + SuperAdminRemovedEvent.OutputObject + >; + SuperAdminRemoved: TypedContractEvent< + SuperAdminRemovedEvent.InputTuple, + SuperAdminRemovedEvent.OutputTuple, + SuperAdminRemovedEvent.OutputObject + >; + + "Transfer(address,address,uint256)": TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + Transfer: TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + + "TransferValue(uint256,uint256,uint256)": TypedContractEvent< + TransferValueEvent.InputTuple, + TransferValueEvent.OutputTuple, + TransferValueEvent.OutputObject + >; + TransferValue: TypedContractEvent< + TransferValueEvent.InputTuple, + TransferValueEvent.OutputTuple, + TransferValueEvent.OutputObject + >; + + "Unfreeze(uint256)": TypedContractEvent< + UnfreezeEvent.InputTuple, + UnfreezeEvent.OutputTuple, + UnfreezeEvent.OutputObject + >; + Unfreeze: TypedContractEvent< + UnfreezeEvent.InputTuple, + UnfreezeEvent.OutputTuple, + UnfreezeEvent.OutputObject + >; + + "Upgraded(address)": TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; + Upgraded: TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; }; } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/StubMultisig.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/StubMultisig.ts index 04a8ac908..2ca0f04a3 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/StubMultisig.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/StubMultisig.ts @@ -4,103 +4,93 @@ /* eslint-disable */ import type { BaseContract, - BigNumber, BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, + FunctionFragment, + Result, + Interface, + AddressLike, + ContractRunner, + ContractMethod, + Listener, } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; import type { - TypedEventFilter, - TypedEvent, + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, TypedListener, - OnEvent, - PromiseOrValue, + TypedContractMethod, } from "../../common"; -export interface StubMultisigInterface extends utils.Interface { - functions: { - "reassignOwnership(address)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "reassignOwnership"): FunctionFragment; +export interface StubMultisigInterface extends Interface { + getFunction(nameOrSignature: "reassignOwnership"): FunctionFragment; encodeFunctionData( functionFragment: "reassignOwnership", - values: [PromiseOrValue] + values: [AddressLike] ): string; decodeFunctionResult( functionFragment: "reassignOwnership", data: BytesLike ): Result; - - events: {}; } export interface StubMultisig extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + connect(runner?: ContractRunner | null): StubMultisig; + waitForDeployment(): Promise; interface: StubMultisigInterface; - queryFilter( - event: TypedEventFilter, + queryFilter( + event: TCEvent, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined - ): Promise>; + ): Promise>>; - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; - functions: { - reassignOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; - reassignOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; - callStatic: { - reassignOwnership( - newOwner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; + reassignOwnership: TypedContractMethod< + [newOwner: AddressLike], + [void], + "nonpayable" + >; - filters: {}; + getFunction( + key: string | FunctionFragment + ): T; - estimateGas: { - reassignOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; + getFunction( + nameOrSignature: "reassignOwnership" + ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - populateTransaction: { - reassignOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; + filters: {}; } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/GatewayTokenV0.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/GatewayTokenV0.ts index d1854e90b..49da7fe52 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/GatewayTokenV0.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/GatewayTokenV0.ts @@ -4,124 +4,43 @@ /* eslint-disable */ import type { BaseContract, - BigNumber, BigNumberish, BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, + Interface, EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; import type { - TypedEventFilter, - TypedEvent, + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, TypedListener, - OnEvent, - PromiseOrValue, + TypedContractMethod, } from "../../../common"; export type ChargeStruct = { - value: PromiseOrValue; - chargeType: PromiseOrValue; - token: PromiseOrValue; - recipient: PromiseOrValue; + value: BigNumberish; + chargeType: BigNumberish; + token: AddressLike; + recipient: AddressLike; }; -export type ChargeStructOutput = [BigNumber, number, string, string] & { - value: BigNumber; - chargeType: number; - token: string; - recipient: string; -}; - -export interface GatewayTokenV0Interface extends utils.Interface { - functions: { - "DAO_MANAGER_ROLE()": FunctionFragment; - "DEFAULT_ADMIN_ROLE()": FunctionFragment; - "GATEKEEPER_ROLE()": FunctionFragment; - "NETWORK_AUTHORITY_ROLE()": FunctionFragment; - "addForwarder(address)": FunctionFragment; - "addGatekeeper(address,uint256)": FunctionFragment; - "addNetworkAuthority(address,uint256)": FunctionFragment; - "allowance(uint256,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "approve(uint256,address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "balanceOf(uint256)": FunctionFragment; - "burn(uint256)": FunctionFragment; - "contractURI()": FunctionFragment; - "createNetwork(uint256,string,bool,address)": FunctionFragment; - "flagsStorage()": FunctionFragment; - "freeze(uint256)": FunctionFragment; - "getApproved(uint256)": FunctionFragment; - "getExpiration(uint256)": FunctionFragment; - "getNetwork(uint256)": FunctionFragment; - "getRoleAdmin(bytes32,uint256)": FunctionFragment; - "getToken(uint256)": FunctionFragment; - "getTokenBitmask(uint256)": FunctionFragment; - "getTokenIdsByOwnerAndNetwork(address,uint256)": FunctionFragment; - "grantRole(bytes32,uint256,address)": FunctionFragment; - "hasRole(bytes32,uint256,address)": FunctionFragment; - "initialize(string,string,address,address,address[])": FunctionFragment; - "isApprovedForAll(address,address)": FunctionFragment; - "isGatekeeper(address,uint256)": FunctionFragment; - "isNetworkAuthority(address,uint256)": FunctionFragment; - "isNetworkDAOGoverned(uint256)": FunctionFragment; - "isSuperAdmin(address)": FunctionFragment; - "isTrustedForwarder(address)": FunctionFragment; - "metadataDescriptor()": FunctionFragment; - "mint(address,uint256,uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "name()": FunctionFragment; - "ownerOf(uint256)": FunctionFragment; - "proxiableUUID()": FunctionFragment; - "removeForwarder(address)": FunctionFragment; - "removeGatekeeper(address,uint256)": FunctionFragment; - "removeNetworkAuthority(address,uint256)": FunctionFragment; - "renameNetwork(uint256,string)": FunctionFragment; - "renounceRole(bytes32,uint256,address)": FunctionFragment; - "revoke(uint256)": FunctionFragment; - "revokeRole(bytes32,uint256,address)": FunctionFragment; - "revokeSuperAdmin(address)": FunctionFragment; - "safeTransferFrom(address,address,uint256)": FunctionFragment; - "safeTransferFrom(address,address,uint256,bytes)": FunctionFragment; - "setApprovalForAll(address,bool)": FunctionFragment; - "setBitmask(uint256,uint256)": FunctionFragment; - "setExpiration(uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "setMetadataDescriptor(address)": FunctionFragment; - "setSuperAdmin(address)": FunctionFragment; - "slotOf(uint256)": FunctionFragment; - "slotURI(uint256)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "tokenByIndex(uint256)": FunctionFragment; - "tokenOfOwnerByIndex(address,uint256)": FunctionFragment; - "tokenURI(uint256)": FunctionFragment; - "totalSupply()": FunctionFragment; - "transferDAOManager(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferFrom(uint256,uint256,uint256)": FunctionFragment; - "transfersRestricted()": FunctionFragment; - "unfreeze(uint256)": FunctionFragment; - "updateFlagsStorage(address)": FunctionFragment; - "upgradeTo(address)": FunctionFragment; - "upgradeToAndCall(address,bytes)": FunctionFragment; - "valueDecimals()": FunctionFragment; - "verifyToken(address,uint256)": FunctionFragment; - "verifyToken(uint256)": FunctionFragment; - }; +export type ChargeStructOutput = [ + value: bigint, + chargeType: bigint, + token: string, + recipient: string +] & { value: bigint; chargeType: bigint; token: string; recipient: string }; +export interface GatewayTokenV0Interface extends Interface { getFunction( - nameOrSignatureOrTopic: + nameOrSignature: | "DAO_MANAGER_ROLE" | "DEFAULT_ADMIN_ROLE" | "GATEKEEPER_ROLE" @@ -197,6 +116,33 @@ export interface GatewayTokenV0Interface extends utils.Interface { | "verifyToken(uint256)" ): FunctionFragment; + getEvent( + nameOrSignatureOrTopic: + | "AdminChanged" + | "Approval" + | "ApprovalForAll" + | "ApprovalValue" + | "BeaconUpgraded" + | "BitMaskUpdated" + | "DAOManagerTransferred" + | "Expiration" + | "FlagsStorageUpdated" + | "Freeze" + | "Initialized" + | "Revoke" + | "RoleAdminChanged" + | "RoleGranted" + | "RoleRevoked" + | "SetMetadataDescriptor" + | "SlotChanged" + | "SuperAdminAdded" + | "SuperAdminRemoved" + | "Transfer" + | "TransferValue" + | "Unfreeze" + | "Upgraded" + ): EventFragment; + encodeFunctionData( functionFragment: "DAO_MANAGER_ROLE", values?: undefined @@ -215,56 +161,44 @@ export interface GatewayTokenV0Interface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "addForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "addGatekeeper", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "addNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "approve(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "balanceOf(address)", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "balanceOf(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "burn", - values: [PromiseOrValue] + values: [BigNumberish] ): string; + encodeFunctionData(functionFragment: "burn", values: [BigNumberish]): string; encodeFunctionData( functionFragment: "contractURI", values?: undefined ): string; encodeFunctionData( functionFragment: "createNetwork", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, string, boolean, AddressLike] ): string; encodeFunctionData( functionFragment: "flagsStorage", @@ -272,85 +206,71 @@ export interface GatewayTokenV0Interface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "freeze", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getApproved", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getExpiration", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getNetwork", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getRoleAdmin", - values: [PromiseOrValue, PromiseOrValue] + values: [BytesLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "getToken", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getTokenBitmask", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getTokenIdsByOwnerAndNetwork", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "grantRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "hasRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "initialize", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] + values: [string, string, AddressLike, AddressLike, AddressLike[]] ): string; encodeFunctionData( functionFragment: "isApprovedForAll", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, AddressLike] ): string; encodeFunctionData( functionFragment: "isGatekeeper", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "isNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "isNetworkDAOGoverned", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "isSuperAdmin", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "isTrustedForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "metadataDescriptor", @@ -359,17 +279,17 @@ export interface GatewayTokenV0Interface extends utils.Interface { encodeFunctionData( functionFragment: "mint", values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, + AddressLike, + BigNumberish, + BigNumberish, + BigNumberish, ChargeStruct ] ): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData( functionFragment: "ownerOf", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "proxiableUUID", @@ -377,109 +297,88 @@ export interface GatewayTokenV0Interface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "removeForwarder", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "removeGatekeeper", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "removeNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "renameNetwork", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, string] ): string; encodeFunctionData( functionFragment: "renounceRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "revoke", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "revokeRole", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BytesLike, BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "revokeSuperAdmin", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "safeTransferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "safeTransferFrom(address,address,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish, BytesLike] ): string; encodeFunctionData( functionFragment: "setApprovalForAll", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, boolean] ): string; encodeFunctionData( functionFragment: "setBitmask", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "setExpiration", - values: [ - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] + values: [BigNumberish, BigNumberish, ChargeStruct] ): string; encodeFunctionData( functionFragment: "setMetadataDescriptor", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "setSuperAdmin", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "slotOf", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "slotURI", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "supportsInterface", - values: [PromiseOrValue] + values: [BytesLike] ): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData( functionFragment: "tokenByIndex", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "tokenOfOwnerByIndex", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "tokenURI", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "totalSupply", @@ -487,35 +386,19 @@ export interface GatewayTokenV0Interface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "transferDAOManager", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom(uint256,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom(uint256,uint256,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "transfersRestricted", @@ -523,19 +406,19 @@ export interface GatewayTokenV0Interface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "unfreeze", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "updateFlagsStorage", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "upgradeTo", - values: [PromiseOrValue] + values: [AddressLike] ): string; encodeFunctionData( functionFragment: "upgradeToAndCall", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BytesLike] ): string; encodeFunctionData( functionFragment: "valueDecimals", @@ -543,11 +426,11 @@ export interface GatewayTokenV0Interface extends utils.Interface { ): string; encodeFunctionData( functionFragment: "verifyToken(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "verifyToken(uint256)", - values: [PromiseOrValue] + values: [BigNumberish] ): string; decodeFunctionResult( @@ -782,2466 +665,1623 @@ export interface GatewayTokenV0Interface extends utils.Interface { functionFragment: "verifyToken(uint256)", data: BytesLike ): Result; +} - events: { - "AdminChanged(address,address)": EventFragment; - "Approval(address,address,uint256)": EventFragment; - "ApprovalForAll(address,address,bool)": EventFragment; - "ApprovalValue(uint256,address,uint256)": EventFragment; - "BeaconUpgraded(address)": EventFragment; - "BitMaskUpdated(uint256,uint256)": EventFragment; - "DAOManagerTransferred(address,address,uint256)": EventFragment; - "Expiration(uint256,uint256)": EventFragment; - "FlagsStorageUpdated(address)": EventFragment; - "Freeze(uint256)": EventFragment; - "Initialized(uint8)": EventFragment; - "Revoke(uint256)": EventFragment; - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)": EventFragment; - "RoleGranted(bytes32,uint256,address,address)": EventFragment; - "RoleRevoked(bytes32,uint256,address,address)": EventFragment; - "SetMetadataDescriptor(address)": EventFragment; - "SlotChanged(uint256,uint256,uint256)": EventFragment; - "SuperAdminAdded(address)": EventFragment; - "SuperAdminRemoved(address)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "TransferValue(uint256,uint256,uint256)": EventFragment; - "Unfreeze(uint256)": EventFragment; - "Upgraded(address)": EventFragment; - }; +export namespace AdminChangedEvent { + export type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike]; + export type OutputTuple = [previousAdmin: string, newAdmin: string]; + export interface OutputObject { + previousAdmin: string; + newAdmin: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} - getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApprovalValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BitMaskUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DAOManagerTransferred"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Expiration"): EventFragment; - getEvent(nameOrSignatureOrTopic: "FlagsStorageUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Freeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Revoke"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SetMetadataDescriptor"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SlotChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminAdded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SuperAdminRemoved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TransferValue"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Unfreeze"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment; +export namespace ApprovalEvent { + export type InputTuple = [ + _owner: AddressLike, + _approved: AddressLike, + _tokenId: BigNumberish + ]; + export type OutputTuple = [ + _owner: string, + _approved: string, + _tokenId: bigint + ]; + export interface OutputObject { + _owner: string; + _approved: string; + _tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export interface AdminChangedEventObject { - previousAdmin: string; - newAdmin: string; +export namespace ApprovalForAllEvent { + export type InputTuple = [ + _owner: AddressLike, + _operator: AddressLike, + _approved: boolean + ]; + export type OutputTuple = [ + _owner: string, + _operator: string, + _approved: boolean + ]; + export interface OutputObject { + _owner: string; + _operator: string; + _approved: boolean; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type AdminChangedEvent = TypedEvent< - [string, string], - AdminChangedEventObject ->; -export type AdminChangedEventFilter = TypedEventFilter; +export namespace ApprovalValueEvent { + export type InputTuple = [ + _tokenId: BigNumberish, + _operator: AddressLike, + _value: BigNumberish + ]; + export type OutputTuple = [ + _tokenId: bigint, + _operator: string, + _value: bigint + ]; + export interface OutputObject { + _tokenId: bigint; + _operator: string; + _value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ApprovalEventObject { - _owner: string; - _approved: string; - _tokenId: BigNumber; +export namespace BeaconUpgradedEvent { + export type InputTuple = [beacon: AddressLike]; + export type OutputTuple = [beacon: string]; + export interface OutputObject { + beacon: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; -export type ApprovalEventFilter = TypedEventFilter; +export namespace BitMaskUpdatedEvent { + export type InputTuple = [tokenId: BigNumberish, bitmask: BigNumberish]; + export type OutputTuple = [tokenId: bigint, bitmask: bigint]; + export interface OutputObject { + tokenId: bigint; + bitmask: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ApprovalForAllEventObject { - _owner: string; - _operator: string; - _approved: boolean; +export namespace DAOManagerTransferredEvent { + export type InputTuple = [ + previousDAOManager: AddressLike, + newDAOManager: AddressLike, + network: BigNumberish + ]; + export type OutputTuple = [ + previousDAOManager: string, + newDAOManager: string, + network: bigint + ]; + export interface OutputObject { + previousDAOManager: string; + newDAOManager: string; + network: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ApprovalForAllEvent = TypedEvent< - [string, string, boolean], - ApprovalForAllEventObject ->; -export type ApprovalForAllEventFilter = TypedEventFilter; +export namespace ExpirationEvent { + export type InputTuple = [tokenId: BigNumberish, timestamp: BigNumberish]; + export type OutputTuple = [tokenId: bigint, timestamp: bigint]; + export interface OutputObject { + tokenId: bigint; + timestamp: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ApprovalValueEventObject { - _tokenId: BigNumber; - _operator: string; - _value: BigNumber; +export namespace FlagsStorageUpdatedEvent { + export type InputTuple = [flagsStorage: AddressLike]; + export type OutputTuple = [flagsStorage: string]; + export interface OutputObject { + flagsStorage: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ApprovalValueEvent = TypedEvent< - [BigNumber, string, BigNumber], - ApprovalValueEventObject ->; -export type ApprovalValueEventFilter = TypedEventFilter; +export namespace FreezeEvent { + export type InputTuple = [tokenId: BigNumberish]; + export type OutputTuple = [tokenId: bigint]; + export interface OutputObject { + tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface BeaconUpgradedEventObject { - beacon: string; +export namespace InitializedEvent { + export type InputTuple = [version: BigNumberish]; + export type OutputTuple = [version: bigint]; + export interface OutputObject { + version: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type BeaconUpgradedEvent = TypedEvent< - [string], - BeaconUpgradedEventObject ->; -export type BeaconUpgradedEventFilter = TypedEventFilter; +export namespace RevokeEvent { + export type InputTuple = [tokenId: BigNumberish]; + export type OutputTuple = [tokenId: bigint]; + export interface OutputObject { + tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface BitMaskUpdatedEventObject { - tokenId: BigNumber; - bitmask: BigNumber; +export namespace RoleAdminChangedEvent { + export type InputTuple = [ + role: BytesLike, + domain: BigNumberish, + previousAdminRole: BytesLike, + newAdminRole: BytesLike + ]; + export type OutputTuple = [ + role: string, + domain: bigint, + previousAdminRole: string, + newAdminRole: string + ]; + export interface OutputObject { + role: string; + domain: bigint; + previousAdminRole: string; + newAdminRole: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type BitMaskUpdatedEvent = TypedEvent< - [BigNumber, BigNumber], - BitMaskUpdatedEventObject ->; -export type BitMaskUpdatedEventFilter = TypedEventFilter; +export namespace RoleGrantedEvent { + export type InputTuple = [ + role: BytesLike, + domain: BigNumberish, + account: AddressLike, + sender: AddressLike + ]; + export type OutputTuple = [ + role: string, + domain: bigint, + account: string, + sender: string + ]; + export interface OutputObject { + role: string; + domain: bigint; + account: string; + sender: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface DAOManagerTransferredEventObject { - previousDAOManager: string; - newDAOManager: string; - network: BigNumber; +export namespace RoleRevokedEvent { + export type InputTuple = [ + role: BytesLike, + domain: BigNumberish, + account: AddressLike, + sender: AddressLike + ]; + export type OutputTuple = [ + role: string, + domain: bigint, + account: string, + sender: string + ]; + export interface OutputObject { + role: string; + domain: bigint; + account: string; + sender: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type DAOManagerTransferredEvent = TypedEvent< - [string, string, BigNumber], - DAOManagerTransferredEventObject ->; -export type DAOManagerTransferredEventFilter = - TypedEventFilter; +export namespace SetMetadataDescriptorEvent { + export type InputTuple = [metadataDescriptor: AddressLike]; + export type OutputTuple = [metadataDescriptor: string]; + export interface OutputObject { + metadataDescriptor: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface ExpirationEventObject { - tokenId: BigNumber; - timestamp: BigNumber; +export namespace SlotChangedEvent { + export type InputTuple = [ + _tokenId: BigNumberish, + _oldSlot: BigNumberish, + _newSlot: BigNumberish + ]; + export type OutputTuple = [ + _tokenId: bigint, + _oldSlot: bigint, + _newSlot: bigint + ]; + export interface OutputObject { + _tokenId: bigint; + _oldSlot: bigint; + _newSlot: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ExpirationEvent = TypedEvent< - [BigNumber, BigNumber], - ExpirationEventObject ->; -export type ExpirationEventFilter = TypedEventFilter; +export namespace SuperAdminAddedEvent { + export type InputTuple = [account: AddressLike]; + export type OutputTuple = [account: string]; + export interface OutputObject { + account: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface FlagsStorageUpdatedEventObject { - flagsStorage: string; +export namespace SuperAdminRemovedEvent { + export type InputTuple = [account: AddressLike]; + export type OutputTuple = [account: string]; + export interface OutputObject { + account: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type FlagsStorageUpdatedEvent = TypedEvent< - [string], - FlagsStorageUpdatedEventObject ->; -export type FlagsStorageUpdatedEventFilter = - TypedEventFilter; +export namespace TransferEvent { + export type InputTuple = [ + _from: AddressLike, + _to: AddressLike, + _tokenId: BigNumberish + ]; + export type OutputTuple = [_from: string, _to: string, _tokenId: bigint]; + export interface OutputObject { + _from: string; + _to: string; + _tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface FreezeEventObject { - tokenId: BigNumber; +export namespace TransferValueEvent { + export type InputTuple = [ + _fromTokenId: BigNumberish, + _toTokenId: BigNumberish, + _value: BigNumberish + ]; + export type OutputTuple = [ + _fromTokenId: bigint, + _toTokenId: bigint, + _value: bigint + ]; + export interface OutputObject { + _fromTokenId: bigint; + _toTokenId: bigint; + _value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type FreezeEvent = TypedEvent<[BigNumber], FreezeEventObject>; -export type FreezeEventFilter = TypedEventFilter; +export namespace UnfreezeEvent { + export type InputTuple = [tokenId: BigNumberish]; + export type OutputTuple = [tokenId: bigint]; + export interface OutputObject { + tokenId: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} -export interface InitializedEventObject { - version: number; +export namespace UpgradedEvent { + export type InputTuple = [implementation: AddressLike]; + export type OutputTuple = [implementation: string]; + export interface OutputObject { + implementation: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; -export type InitializedEventFilter = TypedEventFilter; +export interface GatewayTokenV0 extends BaseContract { + connect(runner?: ContractRunner | null): GatewayTokenV0; + waitForDeployment(): Promise; -export interface RevokeEventObject { - tokenId: BigNumber; -} -export type RevokeEvent = TypedEvent<[BigNumber], RevokeEventObject>; + interface: GatewayTokenV0Interface; -export type RevokeEventFilter = TypedEventFilter; + queryFilter( + event: TCEvent, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + DAO_MANAGER_ROLE: TypedContractMethod<[], [string], "view">; + + DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">; + + GATEKEEPER_ROLE: TypedContractMethod<[], [string], "view">; + + NETWORK_AUTHORITY_ROLE: TypedContractMethod<[], [string], "view">; + + addForwarder: TypedContractMethod< + [forwarder: AddressLike], + [void], + "nonpayable" + >; -export interface RoleAdminChangedEventObject { - role: string; - domain: BigNumber; - previousAdminRole: string; - newAdminRole: string; -} -export type RoleAdminChangedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleAdminChangedEventObject ->; - -export type RoleAdminChangedEventFilter = - TypedEventFilter; - -export interface RoleGrantedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleGrantedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleGrantedEventObject ->; - -export type RoleGrantedEventFilter = TypedEventFilter; - -export interface RoleRevokedEventObject { - role: string; - domain: BigNumber; - account: string; - sender: string; -} -export type RoleRevokedEvent = TypedEvent< - [string, BigNumber, string, string], - RoleRevokedEventObject ->; + addGatekeeper: TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; -export type RoleRevokedEventFilter = TypedEventFilter; + addNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; -export interface SetMetadataDescriptorEventObject { - metadataDescriptor: string; -} -export type SetMetadataDescriptorEvent = TypedEvent< - [string], - SetMetadataDescriptorEventObject ->; - -export type SetMetadataDescriptorEventFilter = - TypedEventFilter; - -export interface SlotChangedEventObject { - _tokenId: BigNumber; - _oldSlot: BigNumber; - _newSlot: BigNumber; -} -export type SlotChangedEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - SlotChangedEventObject ->; + allowance: TypedContractMethod< + [tokenId_: BigNumberish, operator_: AddressLike], + [bigint], + "view" + >; -export type SlotChangedEventFilter = TypedEventFilter; + "approve(address,uint256)": TypedContractMethod< + [arg0: AddressLike, arg1: BigNumberish], + [void], + "payable" + >; -export interface SuperAdminAddedEventObject { - account: string; -} -export type SuperAdminAddedEvent = TypedEvent< - [string], - SuperAdminAddedEventObject ->; + "approve(uint256,address,uint256)": TypedContractMethod< + [arg0: BigNumberish, arg1: AddressLike, arg2: BigNumberish], + [void], + "payable" + >; -export type SuperAdminAddedEventFilter = TypedEventFilter; + "balanceOf(address)": TypedContractMethod< + [owner_: AddressLike], + [bigint], + "view" + >; -export interface SuperAdminRemovedEventObject { - account: string; -} -export type SuperAdminRemovedEvent = TypedEvent< - [string], - SuperAdminRemovedEventObject ->; - -export type SuperAdminRemovedEventFilter = - TypedEventFilter; - -export interface TransferEventObject { - _from: string; - _to: string; - _tokenId: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; + "balanceOf(uint256)": TypedContractMethod< + [tokenId_: BigNumberish], + [bigint], + "view" + >; -export type TransferEventFilter = TypedEventFilter; + burn: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; -export interface TransferValueEventObject { - _fromTokenId: BigNumber; - _toTokenId: BigNumber; - _value: BigNumber; -} -export type TransferValueEvent = TypedEvent< - [BigNumber, BigNumber, BigNumber], - TransferValueEventObject ->; + contractURI: TypedContractMethod<[], [string], "view">; -export type TransferValueEventFilter = TypedEventFilter; + createNetwork: TypedContractMethod< + [ + network: BigNumberish, + name: string, + daoGoverned: boolean, + daoManager: AddressLike + ], + [void], + "nonpayable" + >; -export interface UnfreezeEventObject { - tokenId: BigNumber; -} -export type UnfreezeEvent = TypedEvent<[BigNumber], UnfreezeEventObject>; + flagsStorage: TypedContractMethod<[], [string], "view">; -export type UnfreezeEventFilter = TypedEventFilter; + freeze: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; -export interface UpgradedEventObject { - implementation: string; -} -export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>; + getApproved: TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; -export type UpgradedEventFilter = TypedEventFilter; + getExpiration: TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; -export interface GatewayTokenV0 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + getNetwork: TypedContractMethod<[network: BigNumberish], [string], "view">; - interface: GatewayTokenV0Interface; + getRoleAdmin: TypedContractMethod< + [role: BytesLike, domain: BigNumberish], + [string], + "view" + >; - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise<[string]>; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise<[string]>; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { balance: BigNumber }>; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise<[string]>; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise<[string]>; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { + getToken: TypedContractMethod< + [tokenId: BigNumberish], + [ + [string, bigint, string, bigint, bigint] & { owner: string; - state: number; + state: bigint; identity: string; - expiration: BigNumber; - bitmask: BigNumber; + expiration: bigint; + bitmask: bigint; } - >; + ], + "view" + >; - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber[]]>; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - metadataDescriptor(overrides?: CallOverrides): Promise<[string]>; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { owner_: string }>; - - proxiableUUID(overrides?: CallOverrides): Promise<[string]>; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise<[boolean]>; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise<[number]>; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; + getTokenBitmask: TypedContractMethod< + [tokenId: BigNumberish], + [bigint], + "view" + >; - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } - >; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { + getTokenIdsByOwnerAndNetwork: TypedContractMethod< + [owner: AddressLike, network: BigNumberish], + [bigint[]], + "view" + >; + + grantRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + + hasRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [boolean], + "view" + >; + + initialize: TypedContractMethod< + [ + _name: string, + _symbol: string, + _superAdmin: AddressLike, + _flagsStorage: AddressLike, + _trustedForwarders: AddressLike[] + ], + [void], + "nonpayable" + >; + + isApprovedForAll: TypedContractMethod< + [owner_: AddressLike, operator_: AddressLike], + [boolean], + "view" + >; + + isGatekeeper: TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + + isNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + + isNetworkDAOGoverned: TypedContractMethod< + [arg0: BigNumberish], + [boolean], + "view" + >; + + isSuperAdmin: TypedContractMethod<[account: AddressLike], [boolean], "view">; + + isTrustedForwarder: TypedContractMethod< + [forwarder: AddressLike], + [boolean], + "view" + >; + + metadataDescriptor: TypedContractMethod<[], [string], "view">; + + mint: TypedContractMethod< + [ + to: AddressLike, + network: BigNumberish, + expiration: BigNumberish, + mask: BigNumberish, + arg4: ChargeStruct + ], + [void], + "nonpayable" + >; + + name: TypedContractMethod<[], [string], "view">; + + ownerOf: TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + + proxiableUUID: TypedContractMethod<[], [string], "view">; + + removeForwarder: TypedContractMethod< + [forwarder: AddressLike], + [void], + "nonpayable" + >; + + removeGatekeeper: TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + + removeNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + + renameNetwork: TypedContractMethod< + [network: BigNumberish, name: string], + [void], + "nonpayable" + >; + + renounceRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + + revoke: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + + revokeRole: TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + + revokeSuperAdmin: TypedContractMethod< + [account: AddressLike], + [void], + "nonpayable" + >; + + "safeTransferFrom(address,address,uint256)": TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + + "safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod< + [ + from_: AddressLike, + to_: AddressLike, + tokenId_: BigNumberish, + data_: BytesLike + ], + [void], + "payable" + >; + + setApprovalForAll: TypedContractMethod< + [operator_: AddressLike, approved_: boolean], + [void], + "nonpayable" + >; + + setBitmask: TypedContractMethod< + [tokenId: BigNumberish, mask: BigNumberish], + [void], + "nonpayable" + >; + + setExpiration: TypedContractMethod< + [tokenId: BigNumberish, timestamp: BigNumberish, arg2: ChargeStruct], + [void], + "nonpayable" + >; + + setMetadataDescriptor: TypedContractMethod< + [_metadataDescriptor: AddressLike], + [void], + "nonpayable" + >; + + setSuperAdmin: TypedContractMethod< + [account: AddressLike], + [void], + "nonpayable" + >; + + slotOf: TypedContractMethod<[tokenId_: BigNumberish], [bigint], "view">; + + slotURI: TypedContractMethod<[slot_: BigNumberish], [string], "view">; + + supportsInterface: TypedContractMethod< + [interfaceId: BytesLike], + [boolean], + "view" + >; + + symbol: TypedContractMethod<[], [string], "view">; + + tokenByIndex: TypedContractMethod<[index_: BigNumberish], [bigint], "view">; + + tokenOfOwnerByIndex: TypedContractMethod< + [owner_: AddressLike, index_: BigNumberish], + [bigint], + "view" + >; + + tokenURI: TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + + totalSupply: TypedContractMethod<[], [bigint], "view">; + + transferDAOManager: TypedContractMethod< + [ + previousManager: AddressLike, + newManager: AddressLike, + network: BigNumberish + ], + [void], + "nonpayable" + >; + + "transferFrom(uint256,address,uint256)": TypedContractMethod< + [fromTokenId_: BigNumberish, to_: AddressLike, value_: BigNumberish], + [bigint], + "payable" + >; + + "transferFrom(address,address,uint256)": TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + + "transferFrom(uint256,uint256,uint256)": TypedContractMethod< + [ + fromTokenId_: BigNumberish, + toTokenId_: BigNumberish, + value_: BigNumberish + ], + [void], + "payable" + >; + + transfersRestricted: TypedContractMethod<[], [boolean], "view">; + + unfreeze: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + + updateFlagsStorage: TypedContractMethod< + [flagsStorage: AddressLike], + [void], + "nonpayable" + >; + + upgradeTo: TypedContractMethod< + [newImplementation: AddressLike], + [void], + "nonpayable" + >; + + upgradeToAndCall: TypedContractMethod< + [newImplementation: AddressLike, data: BytesLike], + [void], + "payable" + >; + + valueDecimals: TypedContractMethod<[], [bigint], "view">; + + "verifyToken(address,uint256)": TypedContractMethod< + [owner: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + + "verifyToken(uint256)": TypedContractMethod< + [tokenId: BigNumberish], + [boolean], + "view" + >; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "DAO_MANAGER_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "DEFAULT_ADMIN_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "GATEKEEPER_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "NETWORK_AUTHORITY_ROLE" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "addForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "addGatekeeper" + ): TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "addNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "allowance" + ): TypedContractMethod< + [tokenId_: BigNumberish, operator_: AddressLike], + [bigint], + "view" + >; + getFunction( + nameOrSignature: "approve(address,uint256)" + ): TypedContractMethod< + [arg0: AddressLike, arg1: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "approve(uint256,address,uint256)" + ): TypedContractMethod< + [arg0: BigNumberish, arg1: AddressLike, arg2: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "balanceOf(address)" + ): TypedContractMethod<[owner_: AddressLike], [bigint], "view">; + getFunction( + nameOrSignature: "balanceOf(uint256)" + ): TypedContractMethod<[tokenId_: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "burn" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "contractURI" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "createNetwork" + ): TypedContractMethod< + [ + network: BigNumberish, + name: string, + daoGoverned: boolean, + daoManager: AddressLike + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "flagsStorage" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "freeze" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "getApproved" + ): TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "getExpiration" + ): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "getNetwork" + ): TypedContractMethod<[network: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "getRoleAdmin" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish], + [string], + "view" + >; + getFunction( + nameOrSignature: "getToken" + ): TypedContractMethod< + [tokenId: BigNumberish], + [ + [string, bigint, string, bigint, bigint] & { owner: string; - state: number; + state: bigint; identity: string; - expiration: BigNumber; - bitmask: BigNumber; + expiration: bigint; + bitmask: bigint; } + ], + "view" + >; + getFunction( + nameOrSignature: "getTokenBitmask" + ): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "getTokenIdsByOwnerAndNetwork" + ): TypedContractMethod< + [owner: AddressLike, network: BigNumberish], + [bigint[]], + "view" + >; + getFunction( + nameOrSignature: "grantRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "hasRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "initialize" + ): TypedContractMethod< + [ + _name: string, + _symbol: string, + _superAdmin: AddressLike, + _flagsStorage: AddressLike, + _trustedForwarders: AddressLike[] + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "isApprovedForAll" + ): TypedContractMethod< + [owner_: AddressLike, operator_: AddressLike], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "isGatekeeper" + ): TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "isNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "isNetworkDAOGoverned" + ): TypedContractMethod<[arg0: BigNumberish], [boolean], "view">; + getFunction( + nameOrSignature: "isSuperAdmin" + ): TypedContractMethod<[account: AddressLike], [boolean], "view">; + getFunction( + nameOrSignature: "isTrustedForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [boolean], "view">; + getFunction( + nameOrSignature: "metadataDescriptor" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "mint" + ): TypedContractMethod< + [ + to: AddressLike, + network: BigNumberish, + expiration: BigNumberish, + mask: BigNumberish, + arg4: ChargeStruct + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "name" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "ownerOf" + ): TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "proxiableUUID" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "removeForwarder" + ): TypedContractMethod<[forwarder: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "removeGatekeeper" + ): TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "removeNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "renameNetwork" + ): TypedContractMethod< + [network: BigNumberish, name: string], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "renounceRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "revoke" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "revokeRole" + ): TypedContractMethod< + [role: BytesLike, domain: BigNumberish, account: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "revokeSuperAdmin" + ): TypedContractMethod<[account: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "safeTransferFrom(address,address,uint256)" + ): TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)" + ): TypedContractMethod< + [ + from_: AddressLike, + to_: AddressLike, + tokenId_: BigNumberish, + data_: BytesLike + ], + [void], + "payable" + >; + getFunction( + nameOrSignature: "setApprovalForAll" + ): TypedContractMethod< + [operator_: AddressLike, approved_: boolean], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setBitmask" + ): TypedContractMethod< + [tokenId: BigNumberish, mask: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setExpiration" + ): TypedContractMethod< + [tokenId: BigNumberish, timestamp: BigNumberish, arg2: ChargeStruct], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setMetadataDescriptor" + ): TypedContractMethod< + [_metadataDescriptor: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setSuperAdmin" + ): TypedContractMethod<[account: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "slotOf" + ): TypedContractMethod<[tokenId_: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "slotURI" + ): TypedContractMethod<[slot_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "supportsInterface" + ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; + getFunction( + nameOrSignature: "symbol" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "tokenByIndex" + ): TypedContractMethod<[index_: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "tokenOfOwnerByIndex" + ): TypedContractMethod< + [owner_: AddressLike, index_: BigNumberish], + [bigint], + "view" + >; + getFunction( + nameOrSignature: "tokenURI" + ): TypedContractMethod<[tokenId_: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "totalSupply" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "transferDAOManager" + ): TypedContractMethod< + [ + previousManager: AddressLike, + newManager: AddressLike, + network: BigNumberish + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "transferFrom(uint256,address,uint256)" + ): TypedContractMethod< + [fromTokenId_: BigNumberish, to_: AddressLike, value_: BigNumberish], + [bigint], + "payable" + >; + getFunction( + nameOrSignature: "transferFrom(address,address,uint256)" + ): TypedContractMethod< + [from_: AddressLike, to_: AddressLike, tokenId_: BigNumberish], + [void], + "payable" + >; + getFunction( + nameOrSignature: "transferFrom(uint256,uint256,uint256)" + ): TypedContractMethod< + [ + fromTokenId_: BigNumberish, + toTokenId_: BigNumberish, + value_: BigNumberish + ], + [void], + "payable" + >; + getFunction( + nameOrSignature: "transfersRestricted" + ): TypedContractMethod<[], [boolean], "view">; + getFunction( + nameOrSignature: "unfreeze" + ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "updateFlagsStorage" + ): TypedContractMethod<[flagsStorage: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "upgradeTo" + ): TypedContractMethod< + [newImplementation: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "upgradeToAndCall" + ): TypedContractMethod< + [newImplementation: AddressLike, data: BytesLike], + [void], + "payable" + >; + getFunction( + nameOrSignature: "valueDecimals" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "verifyToken(address,uint256)" + ): TypedContractMethod< + [owner: AddressLike, network: BigNumberish], + [boolean], + "view" + >; + getFunction( + nameOrSignature: "verifyToken(uint256)" + ): TypedContractMethod<[tokenId: BigNumberish], [boolean], "view">; + + getEvent( + key: "AdminChanged" + ): TypedContractEvent< + AdminChangedEvent.InputTuple, + AdminChangedEvent.OutputTuple, + AdminChangedEvent.OutputObject + >; + getEvent( + key: "Approval" + ): TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + getEvent( + key: "ApprovalForAll" + ): TypedContractEvent< + ApprovalForAllEvent.InputTuple, + ApprovalForAllEvent.OutputTuple, + ApprovalForAllEvent.OutputObject + >; + getEvent( + key: "ApprovalValue" + ): TypedContractEvent< + ApprovalValueEvent.InputTuple, + ApprovalValueEvent.OutputTuple, + ApprovalValueEvent.OutputObject + >; + getEvent( + key: "BeaconUpgraded" + ): TypedContractEvent< + BeaconUpgradedEvent.InputTuple, + BeaconUpgradedEvent.OutputTuple, + BeaconUpgradedEvent.OutputObject + >; + getEvent( + key: "BitMaskUpdated" + ): TypedContractEvent< + BitMaskUpdatedEvent.InputTuple, + BitMaskUpdatedEvent.OutputTuple, + BitMaskUpdatedEvent.OutputObject + >; + getEvent( + key: "DAOManagerTransferred" + ): TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; + getEvent( + key: "Expiration" + ): TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; + getEvent( + key: "FlagsStorageUpdated" + ): TypedContractEvent< + FlagsStorageUpdatedEvent.InputTuple, + FlagsStorageUpdatedEvent.OutputTuple, + FlagsStorageUpdatedEvent.OutputObject + >; + getEvent( + key: "Freeze" + ): TypedContractEvent< + FreezeEvent.InputTuple, + FreezeEvent.OutputTuple, + FreezeEvent.OutputObject + >; + getEvent( + key: "Initialized" + ): TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + getEvent( + key: "Revoke" + ): TypedContractEvent< + RevokeEvent.InputTuple, + RevokeEvent.OutputTuple, + RevokeEvent.OutputObject + >; + getEvent( + key: "RoleAdminChanged" + ): TypedContractEvent< + RoleAdminChangedEvent.InputTuple, + RoleAdminChangedEvent.OutputTuple, + RoleAdminChangedEvent.OutputObject + >; + getEvent( + key: "RoleGranted" + ): TypedContractEvent< + RoleGrantedEvent.InputTuple, + RoleGrantedEvent.OutputTuple, + RoleGrantedEvent.OutputObject + >; + getEvent( + key: "RoleRevoked" + ): TypedContractEvent< + RoleRevokedEvent.InputTuple, + RoleRevokedEvent.OutputTuple, + RoleRevokedEvent.OutputObject + >; + getEvent( + key: "SetMetadataDescriptor" + ): TypedContractEvent< + SetMetadataDescriptorEvent.InputTuple, + SetMetadataDescriptorEvent.OutputTuple, + SetMetadataDescriptorEvent.OutputObject + >; + getEvent( + key: "SlotChanged" + ): TypedContractEvent< + SlotChangedEvent.InputTuple, + SlotChangedEvent.OutputTuple, + SlotChangedEvent.OutputObject + >; + getEvent( + key: "SuperAdminAdded" + ): TypedContractEvent< + SuperAdminAddedEvent.InputTuple, + SuperAdminAddedEvent.OutputTuple, + SuperAdminAddedEvent.OutputObject + >; + getEvent( + key: "SuperAdminRemoved" + ): TypedContractEvent< + SuperAdminRemovedEvent.InputTuple, + SuperAdminRemovedEvent.OutputTuple, + SuperAdminRemovedEvent.OutputObject + >; + getEvent( + key: "Transfer" + ): TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + getEvent( + key: "TransferValue" + ): TypedContractEvent< + TransferValueEvent.InputTuple, + TransferValueEvent.OutputTuple, + TransferValueEvent.OutputObject + >; + getEvent( + key: "Unfreeze" + ): TypedContractEvent< + UnfreezeEvent.InputTuple, + UnfreezeEvent.OutputTuple, + UnfreezeEvent.OutputObject + >; + getEvent( + key: "Upgraded" + ): TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; + + filters: { + "AdminChanged(address,address)": TypedContractEvent< + AdminChangedEvent.InputTuple, + AdminChangedEvent.OutputTuple, + AdminChangedEvent.OutputObject + >; + AdminChanged: TypedContractEvent< + AdminChangedEvent.InputTuple, + AdminChangedEvent.OutputTuple, + AdminChangedEvent.OutputObject >; - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; + "Approval(address,address,uint256)": TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + Approval: TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; - filters: { - "AdminChanged(address,address)"( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - AdminChanged( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - - "Approval(address,address,uint256)"( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - Approval( - _owner?: PromiseOrValue | null, - _approved?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): ApprovalEventFilter; - - "ApprovalForAll(address,address,bool)"( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - ApprovalForAll( - _owner?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _approved?: null - ): ApprovalForAllEventFilter; - - "ApprovalValue(uint256,address,uint256)"( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - ApprovalValue( - _tokenId?: PromiseOrValue | null, - _operator?: PromiseOrValue | null, - _value?: null - ): ApprovalValueEventFilter; - - "BeaconUpgraded(address)"( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - BeaconUpgraded( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - - "BitMaskUpdated(uint256,uint256)"( - tokenId?: null, - bitmask?: null - ): BitMaskUpdatedEventFilter; - BitMaskUpdated(tokenId?: null, bitmask?: null): BitMaskUpdatedEventFilter; - - "DAOManagerTransferred(address,address,uint256)"( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - DAOManagerTransferred( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - - "Expiration(uint256,uint256)"( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - Expiration( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - - "FlagsStorageUpdated(address)"( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - FlagsStorageUpdated( - flagsStorage?: PromiseOrValue | null - ): FlagsStorageUpdatedEventFilter; - - "Freeze(uint256)"( - tokenId?: PromiseOrValue | null - ): FreezeEventFilter; - Freeze(tokenId?: PromiseOrValue | null): FreezeEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Revoke(uint256)"( - tokenId?: PromiseOrValue | null - ): RevokeEventFilter; - Revoke(tokenId?: PromiseOrValue | null): RevokeEventFilter; - - "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)"( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - RoleAdminChanged( - role?: PromiseOrValue | null, - domain?: null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - - "RoleGranted(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - RoleGranted( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - - "RoleRevoked(bytes32,uint256,address,address)"( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - RoleRevoked( - role?: PromiseOrValue | null, - domain?: null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - - "SetMetadataDescriptor(address)"( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - SetMetadataDescriptor( - metadataDescriptor?: PromiseOrValue | null - ): SetMetadataDescriptorEventFilter; - - "SlotChanged(uint256,uint256,uint256)"( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - SlotChanged( - _tokenId?: PromiseOrValue | null, - _oldSlot?: PromiseOrValue | null, - _newSlot?: PromiseOrValue | null - ): SlotChangedEventFilter; - - "SuperAdminAdded(address)"( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - SuperAdminAdded( - account?: PromiseOrValue | null - ): SuperAdminAddedEventFilter; - - "SuperAdminRemoved(address)"( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - SuperAdminRemoved( - account?: PromiseOrValue | null - ): SuperAdminRemovedEventFilter; - - "Transfer(address,address,uint256)"( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - Transfer( - _from?: PromiseOrValue | null, - _to?: PromiseOrValue | null, - _tokenId?: PromiseOrValue | null - ): TransferEventFilter; - - "TransferValue(uint256,uint256,uint256)"( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - TransferValue( - _fromTokenId?: PromiseOrValue | null, - _toTokenId?: PromiseOrValue | null, - _value?: null - ): TransferValueEventFilter; - - "Unfreeze(uint256)"( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - Unfreeze( - tokenId?: PromiseOrValue | null - ): UnfreezeEventFilter; - - "Upgraded(address)"( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - Upgraded( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - }; + "ApprovalForAll(address,address,bool)": TypedContractEvent< + ApprovalForAllEvent.InputTuple, + ApprovalForAllEvent.OutputTuple, + ApprovalForAllEvent.OutputObject + >; + ApprovalForAll: TypedContractEvent< + ApprovalForAllEvent.InputTuple, + ApprovalForAllEvent.OutputTuple, + ApprovalForAllEvent.OutputObject + >; - estimateGas: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE(overrides?: CallOverrides): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor(overrides?: CallOverrides): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted(overrides?: CallOverrides): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; + "ApprovalValue(uint256,address,uint256)": TypedContractEvent< + ApprovalValueEvent.InputTuple, + ApprovalValueEvent.OutputTuple, + ApprovalValueEvent.OutputObject + >; + ApprovalValue: TypedContractEvent< + ApprovalValueEvent.InputTuple, + ApprovalValueEvent.OutputTuple, + ApprovalValueEvent.OutputObject + >; + + "BeaconUpgraded(address)": TypedContractEvent< + BeaconUpgradedEvent.InputTuple, + BeaconUpgradedEvent.OutputTuple, + BeaconUpgradedEvent.OutputObject + >; + BeaconUpgraded: TypedContractEvent< + BeaconUpgradedEvent.InputTuple, + BeaconUpgradedEvent.OutputTuple, + BeaconUpgradedEvent.OutputObject + >; - populateTransaction: { - DAO_MANAGER_ROLE(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE( - overrides?: CallOverrides - ): Promise; - - GATEKEEPER_ROLE(overrides?: CallOverrides): Promise; - - NETWORK_AUTHORITY_ROLE( - overrides?: CallOverrides - ): Promise; - - addForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - allowance( - tokenId_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "approve(uint256,address,uint256)"( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "balanceOf(address)"( - owner_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(uint256)"( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - burn( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - contractURI(overrides?: CallOverrides): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - flagsStorage(overrides?: CallOverrides): Promise; - - freeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getApproved( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - domain: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenBitmask( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getTokenIdsByOwnerAndNetwork( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _superAdmin: PromiseOrValue, - _flagsStorage: PromiseOrValue, - _trustedForwarders: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isApprovedForAll( - owner_: PromiseOrValue, - operator_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkDAOGoverned( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isSuperAdmin( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isTrustedForwarder( - forwarder: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - metadataDescriptor( - overrides?: CallOverrides - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - arg4: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - ownerOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - removeForwarder( - forwarder: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revoke( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - domain: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "safeTransferFrom(address,address,uint256,bytes)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - data_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - setApprovalForAll( - operator_: PromiseOrValue, - approved_: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setBitmask( - tokenId: PromiseOrValue, - mask: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - arg2: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadataDescriptor( - _metadataDescriptor: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setSuperAdmin( - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - slotOf( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - slotURI( - slot_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - tokenByIndex( - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenOfOwnerByIndex( - owner_: PromiseOrValue, - index_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - tokenURI( - tokenId_: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,address,uint256)"( - fromTokenId_: PromiseOrValue, - to_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from_: PromiseOrValue, - to_: PromiseOrValue, - tokenId_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(uint256,uint256,uint256)"( - fromTokenId_: PromiseOrValue, - toTokenId_: PromiseOrValue, - value_: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - transfersRestricted( - overrides?: CallOverrides - ): Promise; - - unfreeze( - tokenId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateFlagsStorage( - flagsStorage: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - valueDecimals(overrides?: CallOverrides): Promise; - - "verifyToken(address,uint256)"( - owner: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "verifyToken(uint256)"( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + "BitMaskUpdated(uint256,uint256)": TypedContractEvent< + BitMaskUpdatedEvent.InputTuple, + BitMaskUpdatedEvent.OutputTuple, + BitMaskUpdatedEvent.OutputObject + >; + BitMaskUpdated: TypedContractEvent< + BitMaskUpdatedEvent.InputTuple, + BitMaskUpdatedEvent.OutputTuple, + BitMaskUpdatedEvent.OutputObject + >; + + "DAOManagerTransferred(address,address,uint256)": TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; + DAOManagerTransferred: TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; + + "Expiration(uint256,uint256)": TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; + Expiration: TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; + + "FlagsStorageUpdated(address)": TypedContractEvent< + FlagsStorageUpdatedEvent.InputTuple, + FlagsStorageUpdatedEvent.OutputTuple, + FlagsStorageUpdatedEvent.OutputObject + >; + FlagsStorageUpdated: TypedContractEvent< + FlagsStorageUpdatedEvent.InputTuple, + FlagsStorageUpdatedEvent.OutputTuple, + FlagsStorageUpdatedEvent.OutputObject + >; + + "Freeze(uint256)": TypedContractEvent< + FreezeEvent.InputTuple, + FreezeEvent.OutputTuple, + FreezeEvent.OutputObject + >; + Freeze: TypedContractEvent< + FreezeEvent.InputTuple, + FreezeEvent.OutputTuple, + FreezeEvent.OutputObject + >; + + "Initialized(uint8)": TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + Initialized: TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + + "Revoke(uint256)": TypedContractEvent< + RevokeEvent.InputTuple, + RevokeEvent.OutputTuple, + RevokeEvent.OutputObject + >; + Revoke: TypedContractEvent< + RevokeEvent.InputTuple, + RevokeEvent.OutputTuple, + RevokeEvent.OutputObject + >; + + "RoleAdminChanged(bytes32,uint256,bytes32,bytes32)": TypedContractEvent< + RoleAdminChangedEvent.InputTuple, + RoleAdminChangedEvent.OutputTuple, + RoleAdminChangedEvent.OutputObject + >; + RoleAdminChanged: TypedContractEvent< + RoleAdminChangedEvent.InputTuple, + RoleAdminChangedEvent.OutputTuple, + RoleAdminChangedEvent.OutputObject + >; + + "RoleGranted(bytes32,uint256,address,address)": TypedContractEvent< + RoleGrantedEvent.InputTuple, + RoleGrantedEvent.OutputTuple, + RoleGrantedEvent.OutputObject + >; + RoleGranted: TypedContractEvent< + RoleGrantedEvent.InputTuple, + RoleGrantedEvent.OutputTuple, + RoleGrantedEvent.OutputObject + >; + + "RoleRevoked(bytes32,uint256,address,address)": TypedContractEvent< + RoleRevokedEvent.InputTuple, + RoleRevokedEvent.OutputTuple, + RoleRevokedEvent.OutputObject + >; + RoleRevoked: TypedContractEvent< + RoleRevokedEvent.InputTuple, + RoleRevokedEvent.OutputTuple, + RoleRevokedEvent.OutputObject + >; + + "SetMetadataDescriptor(address)": TypedContractEvent< + SetMetadataDescriptorEvent.InputTuple, + SetMetadataDescriptorEvent.OutputTuple, + SetMetadataDescriptorEvent.OutputObject + >; + SetMetadataDescriptor: TypedContractEvent< + SetMetadataDescriptorEvent.InputTuple, + SetMetadataDescriptorEvent.OutputTuple, + SetMetadataDescriptorEvent.OutputObject + >; + + "SlotChanged(uint256,uint256,uint256)": TypedContractEvent< + SlotChangedEvent.InputTuple, + SlotChangedEvent.OutputTuple, + SlotChangedEvent.OutputObject + >; + SlotChanged: TypedContractEvent< + SlotChangedEvent.InputTuple, + SlotChangedEvent.OutputTuple, + SlotChangedEvent.OutputObject + >; + + "SuperAdminAdded(address)": TypedContractEvent< + SuperAdminAddedEvent.InputTuple, + SuperAdminAddedEvent.OutputTuple, + SuperAdminAddedEvent.OutputObject + >; + SuperAdminAdded: TypedContractEvent< + SuperAdminAddedEvent.InputTuple, + SuperAdminAddedEvent.OutputTuple, + SuperAdminAddedEvent.OutputObject + >; + + "SuperAdminRemoved(address)": TypedContractEvent< + SuperAdminRemovedEvent.InputTuple, + SuperAdminRemovedEvent.OutputTuple, + SuperAdminRemovedEvent.OutputObject + >; + SuperAdminRemoved: TypedContractEvent< + SuperAdminRemovedEvent.InputTuple, + SuperAdminRemovedEvent.OutputTuple, + SuperAdminRemovedEvent.OutputObject + >; + + "Transfer(address,address,uint256)": TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + Transfer: TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + + "TransferValue(uint256,uint256,uint256)": TypedContractEvent< + TransferValueEvent.InputTuple, + TransferValueEvent.OutputTuple, + TransferValueEvent.OutputObject + >; + TransferValue: TypedContractEvent< + TransferValueEvent.InputTuple, + TransferValueEvent.OutputTuple, + TransferValueEvent.OutputObject + >; + + "Unfreeze(uint256)": TypedContractEvent< + UnfreezeEvent.InputTuple, + UnfreezeEvent.OutputTuple, + UnfreezeEvent.OutputObject + >; + Unfreeze: TypedContractEvent< + UnfreezeEvent.InputTuple, + UnfreezeEvent.OutputTuple, + UnfreezeEvent.OutputObject + >; + + "Upgraded(address)": TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; + Upgraded: TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; }; } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/IERC721ExpirableV0.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/IERC721ExpirableV0.ts index 72012da0a..f85f22309 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/IERC721ExpirableV0.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/IERC721ExpirableV0.ts @@ -4,65 +4,54 @@ /* eslint-disable */ import type { BaseContract, - BigNumber, BigNumberish, BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, + Interface, EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; import type { - TypedEventFilter, - TypedEvent, + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, TypedListener, - OnEvent, - PromiseOrValue, + TypedContractMethod, } from "../../../common"; export type ChargeStruct = { - value: PromiseOrValue; - chargeType: PromiseOrValue; - token: PromiseOrValue; - recipient: PromiseOrValue; + value: BigNumberish; + chargeType: BigNumberish; + token: AddressLike; + recipient: AddressLike; }; -export type ChargeStructOutput = [BigNumber, number, string, string] & { - value: BigNumber; - chargeType: number; - token: string; - recipient: string; -}; - -export interface IERC721ExpirableV0Interface extends utils.Interface { - functions: { - "getExpiration(uint256)": FunctionFragment; - "setExpiration(uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - }; +export type ChargeStructOutput = [ + value: bigint, + chargeType: bigint, + token: string, + recipient: string +] & { value: bigint; chargeType: bigint; token: string; recipient: string }; +export interface IERC721ExpirableV0Interface extends Interface { getFunction( - nameOrSignatureOrTopic: "getExpiration" | "setExpiration" + nameOrSignature: "getExpiration" | "setExpiration" ): FunctionFragment; + getEvent(nameOrSignatureOrTopic: "Expiration"): EventFragment; + encodeFunctionData( functionFragment: "getExpiration", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "setExpiration", - values: [ - PromiseOrValue, - PromiseOrValue, - ChargeStruct - ] + values: [BigNumberish, BigNumberish, ChargeStruct] ): string; decodeFunctionResult( @@ -73,127 +62,105 @@ export interface IERC721ExpirableV0Interface extends utils.Interface { functionFragment: "setExpiration", data: BytesLike ): Result; - - events: { - "Expiration(uint256,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Expiration"): EventFragment; } -export interface ExpirationEventObject { - tokenId: BigNumber; - timestamp: BigNumber; +export namespace ExpirationEvent { + export type InputTuple = [tokenId: BigNumberish, timestamp: BigNumberish]; + export type OutputTuple = [tokenId: bigint, timestamp: bigint]; + export interface OutputObject { + tokenId: bigint; + timestamp: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type ExpirationEvent = TypedEvent< - [BigNumber, BigNumber], - ExpirationEventObject ->; - -export type ExpirationEventFilter = TypedEventFilter; export interface IERC721ExpirableV0 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + connect(runner?: ContractRunner | null): IERC721ExpirableV0; + waitForDeployment(): Promise; interface: IERC721ExpirableV0Interface; - queryFilter( - event: TypedEventFilter, + queryFilter( + event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + getExpiration: TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; + + setExpiration: TypedContractMethod< + [tokenId: BigNumberish, timestamp: BigNumberish, charge: ChargeStruct], + [void], + "nonpayable" + >; + + getFunction( + key: string | FunctionFragment + ): T; - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: CallOverrides - ): Promise; - }; + getFunction( + nameOrSignature: "getExpiration" + ): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">; + getFunction( + nameOrSignature: "setExpiration" + ): TypedContractMethod< + [tokenId: BigNumberish, timestamp: BigNumberish, charge: ChargeStruct], + [void], + "nonpayable" + >; + + getEvent( + key: "Expiration" + ): TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; filters: { - "Expiration(uint256,uint256)"( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - Expiration( - tokenId?: PromiseOrValue | null, - timestamp?: null - ): ExpirationEventFilter; - }; - - estimateGas: { - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getExpiration( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setExpiration( - tokenId: PromiseOrValue, - timestamp: PromiseOrValue, - charge: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + "Expiration(uint256,uint256)": TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; + Expiration: TypedContractEvent< + ExpirationEvent.InputTuple, + ExpirationEvent.OutputTuple, + ExpirationEvent.OutputObject + >; }; } diff --git a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/IGatewayTokenV0.ts b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/IGatewayTokenV0.ts index 53bef8ce8..7d7a88808 100644 --- a/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/IGatewayTokenV0.ts +++ b/ethereum/gateway-eth-ts/src/contracts/typechain-types/test/contracts/v0/IGatewayTokenV0.ts @@ -4,60 +4,43 @@ /* eslint-disable */ import type { BaseContract, - BigNumber, BigNumberish, BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, + Interface, EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; import type { - TypedEventFilter, - TypedEvent, + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, TypedListener, - OnEvent, - PromiseOrValue, + TypedContractMethod, } from "../../../common"; export type ChargeStruct = { - value: PromiseOrValue; - chargeType: PromiseOrValue; - token: PromiseOrValue; - recipient: PromiseOrValue; + value: BigNumberish; + chargeType: BigNumberish; + token: AddressLike; + recipient: AddressLike; }; -export type ChargeStructOutput = [BigNumber, number, string, string] & { - value: BigNumber; - chargeType: number; - token: string; - recipient: string; -}; - -export interface IGatewayTokenV0Interface extends utils.Interface { - functions: { - "addNetworkAuthority(address,uint256)": FunctionFragment; - "createNetwork(uint256,string,bool,address)": FunctionFragment; - "getNetwork(uint256)": FunctionFragment; - "getToken(uint256)": FunctionFragment; - "isGatekeeper(address,uint256)": FunctionFragment; - "isNetworkAuthority(address,uint256)": FunctionFragment; - "mint(address,uint256,uint256,uint256,(uint256,uint8,address,address))": FunctionFragment; - "removeNetworkAuthority(address,uint256)": FunctionFragment; - "renameNetwork(uint256,string)": FunctionFragment; - "transferDAOManager(address,address,uint256)": FunctionFragment; - }; +export type ChargeStructOutput = [ + value: bigint, + chargeType: bigint, + token: string, + recipient: string +] & { value: bigint; chargeType: bigint; token: string; recipient: string }; +export interface IGatewayTokenV0Interface extends Interface { getFunction( - nameOrSignatureOrTopic: + nameOrSignature: | "addNetworkAuthority" | "createNetwork" | "getNetwork" @@ -70,60 +53,53 @@ export interface IGatewayTokenV0Interface extends utils.Interface { | "transferDAOManager" ): FunctionFragment; + getEvent(nameOrSignatureOrTopic: "DAOManagerTransferred"): EventFragment; + encodeFunctionData( functionFragment: "addNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "createNetwork", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [BigNumberish, string, boolean, AddressLike] ): string; encodeFunctionData( functionFragment: "getNetwork", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "getToken", - values: [PromiseOrValue] + values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "isGatekeeper", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "isNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "mint", values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, + AddressLike, + BigNumberish, + BigNumberish, + BigNumberish, ChargeStruct ] ): string; encodeFunctionData( functionFragment: "removeNetworkAuthority", - values: [PromiseOrValue, PromiseOrValue] + values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "renameNetwork", - values: [PromiseOrValue, PromiseOrValue] + values: [BigNumberish, string] ): string; encodeFunctionData( functionFragment: "transferDAOManager", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [AddressLike, AddressLike, BigNumberish] ): string; decodeFunctionResult( @@ -157,415 +133,264 @@ export interface IGatewayTokenV0Interface extends utils.Interface { functionFragment: "transferDAOManager", data: BytesLike ): Result; - - events: { - "DAOManagerTransferred(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "DAOManagerTransferred"): EventFragment; } -export interface DAOManagerTransferredEventObject { - previousDAOManager: string; - newDAOManager: string; - network: BigNumber; +export namespace DAOManagerTransferredEvent { + export type InputTuple = [ + previousDAOManager: AddressLike, + newDAOManager: AddressLike, + network: BigNumberish + ]; + export type OutputTuple = [ + previousDAOManager: string, + newDAOManager: string, + network: bigint + ]; + export interface OutputObject { + previousDAOManager: string; + newDAOManager: string; + network: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; } -export type DAOManagerTransferredEvent = TypedEvent< - [string, string, BigNumber], - DAOManagerTransferredEventObject ->; - -export type DAOManagerTransferredEventFilter = - TypedEventFilter; export interface IGatewayTokenV0 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; + connect(runner?: ContractRunner | null): IGatewayTokenV0; + waitForDeployment(): Promise; interface: IGatewayTokenV0Interface; - queryFilter( - event: TypedEventFilter, + queryFilter( + event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + addNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + createNetwork: TypedContractMethod< + [ + network: BigNumberish, + name: string, + daoGoverned: boolean, + daoManager: AddressLike + ], + [void], + "nonpayable" + >; - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; + getNetwork: TypedContractMethod<[network: BigNumberish], [string], "view">; - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { + getToken: TypedContractMethod< + [tokenId: BigNumberish], + [ + [string, bigint, string, bigint, bigint] & { owner: string; - state: number; + state: bigint; identity: string; - expiration: BigNumber; - bitmask: BigNumber; + expiration: bigint; + bitmask: bigint; } - >; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { - owner: string; - state: number; - identity: string; - expiration: BigNumber; - bitmask: BigNumber; - } + ], + "view" >; - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + isGatekeeper: TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [boolean], + "nonpayable" + >; - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + isNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [boolean], + "nonpayable" + >; - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + mint: TypedContractMethod< + [ + to: AddressLike, + network: BigNumberish, + expiration: BigNumberish, + mask: BigNumberish, + charge: ChargeStruct + ], + [void], + "nonpayable" + >; - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + removeNetworkAuthority: TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; - callStatic: { - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + renameNetwork: TypedContractMethod< + [network: BigNumberish, name: string], + [void], + "nonpayable" + >; - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + transferDAOManager: TypedContractMethod< + [ + previousManager: AddressLike, + newManager: AddressLike, + network: BigNumberish + ], + [void], + "nonpayable" + >; - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + getFunction( + key: string | FunctionFragment + ): T; - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, number, string, BigNumber, BigNumber] & { + getFunction( + nameOrSignature: "addNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "createNetwork" + ): TypedContractMethod< + [ + network: BigNumberish, + name: string, + daoGoverned: boolean, + daoManager: AddressLike + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "getNetwork" + ): TypedContractMethod<[network: BigNumberish], [string], "view">; + getFunction( + nameOrSignature: "getToken" + ): TypedContractMethod< + [tokenId: BigNumberish], + [ + [string, bigint, string, bigint, bigint] & { owner: string; - state: number; + state: bigint; identity: string; - expiration: BigNumber; - bitmask: BigNumber; + expiration: bigint; + bitmask: bigint; } - >; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: CallOverrides - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + ], + "view" + >; + getFunction( + nameOrSignature: "isGatekeeper" + ): TypedContractMethod< + [gatekeeper: AddressLike, network: BigNumberish], + [boolean], + "nonpayable" + >; + getFunction( + nameOrSignature: "isNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [boolean], + "nonpayable" + >; + getFunction( + nameOrSignature: "mint" + ): TypedContractMethod< + [ + to: AddressLike, + network: BigNumberish, + expiration: BigNumberish, + mask: BigNumberish, + charge: ChargeStruct + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "removeNetworkAuthority" + ): TypedContractMethod< + [authority: AddressLike, network: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "renameNetwork" + ): TypedContractMethod< + [network: BigNumberish, name: string], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "transferDAOManager" + ): TypedContractMethod< + [ + previousManager: AddressLike, + newManager: AddressLike, + network: BigNumberish + ], + [void], + "nonpayable" + >; - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; + getEvent( + key: "DAOManagerTransferred" + ): TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; filters: { - "DAOManagerTransferred(address,address,uint256)"( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - DAOManagerTransferred( - previousDAOManager?: null, - newDAOManager?: null, - network?: null - ): DAOManagerTransferredEventFilter; - }; - - estimateGas: { - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - addNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - daoGoverned: PromiseOrValue, - daoManager: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getNetwork( - network: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getToken( - tokenId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isGatekeeper( - gatekeeper: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - mint( - to: PromiseOrValue, - network: PromiseOrValue, - expiration: PromiseOrValue, - mask: PromiseOrValue, - charge: ChargeStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - removeNetworkAuthority( - authority: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renameNetwork( - network: PromiseOrValue, - name: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferDAOManager( - previousManager: PromiseOrValue, - newManager: PromiseOrValue, - network: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; + "DAOManagerTransferred(address,address,uint256)": TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; + DAOManagerTransferred: TypedContractEvent< + DAOManagerTransferredEvent.InputTuple, + DAOManagerTransferredEvent.OutputTuple, + DAOManagerTransferredEvent.OutputObject + >; }; } diff --git a/ethereum/gateway-eth-ts/src/service/GatewayTs.test.ts b/ethereum/gateway-eth-ts/src/service/GatewayTs.test.ts index ca64afd7e..bd65fb2bf 100644 --- a/ethereum/gateway-eth-ts/src/service/GatewayTs.test.ts +++ b/ethereum/gateway-eth-ts/src/service/GatewayTs.test.ts @@ -1,4 +1,4 @@ -import { Wallet, Provider, getDefaultProvider, Network, HDNodeWallet } from "ethers"; +import { Wallet, Provider, getDefaultProvider, Network, Signer } from "ethers"; import { TokenData, TokenState } from "../utils"; import * as assert from "assert"; import * as dotenv from "dotenv"; @@ -14,11 +14,11 @@ dotenv.config(); const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); describe("GatewayTS", function () { - this.timeout(5_000); + this.timeout(15_000); let gateway: GatewayTs; let provider: Provider; let network: Network; - let gatekeeper: Wallet; + let gatekeeper: Signer; const sampleWalletAddress = Wallet.createRandom().address; @@ -45,8 +45,7 @@ describe("GatewayTS", function () { }); it("should issue a token", async () => { - const tx = await gateway.issue(sampleWalletAddress, gatekeeperNetwork); - await tx + await gateway.issue(sampleWalletAddress, gatekeeperNetwork); const token = await gateway.getToken( sampleWalletAddress, @@ -60,9 +59,13 @@ describe("GatewayTS", function () { it("should tolerate multiple tokens", async () => { const walletWithMultipleTokens = Wallet.createRandom().address; - const tx = await gateway.issue(walletWithMultipleTokens, gatekeeperNetwork); - const sentTx = await provider.sendTransaction(tx); - await provider.waitForTransaction(sentTx.hash); + await gateway + .issue(walletWithMultipleTokens, gatekeeperNetwork) + .then((tx) => tx.wait()); + // Wait for tx1 before tx2 otherwise the node will complain about replays + await gateway + .issue(walletWithMultipleTokens, gatekeeperNetwork) + .then((tx) => tx.wait()); // should fail const shouldFail = gateway.checkedGetTokenId( @@ -92,10 +95,7 @@ describe("GatewayTS", function () { const expectedExpiry = BigInt(Math.floor(Date.now() / 1000 + 100)); const mask = BigInt(1); - const tx = await gateway.issue(address, gatekeeperNetwork, expiry, mask) - const sentTx = await provider.sendTransaction(tx); - await provider.waitForTransaction(sentTx.hash); - + await gateway.issue(address, gatekeeperNetwork, expiry, mask); const token = await gateway.getToken(address, gatekeeperNetwork); assert.equal(token.expiration, expectedExpiry); @@ -110,19 +110,17 @@ describe("GatewayTS", function () { const dummyWallet = new Wallet(SAMPLE_PRIVATE_KEY); result = await gateway.verify(dummyWallet.address, gatekeeperNetwork); assert.equal(result, false); - }).timeout(10_000); + }); context("getTokenIdsByOwnerAndNetwork", () => { let expiredTokenAddress: string; before("issue a token with a short-lived expiry", async () => { expiredTokenAddress = Wallet.createRandom().address; const expiry = BigInt(1); - const expectedExpiry = BigInt( - Math.floor(Date.now() / 1000 + 100) - ); - const tx = await gateway.issue(expiredTokenAddress, gatekeeperNetwork, expiry); - const sentTx = await provider.sendTransaction(tx); - await provider.waitForTransaction(sentTx.hash); + const expectedExpiry = BigInt(Math.floor(Date.now() / 1000 + 100)); + await gateway + .issue(expiredTokenAddress, gatekeeperNetwork, expiry) + .then((tx) => tx.wait()); // wait for the token to expire await sleep(101); @@ -241,7 +239,9 @@ describe("GatewayTS", function () { resolvePromiseCallback ); - await gateway.refresh(sampleWalletAddress, gatekeeperNetwork, 1000); + await gateway + .refresh(sampleWalletAddress, gatekeeperNetwork, 1000) + .then((tx) => tx.wait()); const updatedToken = await resolvedPromise.finally( subscription.unsubscribe diff --git a/ethereum/gateway-eth-ts/src/service/GatewayTs.ts b/ethereum/gateway-eth-ts/src/service/GatewayTs.ts index b04f848e1..d443210de 100644 --- a/ethereum/gateway-eth-ts/src/service/GatewayTs.ts +++ b/ethereum/gateway-eth-ts/src/service/GatewayTs.ts @@ -1,5 +1,5 @@ /* eslint-disable camelcase */ -import { Provider, Wallet } from "ethers"; +import { ContractTransactionResponse, Provider, Signer } from "ethers"; import { GatewayToken, GatewayToken__factory, @@ -7,7 +7,6 @@ import { } from "../contracts/typechain-types"; import { GatewayTsInternal } from "./GatewayTsInternal"; import { ForwarderOptions, GatewayTsForwarder } from "./GatewayTsForwarder"; -import { ContractTransaction } from "ethers"; import { onGatewayTokenChange, removeGatewayTokenChangeListener, @@ -18,24 +17,23 @@ import { Options } from "../utils/types"; export class GatewayTs extends GatewayTsInternal< GatewayToken, - ContractTransaction + ContractTransactionResponse > { - readonly providerOrWallet: Provider | Wallet; + readonly providerOrSigner: Provider | Signer; constructor( - // ethers.js requires a Wallet instead of Signer for the _signTypedData function, until v6 - providerOrWallet: Provider | Wallet, + providerOrSigner: Provider | Signer, defaultGatewayToken: string, options: Options = {} ) { const gatewayTokenContract = GatewayToken__factory.connect( defaultGatewayToken, - providerOrWallet + providerOrSigner ); super(gatewayTokenContract, options); this.gatewayTokenContract = gatewayTokenContract; - this.providerOrWallet = providerOrWallet; + this.providerOrSigner = providerOrSigner; } private get forwarderOptions(): ForwarderOptions { @@ -49,11 +47,11 @@ export class GatewayTs extends GatewayTsInternal< public forward(forwarderAddress: string): GatewayTsForwarder { const forwarderContract = IForwarder__factory.connect( forwarderAddress, - this.providerOrWallet + this.providerOrSigner ); return new GatewayTsForwarder( - this.providerOrWallet, + this.providerOrSigner, this.gatewayTokenContract, forwarderContract, this.forwarderOptions diff --git a/ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.test.ts b/ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.test.ts index 149322550..cb1edee98 100644 --- a/ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.test.ts +++ b/ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.test.ts @@ -2,6 +2,7 @@ import { Provider, TransactionReceipt, getDefaultProvider, + Signer, } from "ethers"; import { TokenState } from "../utils"; import * as assert from "assert"; @@ -14,7 +15,7 @@ import { TEST_GATEWAY_TOKEN_ADDRESS, } from "./testUtils"; import { GatewayTsForwarder } from "./GatewayTsForwarder"; -import { ContractTransaction, ContractTransactionReceipt, ethers, Wallet } from "ethers"; +import { ContractTransaction, ethers, Wallet } from "ethers"; import { approveERC20Charge, approveInternalERC20Charge, @@ -24,12 +25,17 @@ import { dotenv.config(); +// A JSON stringifier that supports bigint, because JSON.stringify doesn't know how to handle that natively +const bigintStringifier = (key: string, value: unknown) => + typeof value === "bigint" ? value.toString() : value; + describe("GatewayTS Forwarder", function () { + this.timeout(15_000); let gateway: GatewayTsForwarder; let provider: Provider; - let gatekeeper: Wallet; - let relayer: Wallet; + let gatekeeper: Signer; + let relayer: Signer; const sampleWalletAddress = Wallet.createRandom().address; @@ -44,7 +50,7 @@ describe("GatewayTS Forwarder", function () { fn: () => Promise ): Promise => { const populatedTx = await fn(); - const serialized = JSON.stringify(populatedTx); + const serialized = JSON.stringify(populatedTx, bigintStringifier); // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment const { to, data, value } = JSON.parse(serialized); @@ -63,7 +69,7 @@ describe("GatewayTS Forwarder", function () { fn: () => Promise ): Promise => { const populatedTx = await fn(); - const serialized = JSON.stringify(populatedTx); + const serialized = JSON.stringify(populatedTx, bigintStringifier); // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment const { to, data, value } = JSON.parse(serialized); @@ -76,13 +82,12 @@ describe("GatewayTS Forwarder", function () { // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment value, }); - console.log("GAS LIMIT:", r.gasLimit.toString()); return r.wait(); }; // address of the erc20 token used for testing (obtainable from the output of yarn pretest) - const ERC20_TOKEN = "0x32CC358eb763B345f565fcf84f2B31a52d6a93D6"; + const ERC20_TOKEN = "0x5C341B3429ac43bC81804382ae233dD6c7E9F6Ae"; const erc20Balance = (address: string): Promise => { // check erc20 balance const contract = new ethers.Contract( @@ -98,17 +103,12 @@ describe("GatewayTS Forwarder", function () { }; before("Initialize GatewayTS class", function () { - this.timeout(20_000); - provider = getDefaultProvider("http://localhost:8545"); // use the deployer account here as the relayer, as they are guaranteed to be funded by hardhat on localnet startup relayer = deployerWallet(provider); gatekeeper = gatekeeperWallet(provider); - console.log("Gatekeeper:", gatekeeper.address); - console.log("Relayer:", relayer.address); - gateway = new GatewayTs( gatekeeper, TEST_GATEWAY_TOKEN_ADDRESS.gatewayToken @@ -134,17 +134,14 @@ describe("GatewayTS Forwarder", function () { const wallet = Wallet.createRandom().address; const chargeValue = BigInt(1000); - const charge = makeWeiCharge(chargeValue, gatekeeper.address); + const charge = makeWeiCharge(chargeValue, await gatekeeper.getAddress()); await relaySerialized(() => gateway.issue(wallet, gatekeeperNetwork, undefined, undefined, charge) ); const gatekeeperBalanceAfter = await provider.getBalance(gatekeeper); - assert.equal( - chargeValue, - gatekeeperBalanceAfter - gatekeeperBalanceBefore - ); + assert.equal(chargeValue, gatekeeperBalanceAfter - gatekeeperBalanceBefore); }); it("should issue a token with an ERC20 charge", async () => { @@ -154,8 +151,8 @@ describe("GatewayTS Forwarder", function () { const charge = makeERC20Charge( chargeValue, ERC20_TOKEN, - relayer.address, // we are making the relayer pay (not the gateway token recipient) - gatekeeper.address + await relayer.getAddress(), // we are making the relayer pay (not the gateway token recipient) + await gatekeeper.getAddress() ); const approveTx = await approveERC20Charge( @@ -172,8 +169,10 @@ describe("GatewayTS Forwarder", function () { TEST_GATEWAY_TOKEN_ADDRESS.gatewayToken ); - const payerBalanceBefore = await erc20Balance(relayer.address); - const gatekeeperBalanceBefore = await erc20Balance(gatekeeper.address); + const payerBalanceBefore = await erc20Balance(await relayer.getAddress()); + const gatekeeperBalanceBefore = await erc20Balance( + await gatekeeper.getAddress() + ); await (await relayer.sendTransaction(approveTx)).wait(); await (await relayer.sendTransaction(internalApproveTx)).wait(); @@ -182,20 +181,16 @@ describe("GatewayTS Forwarder", function () { gateway.issue(wallet, gatekeeperNetwork, undefined, undefined, charge) ); - const payerBalanceAfter = await erc20Balance(relayer.address); - const gatekeeperBalanceAfter = await erc20Balance(gatekeeper.address); + const payerBalanceAfter = await erc20Balance(await relayer.getAddress()); + const gatekeeperBalanceAfter = await erc20Balance( + await gatekeeper.getAddress() + ); // the gatekeeper's balance has gone up - assert.equal( - chargeValue, - gatekeeperBalanceAfter - gatekeeperBalanceBefore - ); + assert.equal(chargeValue, gatekeeperBalanceAfter - gatekeeperBalanceBefore); // the payer's balance has gone down - assert.equal( - chargeValue, - payerBalanceBefore - payerBalanceAfter - ); + assert.equal(chargeValue, payerBalanceBefore - payerBalanceAfter); }); it("Test freeze", async () => { @@ -235,25 +230,22 @@ describe("GatewayTS Forwarder", function () { }); it("Test refresh with an eth charge", async () => { - const gatekeeperBalanceBefore = await provider.getBalance(gatekeeper);; + const gatekeeperBalanceBefore = await provider.getBalance(gatekeeper); const token = await gateway.getToken( sampleWalletAddress, gatekeeperNetwork ); const chargeValue = BigInt(1000); - const charge = makeWeiCharge(chargeValue, gatekeeper.address); + const charge = makeWeiCharge(chargeValue, await gatekeeper.getAddress()); await relay(() => gateway.refresh(sampleWalletAddress, gatekeeperNetwork, 1000, charge) ); - const gatekeeperBalanceAfter = await provider.getBalance(gatekeeper);; + const gatekeeperBalanceAfter = await provider.getBalance(gatekeeper); - assert.equal( - chargeValue, - gatekeeperBalanceAfter - gatekeeperBalanceBefore - ); + assert.equal(chargeValue, gatekeeperBalanceAfter - gatekeeperBalanceBefore); }); it("should allow parameterisable gas limit for the internal transaction", async () => { diff --git a/ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.ts b/ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.ts index a52c4cb1b..bd3e11ea0 100644 --- a/ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.ts +++ b/ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.ts @@ -1,11 +1,11 @@ import { Provider, - Wallet, Overrides, ContractTransaction, - BaseContract, BigNumberish, Signer, + Addressable, + ContractMethodArgs, } from "ethers"; import { IForwarder, GatewayToken } from "../contracts/typechain-types"; import { GatewayTsInternal } from "./GatewayTsInternal"; @@ -15,10 +15,9 @@ import { ReadOnlyOperation, readOnlyOpNames, } from "../utils/types"; -import { mapObjIndexed, pick } from "ramda"; +import { pick } from "ramda"; import { signMetaTxRequest } from "../utils/metatx"; import { Charge, ChargeType } from "../utils/charge"; -import { TypedDataSigner } from "@ethersproject/abstract-signer"; import { TypedContractMethod } from "../contracts/typechain-types/common"; // This is the default gas limit used by the GatewayTs forwarder @@ -40,10 +39,7 @@ export type ForwarderOptions = Omit & { // So this type changes that, by only converting the types for the write operations. // This requires the passed-in contract object to be reconstructed to match this type in the constructor of // GatewayTsForwarder. -type MappedGatewayToken = ReadOnlyOperation & - Pick; - -type InferArgs = T extends (...t: [...infer Arg]) => any ? Arg : never; +type MappedGatewayToken = ReadOnlyOperation & Pick; // Given an ethers.js contract function that returns a PopulatedTransaction, // return a function that: @@ -53,41 +49,42 @@ type InferArgs = T extends (...t: [...infer Arg]) => any ? Arg : never; const toMetaTx = ( forwarderContract: IForwarder, - toContract: BaseContract, + toContract: Addressable, wallet: Signer, defaultGasLimit: number | BigNumberish ) => - ( - fn: (...args: any[]) => Promise - ): ((...args: any[]) => Promise) => - async (...args) => { - if (!wallet) { - throw new Error("A wallet is required to sign the meta transaction"); - } + ( + method: TypedContractMethod + ) => { + return async ( + ...args: ContractMethodArgs + ): Promise => { + const populatedTransaction: ContractTransaction = + await method.populateTransaction(...args); - const populatedTransaction = await fn(...args); - const { request, signature } = await signMetaTxRequest( - wallet, - forwarderContract, - { - from: await wallet.getAddress(), - to: await toContract.getAddress(), - data: populatedTransaction.data, - // if there is a value, add it to the request - // the forwarder passes the value in the request to the target contract - // so if it is not included here, it would be zero, even if the outer transaction had a value - ...(populatedTransaction.value - ? { value: populatedTransaction.value } - : {}), - gas: populatedTransaction.gasLimit || defaultGasLimit, - } - ); - const populatedForwardedTransaction: ContractTransaction = - await forwarderContract.execute.populateTransaction(request, signature); - // ethers will set the from address on the populated transaction to the current wallet address (i.e the gatekeeper) - // we don't want this, as the tx will be sent by some other relayer, so remove it. - delete populatedForwardedTransaction.from; - return populatedForwardedTransaction; + const { request, signature } = await signMetaTxRequest( + wallet, + forwarderContract, + { + from: await wallet.getAddress(), + to: await toContract.getAddress(), + data: populatedTransaction.data, + // if there is a value, add it to the request + // the forwarder passes the value in the request to the target contract + // so if it is not included here, it would be zero, even if the outer transaction had a value + ...(populatedTransaction.value + ? { value: populatedTransaction.value } + : {}), + gas: populatedTransaction.gasLimit || defaultGasLimit, + } + ); + const populatedForwardedTransaction: ContractTransaction = + await forwarderContract.execute.populateTransaction(request, signature); + // ethers will set the from address on the populated transaction to the current wallet address (i.e the gatekeeper) + // we don't want this, as the tx will be sent by some other relayer, so remove it. + delete populatedForwardedTransaction.from; + return populatedForwardedTransaction; + }; }; // A GatewayToken API that returns an unsigned metatransaction pointing to the Forwarder contract, rather than @@ -115,11 +112,14 @@ export class GatewayTsForwarder extends GatewayTsInternal< // construct a new mappedGatewayToken object comprising write operations that return PopulatedTransactions // and read operations that don't. See the description of MappedGatewayToken above for more details. const raw: ReadOnlyOperation = pick(readOnlyOpNames, gatewayTokenContract); - const mapped: Pick = - mapObjIndexed( - toMetaTxFn, - pick(mappedOpNames, gatewayTokenContract) - ); + const wrappedFns = mappedOpNames.map((name) => { + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument + const wrappedFn = toMetaTxFn(gatewayTokenContract[name]); + return [name, wrappedFn]; + }); + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment + const mapped: Pick = Object.fromEntries(wrappedFns); + const mappedGatewayToken = { ...mapped, ...raw, @@ -139,6 +139,7 @@ export class GatewayTsForwarder extends GatewayTsInternal< if (charge?.chargeType === ChargeType.ETH) { tx.value = charge.value as bigint; } + return tx; } @@ -148,7 +149,7 @@ export class GatewayTsForwarder extends GatewayTsInternal< expiry?: BigNumberish, charge?: Charge ): Promise { - const tx = await super.refresh(owner, network, expiry as BigNumberish, charge); + const tx = await super.refresh(owner, network, expiry, charge); if (charge?.chargeType === ChargeType.ETH) { tx.value = charge.value as bigint; diff --git a/ethereum/gateway-eth-ts/src/service/GatewayTsInternal.ts b/ethereum/gateway-eth-ts/src/service/GatewayTsInternal.ts index 9a19b1e18..601ddb63d 100644 --- a/ethereum/gateway-eth-ts/src/service/GatewayTsInternal.ts +++ b/ethereum/gateway-eth-ts/src/service/GatewayTsInternal.ts @@ -7,7 +7,6 @@ import { ReadOnlyOperation, TokenData, TokenState, - } from "../utils/types"; import { Charge, ChargeType, NULL_CHARGE } from "../utils/charge"; import { NULL_ADDRESS } from "../utils/constants"; @@ -48,7 +47,7 @@ export class GatewayTsInternal< charge.chargeType === ChargeType.ETH ? charge.value : undefined; return { ...this.overrides, - value: value as BigNumberish, + value: value, }; } @@ -103,7 +102,7 @@ export class GatewayTsInternal< return this.gatewayTokenContract.renameNetwork( network, name, - this.overrides + this.overrides ); } @@ -272,7 +271,7 @@ export class GatewayTsInternal< tokenId, bitmask: rawData.bitmask, expiration: rawData.expiration, - state: Number(rawData.state) as TokenState , + state: Number(rawData.state) as TokenState, }; } diff --git a/ethereum/gateway-eth-ts/src/service/GatewayTsTransaction.test.ts b/ethereum/gateway-eth-ts/src/service/GatewayTsTransaction.test.ts index 702e65750..3530ab13d 100644 --- a/ethereum/gateway-eth-ts/src/service/GatewayTsTransaction.test.ts +++ b/ethereum/gateway-eth-ts/src/service/GatewayTsTransaction.test.ts @@ -8,15 +8,16 @@ import { TEST_GATEWAY_TOKEN_ADDRESS, } from "./testUtils"; import { GatewayTsForwarder } from "./GatewayTsForwarder"; -import { getDefaultProvider, Provider, Wallet } from "ethers"; +import { getDefaultProvider, Provider, Signer, Wallet } from "ethers"; dotenv.config(); describe("GatewayTS Transaction", function () { + this.timeout(15_000); let gateway: GatewayTsForwarder; let provider: Provider; - let gatekeeper: Wallet; + let gatekeeper: Signer; const sampleWalletAddress = Wallet.createRandom().address; @@ -28,8 +29,6 @@ describe("GatewayTS Transaction", function () { // use the deployer account here as the relayer, as they are guaranteed to be funded by hardhat on localnet startup gatekeeper = gatekeeperWallet(provider); - console.log("Gatekeeper:", gatekeeper.address); - gateway = new GatewayTs( gatekeeper, TEST_GATEWAY_TOKEN_ADDRESS.gatewayToken @@ -42,6 +41,8 @@ describe("GatewayTS Transaction", function () { gatekeeperNetwork ); + console.log("Transaction:", transaction); + const txReceipt = await ( await gatekeeper.sendTransaction(transaction) ).wait(); diff --git a/ethereum/gateway-eth-ts/src/service/GatewayTsTransaction.ts b/ethereum/gateway-eth-ts/src/service/GatewayTsTransaction.ts index e18735624..20a992e37 100644 --- a/ethereum/gateway-eth-ts/src/service/GatewayTsTransaction.ts +++ b/ethereum/gateway-eth-ts/src/service/GatewayTsTransaction.ts @@ -9,8 +9,7 @@ import { } from "../utils/types"; import { pick } from "ramda"; -type MappedGatewayToken = ReadOnlyOperation & - Pick; +type MappedGatewayToken = ReadOnlyOperation & Pick; // A GatewayToken API that returns an PopulatedTransaction, rather than // a transaction directly on the GatewayToken contract. Use this for relaying with relayers that provide their own @@ -23,12 +22,19 @@ export class GatewayTsTransaction extends GatewayTsInternal< // construct a new mappedGatewayToken object comprising write operations that return ContractTransactions // and read operations that don't. See the description of MappedGatewayToken above for more details. const raw: ReadOnlyOperation = pick(readOnlyOpNames, gatewayTokenContract); - const mapped: Pick = pick( - mappedOpNames, - gatewayTokenContract - ); + // const mapped: Pick = pick( + // mappedOpNames, + // gatewayTokenContract + // ); + + const entries = mappedOpNames.map((name) => { + const wrappedFn = gatewayTokenContract[name].populateTransaction.bind(gatewayTokenContract); + return [name, wrappedFn]; + }) + const mappedOps = Object.fromEntries(entries); + const mappedGatewayToken = { - ...mapped, + ...mappedOps, ...raw, }; super(mappedGatewayToken, options); diff --git a/ethereum/gateway-eth-ts/src/service/testUtils.ts b/ethereum/gateway-eth-ts/src/service/testUtils.ts index 53d17673e..ec9a45e37 100644 --- a/ethereum/gateway-eth-ts/src/service/testUtils.ts +++ b/ethereum/gateway-eth-ts/src/service/testUtils.ts @@ -1,14 +1,18 @@ -import { Wallet, Provider } from "ethers"; +import {Wallet, Provider, HDNodeWallet, Mnemonic, Signer, NonceManager} from "ethers"; export const DEFAULT_MNEMONIC = "test test test test test test test test test test test junk"; +const walletFromPath = (path: string) => + HDNodeWallet.fromMnemonic(Mnemonic.fromPhrase(DEFAULT_MNEMONIC), path); + // During testing, the 0th index is the deployer key, the 2nd index is used as the gatekeeper key // See hardhat.config.ts -export const deployerWallet = (provider: Provider): Wallet => - new Wallet(Wallet.fromPhrase(DEFAULT_MNEMONIC).derivePath("m/44'/60'/0'/0/0").privateKey).connect(provider); -export const gatekeeperWallet = (provider: Provider): Wallet => - new Wallet(Wallet.fromPhrase(DEFAULT_MNEMONIC).derivePath("m/44'/60'/0'/0/2").privateKey).connect(provider); +export const deployerWallet = (provider: Provider): Signer => + walletFromPath("m/44'/60'/0'/0/0").connect(provider); + +export const gatekeeperWallet = (provider: Provider): Signer => + new NonceManager(walletFromPath("m/44'/60'/0'/0/2").connect(provider)); // matches the bootstrapped network in gateway-token export const gatekeeperNetwork = 1n; @@ -16,8 +20,8 @@ export const gatekeeperNetwork = 1n; // These addresses are the ones that hardhat deploys to in the local test environment // Note, they differ from the default create2 addresses used in production export const TEST_GATEWAY_TOKEN_ADDRESS = { - gatewayToken: "0x3335EaBdbbCa104e30ff0f6E185cb7754b0260B0", - forwarder: "0xd7D74d77733E309931E4a368173C0f8b2A5cf4C5", - flagsStorage: "0xb169cc38847bFc8a3887172c5497975C9b41C5FE", - chargeHandler: "0x093B855f2fd1f03C0d38DB05dDf5F326B0fd32E6", + gatewayToken: "0xF6426840b145c4F2246BCbd46AcB79BFd4db4B4b", + forwarder: "0xa1dCfE59F75e36D2AdAE089933fb38F1507d2862", + flagsStorage: "0x21814C06043030F47F6bDAea4B85df99029F23d0", + chargeHandler: "0xD7DdC8D70e7F693f026c87ff0b086C37B92240a6", }; diff --git a/ethereum/gateway-eth-ts/src/utils/bitmask_flags.ts b/ethereum/gateway-eth-ts/src/utils/bitmask_flags.ts index 5f5972d73..75c160f9d 100644 --- a/ethereum/gateway-eth-ts/src/utils/bitmask_flags.ts +++ b/ethereum/gateway-eth-ts/src/utils/bitmask_flags.ts @@ -1,9 +1,6 @@ import { ONE_BN } from "./constants"; -export const addFlagsToBitmask = ( - bitmask: bigint, - flags: number[] -): bigint => { +export const addFlagsToBitmask = (bitmask: bigint, flags: number[]): bigint => { for (const index of flags) { if (index >= 256) break; bitmask = bitmask | (ONE_BN << BigInt(index)); diff --git a/ethereum/gateway-eth-ts/src/utils/charge.ts b/ethereum/gateway-eth-ts/src/utils/charge.ts index b58f7af51..64427b7ab 100644 --- a/ethereum/gateway-eth-ts/src/utils/charge.ts +++ b/ethereum/gateway-eth-ts/src/utils/charge.ts @@ -91,7 +91,7 @@ export const approveInternalERC20Charge = ( return chargeContract.setApproval.populateTransaction( gatewayContractAddress, charge.token, - charge.value as BigNumberish, + charge.value, network ); }; diff --git a/ethereum/gateway-eth-ts/src/utils/metatx.ts b/ethereum/gateway-eth-ts/src/utils/metatx.ts index eaa120591..0079c0cff 100644 --- a/ethereum/gateway-eth-ts/src/utils/metatx.ts +++ b/ethereum/gateway-eth-ts/src/utils/metatx.ts @@ -2,10 +2,7 @@ import { BaseContract, BigNumberish, Contract, Signer } from "ethers"; import { IForwarder } from "../contracts/typechain-types"; import { EIP712Message, EIP712TypedData } from "eth-sig-util"; -import { - TypedDataField, - TypedDataSigner, -} from "@ethersproject/abstract-signer"; +import { TypedDataField } from "@ethersproject/abstract-signer"; type Input = { from: string; @@ -76,8 +73,13 @@ const buildTypedData = async ( forwarder: BaseContract, request: EIP712Message ): Promise => { - const chainId = await forwarder.runner.provider?.getNetwork().then((n) => n.chainId); - const typeData = getMetaTxTypeData(Number(chainId), await forwarder.getAddress()); + const chainId = await forwarder.runner.provider + ?.getNetwork() + .then((n) => n.chainId); + const typeData = getMetaTxTypeData( + Number(chainId), + await forwarder.getAddress() + ); return { ...typeData, message: request }; }; diff --git a/ethereum/gateway-eth-ts/src/utils/provider.ts b/ethereum/gateway-eth-ts/src/utils/provider.ts index 570a8f320..1b099efa5 100644 --- a/ethereum/gateway-eth-ts/src/utils/provider.ts +++ b/ethereum/gateway-eth-ts/src/utils/provider.ts @@ -1,8 +1,8 @@ -import { Wallet, Provider } from "ethers"; +import { Provider, Signer } from "ethers"; export const isProvider = ( - providerOrWallet: Provider | Wallet -): providerOrWallet is Provider => !("_signTypedData" in providerOrWallet); + providerOrSigner: Provider | Signer +): providerOrSigner is Provider => !("provider" in providerOrSigner); -export const asProvider = (providerOrWallet: Provider | Wallet): Provider => - isProvider(providerOrWallet) ? providerOrWallet : providerOrWallet.provider; +export const asProvider = (providerOrSigner: Provider | Signer): Provider => + isProvider(providerOrSigner) ? providerOrSigner : providerOrSigner.provider; diff --git a/ethereum/gateway-eth-ts/src/utils/string.ts b/ethereum/gateway-eth-ts/src/utils/string.ts index b68dbcdd6..ce4bdbe5e 100644 --- a/ethereum/gateway-eth-ts/src/utils/string.ts +++ b/ethereum/gateway-eth-ts/src/utils/string.ts @@ -1,3 +1,2 @@ import { encodeBytes32String } from "ethers"; -export const toBytes32 = (text: string): string => - encodeBytes32String(text); +export const toBytes32 = (text: string): string => encodeBytes32String(text); diff --git a/ethereum/gateway-eth-ts/src/utils/subscription.ts b/ethereum/gateway-eth-ts/src/utils/subscription.ts index cc91e5371..d358039be 100644 --- a/ethereum/gateway-eth-ts/src/utils/subscription.ts +++ b/ethereum/gateway-eth-ts/src/utils/subscription.ts @@ -7,9 +7,8 @@ export const onGatewayTokenChange = ( network: bigint, gateway: GatewayTs, callback: (gatewayToken: TokenData) => void - // eslint-disable-next-line max-params ): ReturnType => { - const provider = asProvider(gateway.providerOrWallet); + const provider = asProvider(gateway.providerOrSigner); let block = 0; return setInterval(() => { // setInterval does not like a promise return value, so we wrap the async function in an IIFE diff --git a/ethereum/gateway-eth-ts/src/utils/types.ts b/ethereum/gateway-eth-ts/src/utils/types.ts index 0ab717072..6e823d185 100644 --- a/ethereum/gateway-eth-ts/src/utils/types.ts +++ b/ethereum/gateway-eth-ts/src/utils/types.ts @@ -51,7 +51,7 @@ export const mappedOpNames = [ "revoke", "burn", "setBitmask", -]; +] as (keyof GatewayToken)[]; type SubsetMappedWriteOps = Pick; diff --git a/ethereum/smart-contract/deploy/base-gatekeeper-network.ts b/ethereum/smart-contract/deploy/base-gatekeeper-network.ts index 09c8c6404..98a0c3923 100644 --- a/ethereum/smart-contract/deploy/base-gatekeeper-network.ts +++ b/ethereum/smart-contract/deploy/base-gatekeeper-network.ts @@ -1,8 +1,8 @@ import { HardhatRuntimeEnvironment } from 'hardhat/types'; import { DeployFunction } from 'hardhat-deploy/types'; import { getAccounts } from '../scripts/util'; -import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers'; -import { Contract } from 'ethers'; +import {GatewayToken } from '../typechain-types'; +import { GatewayToken__factory } from '../../gateway-eth-ts/src/contracts/typechain-types'; /** * Deploy the base set of gatekeeper networks. @@ -29,9 +29,8 @@ const networks = { const addToNetwork = async ( networkName: string, - deployer: SignerWithAddress, gatekeeper: string, - contract: Contract, + contract: GatewayToken, slotId: number, ) => { console.log('Creating NETWORK: ' + networkName + ' with slotId: ' + slotId + ' and gatekeeper: ' + gatekeeper); @@ -45,9 +44,9 @@ const addToNetwork = async ( ' (' + slotId + ') on Gateway Token at ' + - contract.address + + await contract.getAddress() + ' using ' + - createNetworkTx.gasUsed.toNumber() + + createNetworkTx?.gasUsed.toString() + ' gas', ); } @@ -58,9 +57,9 @@ const addToNetwork = async ( 'added new gatekeeper with ' + gatekeeper + ' address into Gateway Token at ' + - contract.address + + await contract.getAddress() + ' using ' + - addGatekeeperTx.gasUsed.toNumber() + + addGatekeeperTx?.gasUsed.toString() + ' gas', ); } else console.log(`gatekeeper ${gatekeeper} already in network ${slotId}`); @@ -81,13 +80,13 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const deployerSigner = await ethers.getSigner(deployer); const gatewayToken = await deployments.get('GatewayTokenProxy'); - const token = (await ethers.getContractAt('GatewayToken', gatewayToken.address)).connect(deployerSigner); + const token = GatewayToken__factory.connect(gatewayToken.address, deployerSigner); for (const [address, slotId] of Object.entries(networks.prod)) { - await addToNetwork(address, deployerSigner, prodGatekeeper, token, slotId); + await addToNetwork(address, prodGatekeeper, token, slotId); } for (const [address, slotId] of Object.entries(networks.dev)) { - await addToNetwork(address, deployerSigner, devGatekeeper, token, slotId); + await addToNetwork(address, devGatekeeper, token, slotId); } }; diff --git a/ethereum/smart-contract/deploy/charge-handler.ts b/ethereum/smart-contract/deploy/charge-handler.ts index d0d92f90e..3570042bc 100644 --- a/ethereum/smart-contract/deploy/charge-handler.ts +++ b/ethereum/smart-contract/deploy/charge-handler.ts @@ -1,11 +1,14 @@ import { HardhatRuntimeEnvironment } from 'hardhat/types'; import { DeployFunction } from 'hardhat-deploy/types'; import { deployProxyCreate2 } from '../scripts/util'; +import { IChargeHandler__factory } from '../typechain-types'; const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const { getNamedAccounts } = hre; const { deployer } = await getNamedAccounts(); - await deployProxyCreate2(hre, 'ChargeHandler', [deployer]); + await deployProxyCreate2(hre, 'ChargeHandler', [deployer], + IChargeHandler__factory.connect + ); }; export default func; diff --git a/ethereum/smart-contract/deploy/flags-storage.ts b/ethereum/smart-contract/deploy/flags-storage.ts index 5d27e673f..1658978fb 100644 --- a/ethereum/smart-contract/deploy/flags-storage.ts +++ b/ethereum/smart-contract/deploy/flags-storage.ts @@ -2,26 +2,30 @@ import { HardhatRuntimeEnvironment } from 'hardhat/types'; import { DeployFunction } from 'hardhat-deploy/types'; import { deployProxyCreate2 } from '../scripts/util'; import { ethers } from 'hardhat'; +import { IFlagsStorage, IFlagsStorage__factory } from '../typechain-types'; const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const { getNamedAccounts, deployments } = hre; const { deployer } = await getNamedAccounts(); - const hexRetailFlag = ethers.utils.formatBytes32String('Retail'); - const hexInstitutionFlag = ethers.utils.formatBytes32String('Institution'); - const hexAccreditedInvestorFlag = ethers.utils.formatBytes32String('AccreditedInvestor'); + const hexRetailFlag = ethers.encodeBytes32String('Retail'); + const hexInstitutionFlag = ethers.encodeBytes32String('Institution'); + const hexAccreditedInvestorFlag = ethers.encodeBytes32String('AccreditedInvestor'); const flagCodes = [hexRetailFlag, hexInstitutionFlag, hexAccreditedInvestorFlag]; const indexArray = [0, 1, 2]; // use the old proxy contract to retain the correct Create2 Address - const flagsStorageContract = await deployProxyCreate2(hre, 'FlagsStorage', [deployer], false); + const flagsStorageContract = await deployProxyCreate2(hre, 'FlagsStorage', [deployer], + IFlagsStorage__factory.connect, + false); // call addFlags function against the proxy const flagsAdded = await Promise.all(flagCodes.map((flagCode) => flagsStorageContract.isFlagSupported(flagCode))); if (!flagsAdded.every((flag) => flag)) { let tx = await (await flagsStorageContract.addFlags(flagCodes, indexArray, { from: deployer })).wait(); - console.log('Added ' + tx.events.length + ' flags into FlagsStorage with ' + tx.gasUsed.toNumber() + ' gas'); + const events = tx?.logs.length + console.log(`Added ${events} flags into FlagsStorage with ${tx?.gasUsed.toString()} gas`); } else { console.log('Flags already added.'); } diff --git a/ethereum/smart-contract/deploy/forwarder.ts b/ethereum/smart-contract/deploy/forwarder.ts index eefb01a47..c6d0dc12b 100644 --- a/ethereum/smart-contract/deploy/forwarder.ts +++ b/ethereum/smart-contract/deploy/forwarder.ts @@ -1,5 +1,6 @@ import { HardhatRuntimeEnvironment } from 'hardhat/types'; import { DeployFunction } from 'hardhat-deploy/types'; +import { GatewayToken__factory } from '../typechain-types'; const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const { deployments, ethers, getNamedAccounts } = hre; @@ -19,7 +20,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { }); const gatewayToken = await deployments.get('GatewayTokenProxy'); - const token = (await ethers.getContractAt('GatewayToken', gatewayToken.address)).connect(deployerSigner); + const token = GatewayToken__factory.connect(gatewayToken.address, deployerSigner); const addForwarderTx = await (await token.addForwarder(flexibleNonceForwarderDeployment.address)).wait(); console.log( 'Added flexible nonce forwarder ' + @@ -27,7 +28,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { ' on Gateway Token at ' + gatewayToken.address + ' using ' + - addForwarderTx.gasUsed.toNumber() + + addForwarderTx?.gasUsed.toString() + ' gas', ); }; diff --git a/ethereum/smart-contract/deploy/gateway-token-v0.ts b/ethereum/smart-contract/deploy/gateway-token-v0.ts index 0a3da71ab..3daea949f 100644 --- a/ethereum/smart-contract/deploy/gateway-token-v0.ts +++ b/ethereum/smart-contract/deploy/gateway-token-v0.ts @@ -1,6 +1,7 @@ import { HardhatRuntimeEnvironment } from 'hardhat/types'; import { DeployFunction } from 'hardhat-deploy/types'; import { deployProxyCreate2 } from '../scripts/util'; +import { GatewayToken__factory } from '../typechain-types'; const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const { deployments, getNamedAccounts, ethers } = hre; @@ -14,9 +15,9 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const args = ['Gateway Protocol', 'PASS', deployer, flagsStorage.address, []]; // use the old proxy contract to retain the correct Create2 Address - const gatewayTokenContract = await deployProxyCreate2(hre, 'GatewayToken', args, false); + const gatewayTokenContract = await deployProxyCreate2(hre, 'GatewayToken', args, GatewayToken__factory.connect); - const gatewayTokenAddress = gatewayTokenContract.address; + const gatewayTokenAddress = await gatewayTokenContract.getAddress(); console.log('deployed GatewayToken at ' + gatewayTokenAddress); }; diff --git a/ethereum/smart-contract/deploy/gateway-token.ts b/ethereum/smart-contract/deploy/gateway-token.ts index 73869a143..48a6386eb 100644 --- a/ethereum/smart-contract/deploy/gateway-token.ts +++ b/ethereum/smart-contract/deploy/gateway-token.ts @@ -3,6 +3,7 @@ import { DeployFunction } from 'hardhat-deploy/types'; import { deployProxyCreate2 } from '../scripts/util'; import { keccak256 } from '@ethersproject/keccak256'; import { toUtf8Bytes } from '@ethersproject/strings'; +import {ChargeHandler__factory, GatewayToken__factory, IGatewayToken__factory } from '../typechain-types'; const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const { deployments, getNamedAccounts, ethers } = hre; @@ -13,20 +14,18 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const chargeHandler = await deployments.get('ChargeHandlerProxy'); const args = ['Gateway Protocol', 'PASS', deployer, flagsStorage.address, chargeHandler.address, []]; - const gatewayTokenContract = await deployProxyCreate2(hre, 'GatewayToken', args); + const gatewayTokenContract = await deployProxyCreate2(hre, 'GatewayToken', args, GatewayToken__factory.connect); // set the gateway token contract as the owner of the chargeHandler - const chargeHandlerContract = (await hre.ethers.getContractAt('ChargeHandler', chargeHandler.address)).connect( - deployerSigner, - ); + const chargeHandlerContract = ChargeHandler__factory.connect(chargeHandler.address, deployerSigner); + console.log('deployer: ' + deployer); - console.log('setting chargeHandler charge caller to ' + gatewayTokenContract.address); - await chargeHandlerContract.setRole(keccak256(toUtf8Bytes('CHARGE_CALLER_ROLE')), gatewayTokenContract.address); + const gatewayTokenAddress = await gatewayTokenContract.getAddress(); + await chargeHandlerContract.setRole(keccak256(toUtf8Bytes('CHARGE_CALLER_ROLE')), gatewayTokenAddress); console.log('Adding charge handler to gateway token'); await gatewayTokenContract.updateChargeHandler(chargeHandler.address); - const gatewayTokenAddress = gatewayTokenContract.address; console.log('deployed GatewayToken at ' + gatewayTokenAddress); }; diff --git a/ethereum/smart-contract/deploy/test-gatekeeper-network.ts b/ethereum/smart-contract/deploy/test-gatekeeper-network.ts index 610eabf5d..6705e4c75 100644 --- a/ethereum/smart-contract/deploy/test-gatekeeper-network.ts +++ b/ethereum/smart-contract/deploy/test-gatekeeper-network.ts @@ -1,6 +1,7 @@ import { HardhatRuntimeEnvironment } from 'hardhat/types'; import { DeployFunction } from 'hardhat-deploy/types'; import { getAccounts } from '../scripts/util'; +import { GatewayToken__factory } from '../typechain-types'; const NULL_ADDRESS = '0x0000000000000000000000000000000000000000'; const gatekeeperNetwork = 1; @@ -22,7 +23,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const gatewayToken = await deployments.get('GatewayTokenProxy'); - const token = (await ethers.getContractAt('GatewayToken', gatewayToken.address)).connect(deployerSigner); + const token = GatewayToken__factory.connect(gatewayToken.address, deployerSigner); // check if superadmin const isSuperAdmin = await token.isSuperAdmin(deployer); @@ -42,7 +43,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { ' on Gateway Token at ' + gatewayToken.address + ' using ' + - createNetworkTx.gasUsed.toNumber() + + createNetworkTx?.gasUsed.toString() + ' gas', ); } @@ -55,7 +56,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { ' address into Gateway Token at ' + gatewayToken.address + ' using ' + - addGatekeeperTx.gasUsed.toNumber() + + addGatekeeperTx?.gasUsed.toString() + ' gas', ); } else console.log(`gatekeeper ${gatekeeper} already in network ${gatekeeperNetwork}`); @@ -68,7 +69,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { ' address into Gateway Token at ' + gatewayToken.address + ' using ' + - addTestGatekeeperTx.gasUsed.toNumber() + + addTestGatekeeperTx?.gasUsed.toString() + ' gas', ); } else console.log(`gatekeeper ${testGatekeeper} already in network ${gatekeeperNetwork}`); @@ -81,7 +82,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { ' address into Gateway Token at ' + gatewayToken.address + ' using ' + - addCivicDevGatekeeperTx.gasUsed.toNumber() + + addCivicDevGatekeeperTx?.gasUsed.toString() + ' gas', ); } else console.log(`gatekeeper ${civicDevGatekeeper} already in network ${gatekeeperNetwork}`); @@ -94,7 +95,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { ' address into Gateway Token at ' + gatewayToken.address + ' using ' + - addCivicProdGatekeeperTx.gasUsed.toNumber() + + addCivicProdGatekeeperTx?.gasUsed.toString() + ' gas', ); } else console.log(`gatekeeper ${civicProdGatekeeper} already in network ${gatekeeperNetwork}`); diff --git a/ethereum/smart-contract/deploy/upgrade-v1.ts b/ethereum/smart-contract/deploy/upgrade-v1.ts index 45c561f63..e69da7d42 100644 --- a/ethereum/smart-contract/deploy/upgrade-v1.ts +++ b/ethereum/smart-contract/deploy/upgrade-v1.ts @@ -9,7 +9,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const gatewayTokenFactory = await ethers.getContractFactory('GatewayToken'); const deployedGatewayToken = await deployments.get('GatewayTokenProxy'); await upgrades.forceImport(deployedGatewayToken.address, gatewayTokenFactoryV0); - await upgrades.upgradeProxy(deployedGatewayToken, gatewayTokenFactory); + await upgrades.upgradeProxy(deployedGatewayToken.address, gatewayTokenFactory); console.log('upgraded GatewayToken at ' + deployedGatewayToken.address); }; diff --git a/ethereum/smart-contract/deploy/upgrade-v2.ts b/ethereum/smart-contract/deploy/upgrade-v2.ts index 5c1ad3435..0aa27c1f8 100644 --- a/ethereum/smart-contract/deploy/upgrade-v2.ts +++ b/ethereum/smart-contract/deploy/upgrade-v2.ts @@ -11,7 +11,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const chargeHandler = await deployments.get('ChargeHandlerProxy'); // upgrade the gateway token - await upgrades.upgradeProxy(deployedGatewayToken, gatewayTokenFactory); + await upgrades.upgradeProxy(deployedGatewayToken.address, gatewayTokenFactory); // wait for the upgrade to be mined console.log('Upgraded - waiting 30s'); diff --git a/ethereum/smart-contract/hardhat.config.ts b/ethereum/smart-contract/hardhat.config.ts index 629c39647..9acdebe30 100644 --- a/ethereum/smart-contract/hardhat.config.ts +++ b/ethereum/smart-contract/hardhat.config.ts @@ -1,11 +1,11 @@ import 'dotenv/config'; import * as dotenv from 'dotenv'; import '@nomicfoundation/hardhat-toolbox'; -import '@nomiclabs/hardhat-ethers'; +import '@nomicfoundation/hardhat-ethers'; import '@typechain/hardhat'; import 'hardhat-deploy'; import '@nomiclabs/hardhat-solhint'; -import '@nomiclabs/hardhat-etherscan'; +// import '@nomiclabs/hardhat-etherscan'; import '@openzeppelin/hardhat-upgrades'; import 'hardhat-contract-sizer'; import './config/tasks'; @@ -99,7 +99,7 @@ module.exports = { }, typechain: { outDir: 'typechain-types', - // target: 'ethers-v5', + target: 'ethers-v6', // alwaysGenerateOverloads: false, // should overloads with full signatures like deposit(uint256) be generated always, even if there are no overloads? // externalArtifacts: ['externalArtifacts/*.json'], // optional array of glob patterns with external artifacts to process (for example external libs from node_modules) // dontOverrideCompile: false // defaults to false diff --git a/ethereum/smart-contract/package.json b/ethereum/smart-contract/package.json index 8f1f28fe1..fc7cb24ec 100644 --- a/ethereum/smart-contract/package.json +++ b/ethereum/smart-contract/package.json @@ -26,12 +26,11 @@ "devDependencies": { "@ethersproject/abi": "^5.7.0", "@ethersproject/providers": "^5.7.2", - "@nomicfoundation/hardhat-chai-matchers": "^1.0.6", - "@nomicfoundation/hardhat-ethers": "^3.0.0", + "@nomicfoundation/hardhat-chai-matchers": "^2.0.6", + "@nomicfoundation/hardhat-ethers": "^3.0.6", "@nomicfoundation/hardhat-network-helpers": "^1.0.8", - "@nomicfoundation/hardhat-toolbox": "^2.0.2", + "@nomicfoundation/hardhat-toolbox": "^5.0.0", "@nomicfoundation/hardhat-verify": "^2.0.7", - "@nomiclabs/hardhat-ethers": "^2.2.3", "@nomiclabs/hardhat-etherscan": "^3.1.6", "@nomiclabs/hardhat-solhint": "^3.0.0", "@openzeppelin/contracts": "^4.8.0", @@ -63,5 +62,10 @@ "ts-node": "^10.7.0", "typechain": "^8.3.2", "typescript": "^4.6.3" + }, + "dependencies": { + "@nomicfoundation/hardhat-ignition": "^0.15.4", + "@nomicfoundation/hardhat-ignition-ethers": "^0.15.4", + "@nomicfoundation/ignition-core": "^0.15.4" } } diff --git a/ethereum/smart-contract/scripts/util.ts b/ethereum/smart-contract/scripts/util.ts index c2b4689a6..1b9aca5d8 100644 --- a/ethereum/smart-contract/scripts/util.ts +++ b/ethereum/smart-contract/scripts/util.ts @@ -5,6 +5,8 @@ import { HardhatRuntimeEnvironment } from 'hardhat/types'; import ERC1967ProxyLatest from '@openzeppelin/upgrades-core/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json'; import ERC1967Proxy from '../artifacts/v0/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json'; import { getInitializerData } from '@openzeppelin/hardhat-upgrades/dist/utils'; +import { IFlagsStorage__factory } from '../typechain-types'; +import {BaseContract, ContractRunner} from "ethers"; // A bug in hardhat leads to undefined entries in the accounts if any are duplicates. // This function normalises this by creating defaults for each one @@ -17,10 +19,11 @@ export const getAccounts = async (hre: HardhatRuntimeEnvironment) => { gatekeeper: gatekeeper || authority || deployer, }; }; -export const deployProxyCreate2 = async ( +export const deployProxyCreate2 = async ( hre: HardhatRuntimeEnvironment, contractName: string, args: any[], + connectFn: (address: string, runner: ContractRunner) => T, useLatestProxy = true, ) => { const { getNamedAccounts, deployments, ethers } = hre; @@ -47,5 +50,6 @@ export const deployProxyCreate2 = async ( contract: proxyContract, }); - return ethers.getContractAt(contractName, proxy.address); + const signer = await ethers.getSigner(deployer); + return connectFn(proxy.address, signer); }; diff --git a/ethereum/smart-contract/tasks/issueGT.ts b/ethereum/smart-contract/tasks/issueGT.ts index 95092d428..0e2414f9e 100644 --- a/ethereum/smart-contract/tasks/issueGT.ts +++ b/ethereum/smart-contract/tasks/issueGT.ts @@ -3,7 +3,7 @@ import { Wallet } from 'ethers'; import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers'; import { DEFAULT_FORWARDER_ADDRESS, DEFAULT_GATEWAY_TOKEN_ADDRESS } from '../../gateway-eth-ts/src'; import { NULL_CHARGE } from '../test/utils/eth'; -import { signMetaTxRequest } from '../../gateway-eth-ts/src/utils/metatx'; +// import { signMetaTxRequest } from '../../gateway-eth-ts/src/utils/metatx'; import { IForwarder } from '../typechain-types'; export const issueGT = async (args: any, hre: HardhatRuntimeEnvironment) => { @@ -32,22 +32,23 @@ export const issueGT = async (args: any, hre: HardhatRuntimeEnvironment) => { let transactionReceipt; - if (!args.forwarded) { + // if (!args.forwarded) { transactionReceipt = await gatekeeper.sendTransaction(mintTx); - } else { - const forwarder = (await ethers.getContractAt('FlexibleNonceForwarder', DEFAULT_FORWARDER_ADDRESS)).connect(owner); - - const { request, signature } = await signMetaTxRequest(gatekeeper, forwarder as IForwarder, { - from: gatekeeper.address, - to: DEFAULT_GATEWAY_TOKEN_ADDRESS, - data: mintTx.data, - gas: 1_000_000, - }); - - const unsignedTx = await forwarder.populateTransaction.execute(request, signature); - - transactionReceipt = await owner.sendTransaction(unsignedTx); - } + // Requires ../gateway-eth so this is commented out to ensure building works without it + // } else { + // const forwarder = (await ethers.getContractAt('FlexibleNonceForwarder', DEFAULT_FORWARDER_ADDRESS)).connect(owner); + // + // const { request, signature } = await signMetaTxRequest(gatekeeper, forwarder as IForwarder, { + // from: gatekeeper.address, + // to: DEFAULT_GATEWAY_TOKEN_ADDRESS, + // data: mintTx.data, + // gas: 1_000_000, + // }); + // + // const unsignedTx = await forwarder.populateTransaction.execute(request, signature); + // + // transactionReceipt = await owner.sendTransaction(unsignedTx); + // } console.log(transactionReceipt); await transactionReceipt.wait(); diff --git a/ethereum/yarn.lock b/ethereum/yarn.lock index 2878e0ebc..2606cfd73 100644 --- a/ethereum/yarn.lock +++ b/ethereum/yarn.lock @@ -412,6 +412,17 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/properties" "^5.7.0" +"@ethersproject/address@5.6.1": + version "5.6.1" + resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.6.1.tgz#ab57818d9aefee919c5721d28cd31fd95eff413d" + integrity sha512-uOgF0kS5MJv9ZvCz7x6T2EXJSzotiybApn4XlOgoTX0xdtyVIJ7pF+6cGPxiEq/dpBiTfMiw7Yc81JcwhSYA0Q== + dependencies: + "@ethersproject/bignumber" "^5.6.2" + "@ethersproject/bytes" "^5.6.1" + "@ethersproject/keccak256" "^5.6.1" + "@ethersproject/logger" "^5.6.0" + "@ethersproject/rlp" "^5.6.1" + "@ethersproject/address@5.7.0", "@ethersproject/address@>=5.0.0-beta.128", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" @@ -438,7 +449,7 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/properties" "^5.7.0" -"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@>=5.0.0-beta.130", "@ethersproject/bignumber@^5.7.0": +"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@>=5.0.0-beta.130", "@ethersproject/bignumber@^5.6.2", "@ethersproject/bignumber@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== @@ -447,7 +458,7 @@ "@ethersproject/logger" "^5.7.0" bn.js "^5.2.1" -"@ethersproject/bytes@5.7.0", "@ethersproject/bytes@>=5.0.0-beta.129", "@ethersproject/bytes@^5.7.0": +"@ethersproject/bytes@5.7.0", "@ethersproject/bytes@>=5.0.0-beta.129", "@ethersproject/bytes@^5.6.1", "@ethersproject/bytes@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== @@ -529,7 +540,7 @@ aes-js "3.0.0" scrypt-js "3.0.1" -"@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@>=5.0.0-beta.127", "@ethersproject/keccak256@^5.7.0": +"@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@>=5.0.0-beta.127", "@ethersproject/keccak256@^5.6.1", "@ethersproject/keccak256@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== @@ -537,7 +548,7 @@ "@ethersproject/bytes" "^5.7.0" js-sha3 "0.8.0" -"@ethersproject/logger@5.7.0", "@ethersproject/logger@>=5.0.0-beta.129", "@ethersproject/logger@^5.7.0": +"@ethersproject/logger@5.7.0", "@ethersproject/logger@>=5.0.0-beta.129", "@ethersproject/logger@^5.6.0", "@ethersproject/logger@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== @@ -598,7 +609,7 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.7.0": +"@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.6.1", "@ethersproject/rlp@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== @@ -979,18 +990,17 @@ "@nomicfoundation/ethereumjs-rlp" "5.0.4" ethereum-cryptography "0.1.3" -"@nomicfoundation/hardhat-chai-matchers@^1.0.6": - version "1.0.6" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-chai-matchers/-/hardhat-chai-matchers-1.0.6.tgz#72a2e312e1504ee5dd73fe302932736432ba96bc" - integrity sha512-f5ZMNmabZeZegEfuxn/0kW+mm7+yV7VNDxLpMOMGXWFJ2l/Ct3QShujzDRF9cOkK9Ui/hbDeOWGZqyQALDXVCQ== +"@nomicfoundation/hardhat-chai-matchers@^2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-chai-matchers/-/hardhat-chai-matchers-2.0.6.tgz#ef88be3bd666adf29c06ac7882e96c8dbaaa32ba" + integrity sha512-Te1Uyo9oJcTCF0Jy9dztaLpshmlpjLf2yPtWXlXuLjMt3RRSmJLm/+rKVTW6gfadAEs12U/it6D0ZRnnRGiICQ== dependencies: - "@ethersproject/abi" "^5.1.2" "@types/chai-as-promised" "^7.1.3" chai-as-promised "^7.1.1" deep-eql "^4.0.1" ordinal "^1.0.3" -"@nomicfoundation/hardhat-ethers@^3.0.0": +"@nomicfoundation/hardhat-ethers@^3.0.6": version "3.0.6" resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-ethers/-/hardhat-ethers-3.0.6.tgz#e8ba7f9719de360c03501b85dae4999bb3a7e1c5" integrity sha512-/xzkFQAaHQhmIAYOQmvHBPwL+NkwLzT9gRZBsgWUYeV+E6pzXsBQsHfRYbAZ3XEYare+T7S+5Tg/1KDJgepSkA== @@ -998,6 +1008,23 @@ debug "^4.1.1" lodash.isequal "^4.5.0" +"@nomicfoundation/hardhat-ignition-ethers@^0.15.4": + version "0.15.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-ignition-ethers/-/hardhat-ignition-ethers-0.15.4.tgz#6c11ce93329478a987658c1cfe74f477d8c881c4" + integrity sha512-vY30V4b788GSziW/nOd0L/4IPw6mwpluahLs4+gPUUKWaHHGMA8OIeHaYpRRljM1i0M/Kg1yIozrDM/aeRebkg== + +"@nomicfoundation/hardhat-ignition@^0.15.4": + version "0.15.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-ignition/-/hardhat-ignition-0.15.4.tgz#20d6bec0274b135bec1a6c00d7a9e1a9f579322c" + integrity sha512-x1lhLN9ZRSJ9eiNY9AoinMdeQeU4LDQSQOIw90W9DiZIG/g9YUzcTEIY58QTi2TZOF8YFiF6vJqLSePCpi8R1Q== + dependencies: + "@nomicfoundation/ignition-core" "^0.15.4" + "@nomicfoundation/ignition-ui" "^0.15.4" + chalk "^4.0.0" + debug "^4.3.2" + fs-extra "^10.0.0" + prompts "^2.4.2" + "@nomicfoundation/hardhat-network-helpers@^1.0.8": version "1.0.10" resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-network-helpers/-/hardhat-network-helpers-1.0.10.tgz#c61042ceb104fdd6c10017859fdef6529c1d6585" @@ -1005,10 +1032,10 @@ dependencies: ethereumjs-util "^7.1.4" -"@nomicfoundation/hardhat-toolbox@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz#ec95f23b53cb4e71a1a7091380fa223aad18f156" - integrity sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg== +"@nomicfoundation/hardhat-toolbox@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-5.0.0.tgz#165b47f8a3d2bf668cc5d453ce7f496a1156948d" + integrity sha512-FnUtUC5PsakCbwiVNsqlXVIWG5JIb5CEZoSXbJUsEBun22Bivx2jhF1/q9iQbzuaGpJKFQyOhemPB2+XlEE6pQ== "@nomicfoundation/hardhat-verify@^2.0.7": version "2.0.7" @@ -1025,6 +1052,26 @@ table "^6.8.0" undici "^5.14.0" +"@nomicfoundation/ignition-core@^0.15.4": + version "0.15.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/ignition-core/-/ignition-core-0.15.4.tgz#92768dd851ccae92df3fddfa726540632aa01a57" + integrity sha512-i379lH+xOLFdaDv0KiNma550ZXCHc5ZkmKYhM44xyLMKBlvX6skUVFkgUjjN1gvprgOIxc17GVQXlR1R5FhGZA== + dependencies: + "@ethersproject/address" "5.6.1" + "@nomicfoundation/solidity-analyzer" "^0.1.1" + cbor "^9.0.0" + debug "^4.3.2" + ethers "^6.7.0" + fs-extra "^10.0.0" + immer "10.0.2" + lodash "4.17.21" + ndjson "2.0.0" + +"@nomicfoundation/ignition-ui@^0.15.4": + version "0.15.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/ignition-ui/-/ignition-ui-0.15.4.tgz#2e41a4048801689f2b4437d7242baa414aff69cf" + integrity sha512-cHbmuxmhso5n2zdIaaIW4p8NNzrFj0mrnv8ufhAZfM3s3IFrRoGc1zo8hI/n1CiOTPuqUbdZcB79d+2tCKtCNw== + "@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.1": version "0.1.1" resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-darwin-arm64/-/solidity-analyzer-darwin-arm64-0.1.1.tgz#4c858096b1c17fe58a474fe81b46815f93645c15" @@ -1075,7 +1122,7 @@ resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-win32-x64-msvc/-/solidity-analyzer-win32-x64-msvc-0.1.1.tgz#c9a44f7108646f083b82e851486e0f6aeb785836" integrity sha512-HrVJr6+WjIXGnw3Q9u6KQcbZCtk0caVWhCdFADySvRyUxJ8PnzlaP+MhwNE8oyT8OZ6ejHBRrrgjSqDCFXGirw== -"@nomicfoundation/solidity-analyzer@^0.1.0": +"@nomicfoundation/solidity-analyzer@^0.1.0", "@nomicfoundation/solidity-analyzer@^0.1.1": version "0.1.1" resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer/-/solidity-analyzer-0.1.1.tgz#f5f4d36d3f66752f59a57e7208cd856f3ddf6f2d" integrity sha512-1LMtXj1puAxyFusBgUIy5pZk3073cNXYnXUpuNKFghHbIit/xZgbk0AokpUADbNm3gyD6bFWl3LRFh3dhVdREg== @@ -1091,11 +1138,6 @@ "@nomicfoundation/solidity-analyzer-win32-ia32-msvc" "0.1.1" "@nomicfoundation/solidity-analyzer-win32-x64-msvc" "0.1.1" -"@nomiclabs/hardhat-ethers@^2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@nomiclabs/hardhat-ethers/-/hardhat-ethers-2.2.3.tgz#b41053e360c31a32c2640c9a45ee981a7e603fe0" - integrity sha512-YhzPdzb612X591FOe68q+qXVXGG2ANZRvDo0RRUtimev85rCrAlv/TLMEZw5c+kq9AbzocLTVX/h2jVIFPL9Xg== - "@nomiclabs/hardhat-etherscan@^3.1.6": version "3.1.8" resolved "https://registry.yarnpkg.com/@nomiclabs/hardhat-etherscan/-/hardhat-etherscan-3.1.8.tgz#3c12ee90b3733e0775e05111146ef9418d4f5a38" @@ -5480,7 +5522,7 @@ ethers@^5.0.13, ethers@^5.7.0, ethers@^5.7.2: "@ethersproject/web" "5.7.1" "@ethersproject/wordlists" "5.7.0" -ethers@^6.12.1: +ethers@^6.12.1, ethers@^6.7.0: version "6.12.1" resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.12.1.tgz#517ff6d66d4fd5433e38e903051da3e57c87ff37" integrity sha512-j6wcVoZf06nqEcBbDWkKg8Fp895SS96dSnTCjiXT+8vt2o02raTn4Lo9ERUuIVU5bAjoPYeA+7ytQFexFmLuVw== @@ -6894,6 +6936,11 @@ immediate@~3.2.3: resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.2.3.tgz#d140fa8f614659bd6541233097ddaac25cdd991c" integrity sha512-RrGCXRm/fRVqMIhqXrGEX9rRADavPiDFSoMb/k64i9XMk8uH4r/Omi5Ctierj6XzNecwDbO4WuFbDD1zmpl3Tg== +immer@10.0.2: + version "10.0.2" + resolved "https://registry.yarnpkg.com/immer/-/immer-10.0.2.tgz#11636c5b77acf529e059582d76faf338beb56141" + integrity sha512-Rx3CqeqQ19sxUtYV9CU911Vhy8/721wRFnJv3REVGWUmoAcIwzifTsdmJte/MV+0/XpM35LZdQMBGkRIoLPwQA== + immutable@^4.0.0-rc.12: version "4.3.6" resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.3.6.tgz#6a05f7858213238e587fb83586ffa3b4b27f0447" @@ -7581,7 +7628,7 @@ json-stable-stringify@^1.0.1: jsonify "^0.0.1" object-keys "^1.1.1" -json-stringify-safe@~5.0.1: +json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== @@ -7740,6 +7787,11 @@ klaw@^1.0.0: optionalDependencies: graceful-fs "^4.1.9" +kleur@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" + integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== + lcid@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" @@ -8006,7 +8058,7 @@ lodash@4.17.20: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== -lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4: +lodash@4.17.21, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -8592,6 +8644,17 @@ natural-compare@^1.4.0: resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== +ndjson@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ndjson/-/ndjson-2.0.0.tgz#320ac86f6fe53f5681897349b86ac6f43bfa3a19" + integrity sha512-nGl7LRGrzugTtaFcJMhLbpzJM6XdivmbkdlaGcrk/LXg2KL/YBC6z1g70xh0/al+oFuVFP8N8kiWRucmeEH/qQ== + dependencies: + json-stringify-safe "^5.0.1" + minimist "^1.2.5" + readable-stream "^3.6.0" + split2 "^3.0.0" + through2 "^4.0.0" + negotiator@0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" @@ -9390,6 +9453,14 @@ promise@^8.0.0: dependencies: asap "~2.0.6" +prompts@^2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" + integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== + dependencies: + kleur "^3.0.3" + sisteransi "^1.0.5" + proper-lockfile@^4.1.1: version "4.1.2" resolved "https://registry.yarnpkg.com/proper-lockfile/-/proper-lockfile-4.1.2.tgz#c8b9de2af6b2f1601067f98e01ac66baa223141f" @@ -9605,6 +9676,15 @@ read-pkg@^1.0.0: normalize-package-data "^2.3.2" path-type "^1.0.0" +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.6, readable-stream@^3.6.0: + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + readable-stream@^1.0.33: version "1.1.14" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" @@ -9628,15 +9708,6 @@ readable-stream@^2.0.0, readable-stream@^2.0.5, readable-stream@^2.2.2, readable string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^3.0.6, readable-stream@^3.6.0: - version "3.6.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" - integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - readable-stream@~1.0.15: version "1.0.34" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" @@ -10292,6 +10363,11 @@ simple-get@^2.7.0: once "^1.3.1" simple-concat "^1.0.0" +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== + slash@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" @@ -10574,6 +10650,13 @@ split-string@^3.0.1, split-string@^3.0.2: dependencies: extend-shallow "^3.0.0" +split2@^3.0.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f" + integrity sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg== + dependencies: + readable-stream "^3.0.0" + split@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" @@ -10961,6 +11044,13 @@ through2@^2.0.3: readable-stream "~2.3.6" xtend "~4.0.1" +through2@^4.0.0: + version "4.0.2" + resolved "https://registry.yarnpkg.com/through2/-/through2-4.0.2.tgz#a7ce3ac2a7a8b0b966c80e7c49f0484c3b239764" + integrity sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw== + dependencies: + readable-stream "3" + through@2, "through@>=2.2.7 <3", through@^2.3.8, through@~2.3, through@~2.3.4: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"