diff --git a/src/assets/abi/MultiSendCallOnly.ts b/src/assets/abi/MultiSendCallOnly.ts new file mode 100644 index 0000000000..92d706822d --- /dev/null +++ b/src/assets/abi/MultiSendCallOnly.ts @@ -0,0 +1,11 @@ +const MultiSendCallOnlyAbi = [ + { + inputs: [{ internalType: 'bytes', name: 'transactions', type: 'bytes' }], + name: 'multiSend', + outputs: [], + stateMutability: 'payable', + type: 'function', + }, +] as const; + +export default MultiSendCallOnlyAbi; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/index.ts deleted file mode 100644 index 24cb2c9b9e..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as safeContracts from "./safe-contracts"; -export type { safeContracts }; -import type * as zodiac from "./zodiac"; -export type { zodiac }; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/GnosisSafe.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/GnosisSafe.ts deleted file mode 100644 index 633884a9e0..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/GnosisSafe.ts +++ /dev/null @@ -1,1679 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 GnosisSafeInterface extends utils.Interface { - functions: { - "VERSION()": FunctionFragment; - "addOwnerWithThreshold(address,uint256)": FunctionFragment; - "approveHash(bytes32)": FunctionFragment; - "approvedHashes(address,bytes32)": FunctionFragment; - "changeThreshold(uint256)": FunctionFragment; - "checkNSignatures(bytes32,bytes,bytes,uint256)": FunctionFragment; - "checkSignatures(bytes32,bytes,bytes)": FunctionFragment; - "disableModule(address,address)": FunctionFragment; - "domainSeparator()": FunctionFragment; - "enableModule(address)": FunctionFragment; - "encodeTransactionData(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)": FunctionFragment; - "execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)": FunctionFragment; - "execTransactionFromModule(address,uint256,bytes,uint8)": FunctionFragment; - "execTransactionFromModuleReturnData(address,uint256,bytes,uint8)": FunctionFragment; - "getChainId()": FunctionFragment; - "getModulesPaginated(address,uint256)": FunctionFragment; - "getOwners()": FunctionFragment; - "getStorageAt(uint256,uint256)": FunctionFragment; - "getThreshold()": FunctionFragment; - "getTransactionHash(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)": FunctionFragment; - "isModuleEnabled(address)": FunctionFragment; - "isOwner(address)": FunctionFragment; - "nonce()": FunctionFragment; - "removeOwner(address,address,uint256)": FunctionFragment; - "requiredTxGas(address,uint256,bytes,uint8)": FunctionFragment; - "setFallbackHandler(address)": FunctionFragment; - "setGuard(address)": FunctionFragment; - "setup(address[],uint256,address,bytes,address,address,uint256,address)": FunctionFragment; - "signedMessages(bytes32)": FunctionFragment; - "simulateAndRevert(address,bytes)": FunctionFragment; - "swapOwner(address,address,address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "VERSION" - | "addOwnerWithThreshold" - | "approveHash" - | "approvedHashes" - | "changeThreshold" - | "checkNSignatures" - | "checkSignatures" - | "disableModule" - | "domainSeparator" - | "enableModule" - | "encodeTransactionData" - | "execTransaction" - | "execTransactionFromModule" - | "execTransactionFromModuleReturnData" - | "getChainId" - | "getModulesPaginated" - | "getOwners" - | "getStorageAt" - | "getThreshold" - | "getTransactionHash" - | "isModuleEnabled" - | "isOwner" - | "nonce" - | "removeOwner" - | "requiredTxGas" - | "setFallbackHandler" - | "setGuard" - | "setup" - | "signedMessages" - | "simulateAndRevert" - | "swapOwner" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "VERSION", values?: undefined): string; - encodeFunctionData( - functionFragment: "addOwnerWithThreshold", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approveHash", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approvedHashes", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "changeThreshold", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "checkNSignatures", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "checkSignatures", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "disableModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "domainSeparator", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "enableModule", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "encodeTransactionData", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "execTransaction", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "execTransactionFromModule", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "execTransactionFromModuleReturnData", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getChainId", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getModulesPaginated", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "getOwners", values?: undefined): string; - encodeFunctionData( - functionFragment: "getStorageAt", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getThreshold", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getTransactionHash", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "isModuleEnabled", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isOwner", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "nonce", values?: undefined): string; - encodeFunctionData( - functionFragment: "removeOwner", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "requiredTxGas", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setFallbackHandler", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setGuard", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setup", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "signedMessages", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "simulateAndRevert", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "swapOwner", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "addOwnerWithThreshold", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approveHash", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approvedHashes", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "changeThreshold", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "checkNSignatures", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "checkSignatures", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "disableModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "domainSeparator", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "enableModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "encodeTransactionData", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "execTransaction", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "execTransactionFromModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "execTransactionFromModuleReturnData", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getChainId", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getModulesPaginated", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getOwners", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getStorageAt", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getThreshold", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTransactionHash", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isModuleEnabled", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "isOwner", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonce", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "removeOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requiredTxGas", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setFallbackHandler", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setGuard", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setup", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "signedMessages", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "simulateAndRevert", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "swapOwner", data: BytesLike): Result; - - events: { - "AddedOwner(address)": EventFragment; - "ApproveHash(bytes32,address)": EventFragment; - "ChangedFallbackHandler(address)": EventFragment; - "ChangedGuard(address)": EventFragment; - "ChangedThreshold(uint256)": EventFragment; - "DisabledModule(address)": EventFragment; - "EnabledModule(address)": EventFragment; - "ExecutionFailure(bytes32,uint256)": EventFragment; - "ExecutionFromModuleFailure(address)": EventFragment; - "ExecutionFromModuleSuccess(address)": EventFragment; - "ExecutionSuccess(bytes32,uint256)": EventFragment; - "RemovedOwner(address)": EventFragment; - "SafeReceived(address,uint256)": EventFragment; - "SafeSetup(address,address[],uint256,address,address)": EventFragment; - "SignMsg(bytes32)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AddedOwner"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApproveHash"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ChangedFallbackHandler"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ChangedGuard"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ChangedThreshold"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DisabledModule"): EventFragment; - getEvent(nameOrSignatureOrTopic: "EnabledModule"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ExecutionFailure"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ExecutionFromModuleFailure"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ExecutionFromModuleSuccess"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ExecutionSuccess"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RemovedOwner"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SafeReceived"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SafeSetup"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SignMsg"): EventFragment; -} - -export interface AddedOwnerEventObject { - owner: string; -} -export type AddedOwnerEvent = TypedEvent<[string], AddedOwnerEventObject>; - -export type AddedOwnerEventFilter = TypedEventFilter; - -export interface ApproveHashEventObject { - approvedHash: string; - owner: string; -} -export type ApproveHashEvent = TypedEvent< - [string, string], - ApproveHashEventObject ->; - -export type ApproveHashEventFilter = TypedEventFilter; - -export interface ChangedFallbackHandlerEventObject { - handler: string; -} -export type ChangedFallbackHandlerEvent = TypedEvent< - [string], - ChangedFallbackHandlerEventObject ->; - -export type ChangedFallbackHandlerEventFilter = - TypedEventFilter; - -export interface ChangedGuardEventObject { - guard: string; -} -export type ChangedGuardEvent = TypedEvent<[string], ChangedGuardEventObject>; - -export type ChangedGuardEventFilter = TypedEventFilter; - -export interface ChangedThresholdEventObject { - threshold: BigNumber; -} -export type ChangedThresholdEvent = TypedEvent< - [BigNumber], - ChangedThresholdEventObject ->; - -export type ChangedThresholdEventFilter = - TypedEventFilter; - -export interface DisabledModuleEventObject { - module: string; -} -export type DisabledModuleEvent = TypedEvent< - [string], - DisabledModuleEventObject ->; - -export type DisabledModuleEventFilter = TypedEventFilter; - -export interface EnabledModuleEventObject { - module: string; -} -export type EnabledModuleEvent = TypedEvent<[string], EnabledModuleEventObject>; - -export type EnabledModuleEventFilter = TypedEventFilter; - -export interface ExecutionFailureEventObject { - txHash: string; - payment: BigNumber; -} -export type ExecutionFailureEvent = TypedEvent< - [string, BigNumber], - ExecutionFailureEventObject ->; - -export type ExecutionFailureEventFilter = - TypedEventFilter; - -export interface ExecutionFromModuleFailureEventObject { - module: string; -} -export type ExecutionFromModuleFailureEvent = TypedEvent< - [string], - ExecutionFromModuleFailureEventObject ->; - -export type ExecutionFromModuleFailureEventFilter = - TypedEventFilter; - -export interface ExecutionFromModuleSuccessEventObject { - module: string; -} -export type ExecutionFromModuleSuccessEvent = TypedEvent< - [string], - ExecutionFromModuleSuccessEventObject ->; - -export type ExecutionFromModuleSuccessEventFilter = - TypedEventFilter; - -export interface ExecutionSuccessEventObject { - txHash: string; - payment: BigNumber; -} -export type ExecutionSuccessEvent = TypedEvent< - [string, BigNumber], - ExecutionSuccessEventObject ->; - -export type ExecutionSuccessEventFilter = - TypedEventFilter; - -export interface RemovedOwnerEventObject { - owner: string; -} -export type RemovedOwnerEvent = TypedEvent<[string], RemovedOwnerEventObject>; - -export type RemovedOwnerEventFilter = TypedEventFilter; - -export interface SafeReceivedEventObject { - sender: string; - value: BigNumber; -} -export type SafeReceivedEvent = TypedEvent< - [string, BigNumber], - SafeReceivedEventObject ->; - -export type SafeReceivedEventFilter = TypedEventFilter; - -export interface SafeSetupEventObject { - initiator: string; - owners: string[]; - threshold: BigNumber; - initializer: string; - fallbackHandler: string; -} -export type SafeSetupEvent = TypedEvent< - [string, string[], BigNumber, string, string], - SafeSetupEventObject ->; - -export type SafeSetupEventFilter = TypedEventFilter; - -export interface SignMsgEventObject { - msgHash: string; -} -export type SignMsgEvent = TypedEvent<[string], SignMsgEventObject>; - -export type SignMsgEventFilter = TypedEventFilter; - -export interface GnosisSafe extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GnosisSafeInterface; - - 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: { - VERSION(overrides?: CallOverrides): Promise<[string]>; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approveHash( - hashToApprove: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approvedHashes( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkNSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - requiredSignatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[void]>; - - checkSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[void]>; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - domainSeparator(overrides?: CallOverrides): Promise<[string]>; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - encodeTransactionData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - execTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getChainId(overrides?: CallOverrides): Promise<[BigNumber]>; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - getOwners(overrides?: CallOverrides): Promise<[string[]]>; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getThreshold(overrides?: CallOverrides): Promise<[BigNumber]>; - - getTransactionHash( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - nonce(overrides?: CallOverrides): Promise<[BigNumber]>; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requiredTxGas( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setup( - _owners: PromiseOrValue[], - _threshold: PromiseOrValue, - to: PromiseOrValue, - data: PromiseOrValue, - fallbackHandler: PromiseOrValue, - paymentToken: PromiseOrValue, - payment: PromiseOrValue, - paymentReceiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - signedMessages( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - VERSION(overrides?: CallOverrides): Promise; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approveHash( - hashToApprove: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approvedHashes( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkNSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - requiredSignatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - domainSeparator(overrides?: CallOverrides): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - encodeTransactionData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getChainId(overrides?: CallOverrides): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - getOwners(overrides?: CallOverrides): Promise; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - getTransactionHash( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - nonce(overrides?: CallOverrides): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requiredTxGas( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setup( - _owners: PromiseOrValue[], - _threshold: PromiseOrValue, - to: PromiseOrValue, - data: PromiseOrValue, - fallbackHandler: PromiseOrValue, - paymentToken: PromiseOrValue, - payment: PromiseOrValue, - paymentReceiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - signedMessages( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - VERSION(overrides?: CallOverrides): Promise; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approveHash( - hashToApprove: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approvedHashes( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkNSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - requiredSignatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - domainSeparator(overrides?: CallOverrides): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - encodeTransactionData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean, string] & { success: boolean; returnData: string }>; - - getChainId(overrides?: CallOverrides): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - getOwners(overrides?: CallOverrides): Promise; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - getTransactionHash( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - nonce(overrides?: CallOverrides): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - requiredTxGas( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setGuard( - guard: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setup( - _owners: PromiseOrValue[], - _threshold: PromiseOrValue, - to: PromiseOrValue, - data: PromiseOrValue, - fallbackHandler: PromiseOrValue, - paymentToken: PromiseOrValue, - payment: PromiseOrValue, - paymentReceiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - signedMessages( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "AddedOwner(address)"(owner?: null): AddedOwnerEventFilter; - AddedOwner(owner?: null): AddedOwnerEventFilter; - - "ApproveHash(bytes32,address)"( - approvedHash?: PromiseOrValue | null, - owner?: PromiseOrValue | null - ): ApproveHashEventFilter; - ApproveHash( - approvedHash?: PromiseOrValue | null, - owner?: PromiseOrValue | null - ): ApproveHashEventFilter; - - "ChangedFallbackHandler(address)"( - handler?: null - ): ChangedFallbackHandlerEventFilter; - ChangedFallbackHandler(handler?: null): ChangedFallbackHandlerEventFilter; - - "ChangedGuard(address)"(guard?: null): ChangedGuardEventFilter; - ChangedGuard(guard?: null): ChangedGuardEventFilter; - - "ChangedThreshold(uint256)"(threshold?: null): ChangedThresholdEventFilter; - ChangedThreshold(threshold?: null): ChangedThresholdEventFilter; - - "DisabledModule(address)"(module?: null): DisabledModuleEventFilter; - DisabledModule(module?: null): DisabledModuleEventFilter; - - "EnabledModule(address)"(module?: null): EnabledModuleEventFilter; - EnabledModule(module?: null): EnabledModuleEventFilter; - - "ExecutionFailure(bytes32,uint256)"( - txHash?: null, - payment?: null - ): ExecutionFailureEventFilter; - ExecutionFailure( - txHash?: null, - payment?: null - ): ExecutionFailureEventFilter; - - "ExecutionFromModuleFailure(address)"( - module?: PromiseOrValue | null - ): ExecutionFromModuleFailureEventFilter; - ExecutionFromModuleFailure( - module?: PromiseOrValue | null - ): ExecutionFromModuleFailureEventFilter; - - "ExecutionFromModuleSuccess(address)"( - module?: PromiseOrValue | null - ): ExecutionFromModuleSuccessEventFilter; - ExecutionFromModuleSuccess( - module?: PromiseOrValue | null - ): ExecutionFromModuleSuccessEventFilter; - - "ExecutionSuccess(bytes32,uint256)"( - txHash?: null, - payment?: null - ): ExecutionSuccessEventFilter; - ExecutionSuccess( - txHash?: null, - payment?: null - ): ExecutionSuccessEventFilter; - - "RemovedOwner(address)"(owner?: null): RemovedOwnerEventFilter; - RemovedOwner(owner?: null): RemovedOwnerEventFilter; - - "SafeReceived(address,uint256)"( - sender?: PromiseOrValue | null, - value?: null - ): SafeReceivedEventFilter; - SafeReceived( - sender?: PromiseOrValue | null, - value?: null - ): SafeReceivedEventFilter; - - "SafeSetup(address,address[],uint256,address,address)"( - initiator?: PromiseOrValue | null, - owners?: null, - threshold?: null, - initializer?: null, - fallbackHandler?: null - ): SafeSetupEventFilter; - SafeSetup( - initiator?: PromiseOrValue | null, - owners?: null, - threshold?: null, - initializer?: null, - fallbackHandler?: null - ): SafeSetupEventFilter; - - "SignMsg(bytes32)"( - msgHash?: PromiseOrValue | null - ): SignMsgEventFilter; - SignMsg(msgHash?: PromiseOrValue | null): SignMsgEventFilter; - }; - - estimateGas: { - VERSION(overrides?: CallOverrides): Promise; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approveHash( - hashToApprove: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approvedHashes( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkNSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - requiredSignatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - domainSeparator(overrides?: CallOverrides): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - encodeTransactionData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getChainId(overrides?: CallOverrides): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getOwners(overrides?: CallOverrides): Promise; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - getTransactionHash( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - nonce(overrides?: CallOverrides): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requiredTxGas( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setup( - _owners: PromiseOrValue[], - _threshold: PromiseOrValue, - to: PromiseOrValue, - data: PromiseOrValue, - fallbackHandler: PromiseOrValue, - paymentToken: PromiseOrValue, - payment: PromiseOrValue, - paymentReceiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - signedMessages( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - VERSION(overrides?: CallOverrides): Promise; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approveHash( - hashToApprove: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approvedHashes( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkNSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - requiredSignatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - domainSeparator(overrides?: CallOverrides): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - encodeTransactionData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getChainId(overrides?: CallOverrides): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getOwners(overrides?: CallOverrides): Promise; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - getTransactionHash( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - nonce(overrides?: CallOverrides): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requiredTxGas( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setup( - _owners: PromiseOrValue[], - _threshold: PromiseOrValue, - to: PromiseOrValue, - data: PromiseOrValue, - fallbackHandler: PromiseOrValue, - paymentToken: PromiseOrValue, - payment: PromiseOrValue, - paymentReceiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - signedMessages( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/GnosisSafeL2.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/GnosisSafeL2.ts deleted file mode 100644 index 83ac3c6841..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/GnosisSafeL2.ts +++ /dev/null @@ -1,1773 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 GnosisSafeL2Interface extends utils.Interface { - functions: { - "VERSION()": FunctionFragment; - "addOwnerWithThreshold(address,uint256)": FunctionFragment; - "approveHash(bytes32)": FunctionFragment; - "approvedHashes(address,bytes32)": FunctionFragment; - "changeThreshold(uint256)": FunctionFragment; - "checkNSignatures(bytes32,bytes,bytes,uint256)": FunctionFragment; - "checkSignatures(bytes32,bytes,bytes)": FunctionFragment; - "disableModule(address,address)": FunctionFragment; - "domainSeparator()": FunctionFragment; - "enableModule(address)": FunctionFragment; - "encodeTransactionData(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)": FunctionFragment; - "execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)": FunctionFragment; - "execTransactionFromModule(address,uint256,bytes,uint8)": FunctionFragment; - "execTransactionFromModuleReturnData(address,uint256,bytes,uint8)": FunctionFragment; - "getChainId()": FunctionFragment; - "getModulesPaginated(address,uint256)": FunctionFragment; - "getOwners()": FunctionFragment; - "getStorageAt(uint256,uint256)": FunctionFragment; - "getThreshold()": FunctionFragment; - "getTransactionHash(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)": FunctionFragment; - "isModuleEnabled(address)": FunctionFragment; - "isOwner(address)": FunctionFragment; - "nonce()": FunctionFragment; - "removeOwner(address,address,uint256)": FunctionFragment; - "requiredTxGas(address,uint256,bytes,uint8)": FunctionFragment; - "setFallbackHandler(address)": FunctionFragment; - "setGuard(address)": FunctionFragment; - "setup(address[],uint256,address,bytes,address,address,uint256,address)": FunctionFragment; - "signedMessages(bytes32)": FunctionFragment; - "simulateAndRevert(address,bytes)": FunctionFragment; - "swapOwner(address,address,address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "VERSION" - | "addOwnerWithThreshold" - | "approveHash" - | "approvedHashes" - | "changeThreshold" - | "checkNSignatures" - | "checkSignatures" - | "disableModule" - | "domainSeparator" - | "enableModule" - | "encodeTransactionData" - | "execTransaction" - | "execTransactionFromModule" - | "execTransactionFromModuleReturnData" - | "getChainId" - | "getModulesPaginated" - | "getOwners" - | "getStorageAt" - | "getThreshold" - | "getTransactionHash" - | "isModuleEnabled" - | "isOwner" - | "nonce" - | "removeOwner" - | "requiredTxGas" - | "setFallbackHandler" - | "setGuard" - | "setup" - | "signedMessages" - | "simulateAndRevert" - | "swapOwner" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "VERSION", values?: undefined): string; - encodeFunctionData( - functionFragment: "addOwnerWithThreshold", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approveHash", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approvedHashes", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "changeThreshold", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "checkNSignatures", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "checkSignatures", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "disableModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "domainSeparator", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "enableModule", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "encodeTransactionData", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "execTransaction", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "execTransactionFromModule", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "execTransactionFromModuleReturnData", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getChainId", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getModulesPaginated", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "getOwners", values?: undefined): string; - encodeFunctionData( - functionFragment: "getStorageAt", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getThreshold", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getTransactionHash", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "isModuleEnabled", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isOwner", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "nonce", values?: undefined): string; - encodeFunctionData( - functionFragment: "removeOwner", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "requiredTxGas", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setFallbackHandler", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setGuard", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setup", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "signedMessages", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "simulateAndRevert", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "swapOwner", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "addOwnerWithThreshold", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approveHash", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approvedHashes", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "changeThreshold", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "checkNSignatures", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "checkSignatures", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "disableModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "domainSeparator", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "enableModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "encodeTransactionData", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "execTransaction", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "execTransactionFromModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "execTransactionFromModuleReturnData", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getChainId", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getModulesPaginated", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getOwners", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getStorageAt", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getThreshold", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTransactionHash", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isModuleEnabled", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "isOwner", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonce", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "removeOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requiredTxGas", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setFallbackHandler", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setGuard", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setup", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "signedMessages", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "simulateAndRevert", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "swapOwner", data: BytesLike): Result; - - events: { - "AddedOwner(address)": EventFragment; - "ApproveHash(bytes32,address)": EventFragment; - "ChangedFallbackHandler(address)": EventFragment; - "ChangedGuard(address)": EventFragment; - "ChangedThreshold(uint256)": EventFragment; - "DisabledModule(address)": EventFragment; - "EnabledModule(address)": EventFragment; - "ExecutionFailure(bytes32,uint256)": EventFragment; - "ExecutionFromModuleFailure(address)": EventFragment; - "ExecutionFromModuleSuccess(address)": EventFragment; - "ExecutionSuccess(bytes32,uint256)": EventFragment; - "RemovedOwner(address)": EventFragment; - "SafeModuleTransaction(address,address,uint256,bytes,uint8)": EventFragment; - "SafeMultiSigTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes,bytes)": EventFragment; - "SafeReceived(address,uint256)": EventFragment; - "SafeSetup(address,address[],uint256,address,address)": EventFragment; - "SignMsg(bytes32)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AddedOwner"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ApproveHash"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ChangedFallbackHandler"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ChangedGuard"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ChangedThreshold"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DisabledModule"): EventFragment; - getEvent(nameOrSignatureOrTopic: "EnabledModule"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ExecutionFailure"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ExecutionFromModuleFailure"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ExecutionFromModuleSuccess"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ExecutionSuccess"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RemovedOwner"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SafeModuleTransaction"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SafeMultiSigTransaction"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SafeReceived"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SafeSetup"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SignMsg"): EventFragment; -} - -export interface AddedOwnerEventObject { - owner: string; -} -export type AddedOwnerEvent = TypedEvent<[string], AddedOwnerEventObject>; - -export type AddedOwnerEventFilter = TypedEventFilter; - -export interface ApproveHashEventObject { - approvedHash: string; - owner: string; -} -export type ApproveHashEvent = TypedEvent< - [string, string], - ApproveHashEventObject ->; - -export type ApproveHashEventFilter = TypedEventFilter; - -export interface ChangedFallbackHandlerEventObject { - handler: string; -} -export type ChangedFallbackHandlerEvent = TypedEvent< - [string], - ChangedFallbackHandlerEventObject ->; - -export type ChangedFallbackHandlerEventFilter = - TypedEventFilter; - -export interface ChangedGuardEventObject { - guard: string; -} -export type ChangedGuardEvent = TypedEvent<[string], ChangedGuardEventObject>; - -export type ChangedGuardEventFilter = TypedEventFilter; - -export interface ChangedThresholdEventObject { - threshold: BigNumber; -} -export type ChangedThresholdEvent = TypedEvent< - [BigNumber], - ChangedThresholdEventObject ->; - -export type ChangedThresholdEventFilter = - TypedEventFilter; - -export interface DisabledModuleEventObject { - module: string; -} -export type DisabledModuleEvent = TypedEvent< - [string], - DisabledModuleEventObject ->; - -export type DisabledModuleEventFilter = TypedEventFilter; - -export interface EnabledModuleEventObject { - module: string; -} -export type EnabledModuleEvent = TypedEvent<[string], EnabledModuleEventObject>; - -export type EnabledModuleEventFilter = TypedEventFilter; - -export interface ExecutionFailureEventObject { - txHash: string; - payment: BigNumber; -} -export type ExecutionFailureEvent = TypedEvent< - [string, BigNumber], - ExecutionFailureEventObject ->; - -export type ExecutionFailureEventFilter = - TypedEventFilter; - -export interface ExecutionFromModuleFailureEventObject { - module: string; -} -export type ExecutionFromModuleFailureEvent = TypedEvent< - [string], - ExecutionFromModuleFailureEventObject ->; - -export type ExecutionFromModuleFailureEventFilter = - TypedEventFilter; - -export interface ExecutionFromModuleSuccessEventObject { - module: string; -} -export type ExecutionFromModuleSuccessEvent = TypedEvent< - [string], - ExecutionFromModuleSuccessEventObject ->; - -export type ExecutionFromModuleSuccessEventFilter = - TypedEventFilter; - -export interface ExecutionSuccessEventObject { - txHash: string; - payment: BigNumber; -} -export type ExecutionSuccessEvent = TypedEvent< - [string, BigNumber], - ExecutionSuccessEventObject ->; - -export type ExecutionSuccessEventFilter = - TypedEventFilter; - -export interface RemovedOwnerEventObject { - owner: string; -} -export type RemovedOwnerEvent = TypedEvent<[string], RemovedOwnerEventObject>; - -export type RemovedOwnerEventFilter = TypedEventFilter; - -export interface SafeModuleTransactionEventObject { - module: string; - to: string; - value: BigNumber; - data: string; - operation: number; -} -export type SafeModuleTransactionEvent = TypedEvent< - [string, string, BigNumber, string, number], - SafeModuleTransactionEventObject ->; - -export type SafeModuleTransactionEventFilter = - TypedEventFilter; - -export interface SafeMultiSigTransactionEventObject { - to: string; - value: BigNumber; - data: string; - operation: number; - safeTxGas: BigNumber; - baseGas: BigNumber; - gasPrice: BigNumber; - gasToken: string; - refundReceiver: string; - signatures: string; - additionalInfo: string; -} -export type SafeMultiSigTransactionEvent = TypedEvent< - [ - string, - BigNumber, - string, - number, - BigNumber, - BigNumber, - BigNumber, - string, - string, - string, - string - ], - SafeMultiSigTransactionEventObject ->; - -export type SafeMultiSigTransactionEventFilter = - TypedEventFilter; - -export interface SafeReceivedEventObject { - sender: string; - value: BigNumber; -} -export type SafeReceivedEvent = TypedEvent< - [string, BigNumber], - SafeReceivedEventObject ->; - -export type SafeReceivedEventFilter = TypedEventFilter; - -export interface SafeSetupEventObject { - initiator: string; - owners: string[]; - threshold: BigNumber; - initializer: string; - fallbackHandler: string; -} -export type SafeSetupEvent = TypedEvent< - [string, string[], BigNumber, string, string], - SafeSetupEventObject ->; - -export type SafeSetupEventFilter = TypedEventFilter; - -export interface SignMsgEventObject { - msgHash: string; -} -export type SignMsgEvent = TypedEvent<[string], SignMsgEventObject>; - -export type SignMsgEventFilter = TypedEventFilter; - -export interface GnosisSafeL2 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GnosisSafeL2Interface; - - 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: { - VERSION(overrides?: CallOverrides): Promise<[string]>; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approveHash( - hashToApprove: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approvedHashes( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkNSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - requiredSignatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[void]>; - - checkSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[void]>; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - domainSeparator(overrides?: CallOverrides): Promise<[string]>; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - encodeTransactionData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - execTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getChainId(overrides?: CallOverrides): Promise<[BigNumber]>; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - getOwners(overrides?: CallOverrides): Promise<[string[]]>; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getThreshold(overrides?: CallOverrides): Promise<[BigNumber]>; - - getTransactionHash( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - nonce(overrides?: CallOverrides): Promise<[BigNumber]>; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requiredTxGas( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setup( - _owners: PromiseOrValue[], - _threshold: PromiseOrValue, - to: PromiseOrValue, - data: PromiseOrValue, - fallbackHandler: PromiseOrValue, - paymentToken: PromiseOrValue, - payment: PromiseOrValue, - paymentReceiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - signedMessages( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - VERSION(overrides?: CallOverrides): Promise; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approveHash( - hashToApprove: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approvedHashes( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkNSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - requiredSignatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - domainSeparator(overrides?: CallOverrides): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - encodeTransactionData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getChainId(overrides?: CallOverrides): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - getOwners(overrides?: CallOverrides): Promise; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - getTransactionHash( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - nonce(overrides?: CallOverrides): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requiredTxGas( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setup( - _owners: PromiseOrValue[], - _threshold: PromiseOrValue, - to: PromiseOrValue, - data: PromiseOrValue, - fallbackHandler: PromiseOrValue, - paymentToken: PromiseOrValue, - payment: PromiseOrValue, - paymentReceiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - signedMessages( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - VERSION(overrides?: CallOverrides): Promise; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approveHash( - hashToApprove: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approvedHashes( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkNSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - requiredSignatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - domainSeparator(overrides?: CallOverrides): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - encodeTransactionData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean, string] & { success: boolean; returnData: string }>; - - getChainId(overrides?: CallOverrides): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - getOwners(overrides?: CallOverrides): Promise; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - getTransactionHash( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - nonce(overrides?: CallOverrides): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - requiredTxGas( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setGuard( - guard: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setup( - _owners: PromiseOrValue[], - _threshold: PromiseOrValue, - to: PromiseOrValue, - data: PromiseOrValue, - fallbackHandler: PromiseOrValue, - paymentToken: PromiseOrValue, - payment: PromiseOrValue, - paymentReceiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - signedMessages( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "AddedOwner(address)"(owner?: null): AddedOwnerEventFilter; - AddedOwner(owner?: null): AddedOwnerEventFilter; - - "ApproveHash(bytes32,address)"( - approvedHash?: PromiseOrValue | null, - owner?: PromiseOrValue | null - ): ApproveHashEventFilter; - ApproveHash( - approvedHash?: PromiseOrValue | null, - owner?: PromiseOrValue | null - ): ApproveHashEventFilter; - - "ChangedFallbackHandler(address)"( - handler?: null - ): ChangedFallbackHandlerEventFilter; - ChangedFallbackHandler(handler?: null): ChangedFallbackHandlerEventFilter; - - "ChangedGuard(address)"(guard?: null): ChangedGuardEventFilter; - ChangedGuard(guard?: null): ChangedGuardEventFilter; - - "ChangedThreshold(uint256)"(threshold?: null): ChangedThresholdEventFilter; - ChangedThreshold(threshold?: null): ChangedThresholdEventFilter; - - "DisabledModule(address)"(module?: null): DisabledModuleEventFilter; - DisabledModule(module?: null): DisabledModuleEventFilter; - - "EnabledModule(address)"(module?: null): EnabledModuleEventFilter; - EnabledModule(module?: null): EnabledModuleEventFilter; - - "ExecutionFailure(bytes32,uint256)"( - txHash?: null, - payment?: null - ): ExecutionFailureEventFilter; - ExecutionFailure( - txHash?: null, - payment?: null - ): ExecutionFailureEventFilter; - - "ExecutionFromModuleFailure(address)"( - module?: PromiseOrValue | null - ): ExecutionFromModuleFailureEventFilter; - ExecutionFromModuleFailure( - module?: PromiseOrValue | null - ): ExecutionFromModuleFailureEventFilter; - - "ExecutionFromModuleSuccess(address)"( - module?: PromiseOrValue | null - ): ExecutionFromModuleSuccessEventFilter; - ExecutionFromModuleSuccess( - module?: PromiseOrValue | null - ): ExecutionFromModuleSuccessEventFilter; - - "ExecutionSuccess(bytes32,uint256)"( - txHash?: null, - payment?: null - ): ExecutionSuccessEventFilter; - ExecutionSuccess( - txHash?: null, - payment?: null - ): ExecutionSuccessEventFilter; - - "RemovedOwner(address)"(owner?: null): RemovedOwnerEventFilter; - RemovedOwner(owner?: null): RemovedOwnerEventFilter; - - "SafeModuleTransaction(address,address,uint256,bytes,uint8)"( - module?: null, - to?: null, - value?: null, - data?: null, - operation?: null - ): SafeModuleTransactionEventFilter; - SafeModuleTransaction( - module?: null, - to?: null, - value?: null, - data?: null, - operation?: null - ): SafeModuleTransactionEventFilter; - - "SafeMultiSigTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes,bytes)"( - to?: null, - value?: null, - data?: null, - operation?: null, - safeTxGas?: null, - baseGas?: null, - gasPrice?: null, - gasToken?: null, - refundReceiver?: null, - signatures?: null, - additionalInfo?: null - ): SafeMultiSigTransactionEventFilter; - SafeMultiSigTransaction( - to?: null, - value?: null, - data?: null, - operation?: null, - safeTxGas?: null, - baseGas?: null, - gasPrice?: null, - gasToken?: null, - refundReceiver?: null, - signatures?: null, - additionalInfo?: null - ): SafeMultiSigTransactionEventFilter; - - "SafeReceived(address,uint256)"( - sender?: PromiseOrValue | null, - value?: null - ): SafeReceivedEventFilter; - SafeReceived( - sender?: PromiseOrValue | null, - value?: null - ): SafeReceivedEventFilter; - - "SafeSetup(address,address[],uint256,address,address)"( - initiator?: PromiseOrValue | null, - owners?: null, - threshold?: null, - initializer?: null, - fallbackHandler?: null - ): SafeSetupEventFilter; - SafeSetup( - initiator?: PromiseOrValue | null, - owners?: null, - threshold?: null, - initializer?: null, - fallbackHandler?: null - ): SafeSetupEventFilter; - - "SignMsg(bytes32)"( - msgHash?: PromiseOrValue | null - ): SignMsgEventFilter; - SignMsg(msgHash?: PromiseOrValue | null): SignMsgEventFilter; - }; - - estimateGas: { - VERSION(overrides?: CallOverrides): Promise; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approveHash( - hashToApprove: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approvedHashes( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkNSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - requiredSignatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - domainSeparator(overrides?: CallOverrides): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - encodeTransactionData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getChainId(overrides?: CallOverrides): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getOwners(overrides?: CallOverrides): Promise; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - getTransactionHash( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - nonce(overrides?: CallOverrides): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requiredTxGas( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setup( - _owners: PromiseOrValue[], - _threshold: PromiseOrValue, - to: PromiseOrValue, - data: PromiseOrValue, - fallbackHandler: PromiseOrValue, - paymentToken: PromiseOrValue, - payment: PromiseOrValue, - paymentReceiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - signedMessages( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - VERSION(overrides?: CallOverrides): Promise; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approveHash( - hashToApprove: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - approvedHashes( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkNSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - requiredSignatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkSignatures( - dataHash: PromiseOrValue, - data: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - domainSeparator(overrides?: CallOverrides): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - encodeTransactionData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getChainId(overrides?: CallOverrides): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getOwners(overrides?: CallOverrides): Promise; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - getTransactionHash( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - _nonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - nonce(overrides?: CallOverrides): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requiredTxGas( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setup( - _owners: PromiseOrValue[], - _threshold: PromiseOrValue, - to: PromiseOrValue, - data: PromiseOrValue, - fallbackHandler: PromiseOrValue, - paymentToken: PromiseOrValue, - payment: PromiseOrValue, - paymentReceiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - signedMessages( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/FallbackManager.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/FallbackManager.ts deleted file mode 100644 index 009f51707d..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/FallbackManager.ts +++ /dev/null @@ -1,129 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 FallbackManagerInterface extends utils.Interface { - functions: { - "setFallbackHandler(address)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "setFallbackHandler"): FunctionFragment; - - encodeFunctionData( - functionFragment: "setFallbackHandler", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "setFallbackHandler", - data: BytesLike - ): Result; - - events: { - "ChangedFallbackHandler(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "ChangedFallbackHandler"): EventFragment; -} - -export interface ChangedFallbackHandlerEventObject { - handler: string; -} -export type ChangedFallbackHandlerEvent = TypedEvent< - [string], - ChangedFallbackHandlerEventObject ->; - -export type ChangedFallbackHandlerEventFilter = - TypedEventFilter; - -export interface FallbackManager extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: FallbackManagerInterface; - - 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: { - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - setFallbackHandler( - handler: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "ChangedFallbackHandler(address)"( - handler?: null - ): ChangedFallbackHandlerEventFilter; - ChangedFallbackHandler(handler?: null): ChangedFallbackHandlerEventFilter; - }; - - estimateGas: { - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - setFallbackHandler( - handler: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/Guard.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/Guard.ts deleted file mode 100644 index d89ae86600..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/Guard.ts +++ /dev/null @@ -1,209 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 GuardInterface extends utils.Interface { - functions: { - "checkAfterExecution(bytes32,bool)": FunctionFragment; - "checkTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes,address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "checkAfterExecution" | "checkTransaction" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "checkAfterExecution", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "checkTransaction", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "checkAfterExecution", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "checkTransaction", - data: BytesLike - ): Result; - - events: {}; -} - -export interface Guard extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GuardInterface; - - 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: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/GuardManager.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/GuardManager.ts deleted file mode 100644 index b068341ed7..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/GuardManager.ts +++ /dev/null @@ -1,120 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 GuardManagerInterface extends utils.Interface { - functions: { - "setGuard(address)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "setGuard"): FunctionFragment; - - encodeFunctionData( - functionFragment: "setGuard", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "setGuard", data: BytesLike): Result; - - events: { - "ChangedGuard(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "ChangedGuard"): EventFragment; -} - -export interface ChangedGuardEventObject { - guard: string; -} -export type ChangedGuardEvent = TypedEvent<[string], ChangedGuardEventObject>; - -export type ChangedGuardEventFilter = TypedEventFilter; - -export interface GuardManager extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GuardManagerInterface; - - 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: { - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - setGuard( - guard: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "ChangedGuard(address)"(guard?: null): ChangedGuardEventFilter; - ChangedGuard(guard?: null): ChangedGuardEventFilter; - }; - - estimateGas: { - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - setGuard( - guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/index.ts deleted file mode 100644 index a6d98388c5..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { Guard } from "./Guard"; -export type { GuardManager } from "./GuardManager"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/ModuleManager.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/ModuleManager.ts deleted file mode 100644 index 96a34c9056..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/ModuleManager.ts +++ /dev/null @@ -1,407 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 ModuleManagerInterface extends utils.Interface { - functions: { - "disableModule(address,address)": FunctionFragment; - "enableModule(address)": FunctionFragment; - "execTransactionFromModule(address,uint256,bytes,uint8)": FunctionFragment; - "execTransactionFromModuleReturnData(address,uint256,bytes,uint8)": FunctionFragment; - "getModulesPaginated(address,uint256)": FunctionFragment; - "isModuleEnabled(address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "disableModule" - | "enableModule" - | "execTransactionFromModule" - | "execTransactionFromModuleReturnData" - | "getModulesPaginated" - | "isModuleEnabled" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "disableModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "enableModule", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "execTransactionFromModule", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "execTransactionFromModuleReturnData", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getModulesPaginated", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isModuleEnabled", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "disableModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "enableModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "execTransactionFromModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "execTransactionFromModuleReturnData", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getModulesPaginated", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isModuleEnabled", - data: BytesLike - ): Result; - - events: { - "DisabledModule(address)": EventFragment; - "EnabledModule(address)": EventFragment; - "ExecutionFromModuleFailure(address)": EventFragment; - "ExecutionFromModuleSuccess(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "DisabledModule"): EventFragment; - getEvent(nameOrSignatureOrTopic: "EnabledModule"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ExecutionFromModuleFailure"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ExecutionFromModuleSuccess"): EventFragment; -} - -export interface DisabledModuleEventObject { - module: string; -} -export type DisabledModuleEvent = TypedEvent< - [string], - DisabledModuleEventObject ->; - -export type DisabledModuleEventFilter = TypedEventFilter; - -export interface EnabledModuleEventObject { - module: string; -} -export type EnabledModuleEvent = TypedEvent<[string], EnabledModuleEventObject>; - -export type EnabledModuleEventFilter = TypedEventFilter; - -export interface ExecutionFromModuleFailureEventObject { - module: string; -} -export type ExecutionFromModuleFailureEvent = TypedEvent< - [string], - ExecutionFromModuleFailureEventObject ->; - -export type ExecutionFromModuleFailureEventFilter = - TypedEventFilter; - -export interface ExecutionFromModuleSuccessEventObject { - module: string; -} -export type ExecutionFromModuleSuccessEvent = TypedEvent< - [string], - ExecutionFromModuleSuccessEventObject ->; - -export type ExecutionFromModuleSuccessEventFilter = - TypedEventFilter; - -export interface ModuleManager extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ModuleManagerInterface; - - 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: { - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean, string] & { success: boolean; returnData: string }>; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "DisabledModule(address)"(module?: null): DisabledModuleEventFilter; - DisabledModule(module?: null): DisabledModuleEventFilter; - - "EnabledModule(address)"(module?: null): EnabledModuleEventFilter; - EnabledModule(module?: null): EnabledModuleEventFilter; - - "ExecutionFromModuleFailure(address)"( - module?: PromiseOrValue | null - ): ExecutionFromModuleFailureEventFilter; - ExecutionFromModuleFailure( - module?: PromiseOrValue | null - ): ExecutionFromModuleFailureEventFilter; - - "ExecutionFromModuleSuccess(address)"( - module?: PromiseOrValue | null - ): ExecutionFromModuleSuccessEventFilter; - ExecutionFromModuleSuccess( - module?: PromiseOrValue | null - ): ExecutionFromModuleSuccessEventFilter; - }; - - estimateGas: { - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/OwnerManager.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/OwnerManager.ts deleted file mode 100644 index 24ac7e3c13..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/OwnerManager.ts +++ /dev/null @@ -1,356 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 OwnerManagerInterface extends utils.Interface { - functions: { - "addOwnerWithThreshold(address,uint256)": FunctionFragment; - "changeThreshold(uint256)": FunctionFragment; - "getOwners()": FunctionFragment; - "getThreshold()": FunctionFragment; - "isOwner(address)": FunctionFragment; - "removeOwner(address,address,uint256)": FunctionFragment; - "swapOwner(address,address,address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "addOwnerWithThreshold" - | "changeThreshold" - | "getOwners" - | "getThreshold" - | "isOwner" - | "removeOwner" - | "swapOwner" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "addOwnerWithThreshold", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "changeThreshold", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "getOwners", values?: undefined): string; - encodeFunctionData( - functionFragment: "getThreshold", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "isOwner", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "removeOwner", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "swapOwner", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "addOwnerWithThreshold", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "changeThreshold", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getOwners", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getThreshold", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "isOwner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "removeOwner", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "swapOwner", data: BytesLike): Result; - - events: { - "AddedOwner(address)": EventFragment; - "ChangedThreshold(uint256)": EventFragment; - "RemovedOwner(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AddedOwner"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ChangedThreshold"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RemovedOwner"): EventFragment; -} - -export interface AddedOwnerEventObject { - owner: string; -} -export type AddedOwnerEvent = TypedEvent<[string], AddedOwnerEventObject>; - -export type AddedOwnerEventFilter = TypedEventFilter; - -export interface ChangedThresholdEventObject { - threshold: BigNumber; -} -export type ChangedThresholdEvent = TypedEvent< - [BigNumber], - ChangedThresholdEventObject ->; - -export type ChangedThresholdEventFilter = - TypedEventFilter; - -export interface RemovedOwnerEventObject { - owner: string; -} -export type RemovedOwnerEvent = TypedEvent<[string], RemovedOwnerEventObject>; - -export type RemovedOwnerEventFilter = TypedEventFilter; - -export interface OwnerManager extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: OwnerManagerInterface; - - 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: { - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getOwners(overrides?: CallOverrides): Promise<[string[]]>; - - getThreshold(overrides?: CallOverrides): Promise<[BigNumber]>; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getOwners(overrides?: CallOverrides): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getOwners(overrides?: CallOverrides): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "AddedOwner(address)"(owner?: null): AddedOwnerEventFilter; - AddedOwner(owner?: null): AddedOwnerEventFilter; - - "ChangedThreshold(uint256)"(threshold?: null): ChangedThresholdEventFilter; - ChangedThreshold(threshold?: null): ChangedThresholdEventFilter; - - "RemovedOwner(address)"(owner?: null): RemovedOwnerEventFilter; - RemovedOwner(owner?: null): RemovedOwnerEventFilter; - }; - - estimateGas: { - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getOwners(overrides?: CallOverrides): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - addOwnerWithThreshold( - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeThreshold( - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getOwners(overrides?: CallOverrides): Promise; - - getThreshold(overrides?: CallOverrides): Promise; - - isOwner( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - removeOwner( - prevOwner: PromiseOrValue, - owner: PromiseOrValue, - _threshold: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - swapOwner( - prevOwner: PromiseOrValue, - oldOwner: PromiseOrValue, - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/index.ts deleted file mode 100644 index 16453f096d..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/base/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as guardManagerSol from "./GuardManager.sol"; -export type { guardManagerSol }; -export type { FallbackManager } from "./FallbackManager"; -export type { ModuleManager } from "./ModuleManager"; -export type { OwnerManager } from "./OwnerManager"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/common/EtherPaymentFallback.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/common/EtherPaymentFallback.ts deleted file mode 100644 index 64235d72a3..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/common/EtherPaymentFallback.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, Signer, utils } from "ethers"; -import type { EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../../../common"; - -export interface EtherPaymentFallbackInterface extends utils.Interface { - functions: {}; - - events: { - "SafeReceived(address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "SafeReceived"): EventFragment; -} - -export interface SafeReceivedEventObject { - sender: string; - value: BigNumber; -} -export type SafeReceivedEvent = TypedEvent< - [string, BigNumber], - SafeReceivedEventObject ->; - -export type SafeReceivedEventFilter = TypedEventFilter; - -export interface EtherPaymentFallback extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: EtherPaymentFallbackInterface; - - 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: { - "SafeReceived(address,uint256)"( - sender?: PromiseOrValue | null, - value?: null - ): SafeReceivedEventFilter; - SafeReceived( - sender?: PromiseOrValue | null, - value?: null - ): SafeReceivedEventFilter; - }; - - estimateGas: {}; - - populateTransaction: {}; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/common/StorageAccessible.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/common/StorageAccessible.ts deleted file mode 100644 index bdcccc17ca..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/common/StorageAccessible.ts +++ /dev/null @@ -1,152 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 StorageAccessibleInterface extends utils.Interface { - functions: { - "getStorageAt(uint256,uint256)": FunctionFragment; - "simulateAndRevert(address,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "getStorageAt" | "simulateAndRevert" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "getStorageAt", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "simulateAndRevert", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "getStorageAt", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "simulateAndRevert", - data: BytesLike - ): Result; - - events: {}; -} - -export interface StorageAccessible extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StorageAccessibleInterface; - - 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: { - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getStorageAt( - offset: PromiseOrValue, - length: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - simulateAndRevert( - targetContract: PromiseOrValue, - calldataPayload: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/common/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/common/index.ts deleted file mode 100644 index 832e54c3f8..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/common/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { EtherPaymentFallback } from "./EtherPaymentFallback"; -export type { StorageAccessible } from "./StorageAccessible"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/index.ts deleted file mode 100644 index a0cdedb49b..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as base from "./base"; -export type { base }; -import type * as common from "./common"; -export type { common }; -import type * as interfaces from "./interfaces"; -export type { interfaces }; -import type * as libraries from "./libraries"; -export type { libraries }; -import type * as proxies from "./proxies"; -export type { proxies }; -export type { GnosisSafe } from "./GnosisSafe"; -export type { GnosisSafeL2 } from "./GnosisSafeL2"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/interfaces/IERC165.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/interfaces/IERC165.ts deleted file mode 100644 index 010603d4eb..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/interfaces/IERC165.ts +++ /dev/null @@ -1,103 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 IERC165Interface extends utils.Interface { - functions: { - "supportsInterface(bytes4)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "supportsInterface"): FunctionFragment; - - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IERC165 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IERC165Interface; - - 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: { - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/interfaces/ISignatureValidator.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/interfaces/ISignatureValidator.ts deleted file mode 100644 index 1da5c89960..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/interfaces/ISignatureValidator.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 ISignatureValidatorInterface extends utils.Interface { - functions: { - "isValidSignature(bytes,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "isValidSignature"): FunctionFragment; - - encodeFunctionData( - functionFragment: "isValidSignature", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "isValidSignature", - data: BytesLike - ): Result; - - events: {}; -} - -export interface ISignatureValidator extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ISignatureValidatorInterface; - - 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: { - isValidSignature( - _data: PromiseOrValue, - _signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - }; - - isValidSignature( - _data: PromiseOrValue, - _signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - isValidSignature( - _data: PromiseOrValue, - _signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - isValidSignature( - _data: PromiseOrValue, - _signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - isValidSignature( - _data: PromiseOrValue, - _signature: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/interfaces/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/interfaces/index.ts deleted file mode 100644 index 09828777b5..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/interfaces/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IERC165 } from "./IERC165"; -export type { ISignatureValidator } from "./ISignatureValidator"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/libraries/MultiSend.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/libraries/MultiSend.ts deleted file mode 100644 index 7f4539a3d6..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/libraries/MultiSend.ts +++ /dev/null @@ -1,102 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - 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 interface MultiSendInterface extends utils.Interface { - functions: { - "multiSend(bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "multiSend"): FunctionFragment; - - encodeFunctionData( - functionFragment: "multiSend", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "multiSend", data: BytesLike): Result; - - events: {}; -} - -export interface MultiSend extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: MultiSendInterface; - - 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: { - multiSend( - transactions: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - multiSend( - transactions: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - multiSend( - transactions: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - multiSend( - transactions: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - multiSend( - transactions: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/libraries/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/libraries/index.ts deleted file mode 100644 index 985dd86119..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/libraries/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { MultiSend } from "./MultiSend"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/GnosisSafeProxy.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/GnosisSafeProxy.ts deleted file mode 100644 index cb62306c72..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/GnosisSafeProxy.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 GnosisSafeProxyInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface GnosisSafeProxy extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GnosisSafeProxyInterface; - - 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/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/IProxy.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/IProxy.ts deleted file mode 100644 index 29bc75ab55..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/IProxy.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 IProxyInterface extends utils.Interface { - functions: { - "masterCopy()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "masterCopy"): FunctionFragment; - - encodeFunctionData( - functionFragment: "masterCopy", - values?: undefined - ): string; - - decodeFunctionResult(functionFragment: "masterCopy", data: BytesLike): Result; - - events: {}; -} - -export interface IProxy extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IProxyInterface; - - 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: { - masterCopy(overrides?: CallOverrides): Promise<[string]>; - }; - - masterCopy(overrides?: CallOverrides): Promise; - - callStatic: { - masterCopy(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - masterCopy(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - masterCopy(overrides?: CallOverrides): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/index.ts deleted file mode 100644 index 816a57dcb3..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { GnosisSafeProxy } from "./GnosisSafeProxy"; -export type { IProxy } from "./IProxy"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxyFactory.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxyFactory.ts deleted file mode 100644 index d7b2626213..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxyFactory.ts +++ /dev/null @@ -1,332 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 GnosisSafeProxyFactoryInterface extends utils.Interface { - functions: { - "calculateCreateProxyWithNonceAddress(address,bytes,uint256)": FunctionFragment; - "createProxy(address,bytes)": FunctionFragment; - "createProxyWithCallback(address,bytes,uint256,address)": FunctionFragment; - "createProxyWithNonce(address,bytes,uint256)": FunctionFragment; - "proxyCreationCode()": FunctionFragment; - "proxyRuntimeCode()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "calculateCreateProxyWithNonceAddress" - | "createProxy" - | "createProxyWithCallback" - | "createProxyWithNonce" - | "proxyCreationCode" - | "proxyRuntimeCode" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "calculateCreateProxyWithNonceAddress", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "createProxy", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "createProxyWithCallback", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "createProxyWithNonce", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "proxyCreationCode", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxyRuntimeCode", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "calculateCreateProxyWithNonceAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "createProxy", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "createProxyWithCallback", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "createProxyWithNonce", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxyCreationCode", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxyRuntimeCode", - data: BytesLike - ): Result; - - events: { - "ProxyCreation(address,address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "ProxyCreation"): EventFragment; -} - -export interface ProxyCreationEventObject { - proxy: string; - singleton: string; -} -export type ProxyCreationEvent = TypedEvent< - [string, string], - ProxyCreationEventObject ->; - -export type ProxyCreationEventFilter = TypedEventFilter; - -export interface GnosisSafeProxyFactory extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GnosisSafeProxyFactoryInterface; - - 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: { - calculateCreateProxyWithNonceAddress( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxy( - singleton: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxyWithCallback( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - callback: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxyWithNonce( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - proxyCreationCode(overrides?: CallOverrides): Promise<[string]>; - - proxyRuntimeCode(overrides?: CallOverrides): Promise<[string]>; - }; - - calculateCreateProxyWithNonceAddress( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxy( - singleton: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxyWithCallback( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - callback: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxyWithNonce( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - proxyCreationCode(overrides?: CallOverrides): Promise; - - proxyRuntimeCode(overrides?: CallOverrides): Promise; - - callStatic: { - calculateCreateProxyWithNonceAddress( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - createProxy( - singleton: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - createProxyWithCallback( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - callback: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - createProxyWithNonce( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxyCreationCode(overrides?: CallOverrides): Promise; - - proxyRuntimeCode(overrides?: CallOverrides): Promise; - }; - - filters: { - "ProxyCreation(address,address)"( - proxy?: null, - singleton?: null - ): ProxyCreationEventFilter; - ProxyCreation(proxy?: null, singleton?: null): ProxyCreationEventFilter; - }; - - estimateGas: { - calculateCreateProxyWithNonceAddress( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxy( - singleton: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxyWithCallback( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - callback: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxyWithNonce( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - proxyCreationCode(overrides?: CallOverrides): Promise; - - proxyRuntimeCode(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - calculateCreateProxyWithNonceAddress( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxy( - singleton: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxyWithCallback( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - callback: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - createProxyWithNonce( - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - proxyCreationCode(overrides?: CallOverrides): Promise; - - proxyRuntimeCode(overrides?: CallOverrides): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/IProxyCreationCallback.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/IProxyCreationCallback.ts deleted file mode 100644 index 76240bffdf..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/IProxyCreationCallback.ts +++ /dev/null @@ -1,126 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 IProxyCreationCallbackInterface extends utils.Interface { - functions: { - "proxyCreated(address,address,bytes,uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "proxyCreated"): FunctionFragment; - - encodeFunctionData( - functionFragment: "proxyCreated", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "proxyCreated", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IProxyCreationCallback extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IProxyCreationCallbackInterface; - - 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: { - proxyCreated( - proxy: PromiseOrValue, - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - proxyCreated( - proxy: PromiseOrValue, - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - proxyCreated( - proxy: PromiseOrValue, - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - proxyCreated( - proxy: PromiseOrValue, - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - proxyCreated( - proxy: PromiseOrValue, - _singleton: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/index.ts deleted file mode 100644 index 08037755a2..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/contracts/proxies/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as gnosisSafeProxySol from "./GnosisSafeProxy.sol"; -export type { gnosisSafeProxySol }; -export type { GnosisSafeProxyFactory } from "./GnosisSafeProxyFactory"; -export type { IProxyCreationCallback } from "./IProxyCreationCallback"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/index.ts deleted file mode 100644 index a11e4ca299..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/safe-contracts/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as contracts from "./contracts"; -export type { contracts }; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/core/Module.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/core/Module.ts deleted file mode 100644 index 317b2f06a8..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/core/Module.ts +++ /dev/null @@ -1,413 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 ModuleInterface extends utils.Interface { - functions: { - "avatar()": FunctionFragment; - "getGuard()": FunctionFragment; - "guard()": FunctionFragment; - "owner()": FunctionFragment; - "renounceOwnership()": FunctionFragment; - "setAvatar(address)": FunctionFragment; - "setGuard(address)": FunctionFragment; - "setTarget(address)": FunctionFragment; - "setUp(bytes)": FunctionFragment; - "target()": FunctionFragment; - "transferOwnership(address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "avatar" - | "getGuard" - | "guard" - | "owner" - | "renounceOwnership" - | "setAvatar" - | "setGuard" - | "setTarget" - | "setUp" - | "target" - | "transferOwnership" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "avatar", values?: undefined): string; - encodeFunctionData(functionFragment: "getGuard", values?: undefined): string; - encodeFunctionData(functionFragment: "guard", values?: undefined): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "setAvatar", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setGuard", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setTarget", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setUp", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "target", values?: undefined): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "avatar", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "getGuard", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "guard", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setAvatar", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setGuard", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setTarget", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setUp", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "target", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - - events: { - "AvatarSet(address,address)": EventFragment; - "ChangedGuard(address)": EventFragment; - "OwnershipTransferred(address,address)": EventFragment; - "TargetSet(address,address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AvatarSet"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ChangedGuard"): EventFragment; - getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TargetSet"): EventFragment; -} - -export interface AvatarSetEventObject { - previousAvatar: string; - newAvatar: string; -} -export type AvatarSetEvent = TypedEvent<[string, string], AvatarSetEventObject>; - -export type AvatarSetEventFilter = TypedEventFilter; - -export interface ChangedGuardEventObject { - guard: string; -} -export type ChangedGuardEvent = TypedEvent<[string], ChangedGuardEventObject>; - -export type ChangedGuardEventFilter = TypedEventFilter; - -export interface OwnershipTransferredEventObject { - previousOwner: string; - newOwner: string; -} -export type OwnershipTransferredEvent = TypedEvent< - [string, string], - OwnershipTransferredEventObject ->; - -export type OwnershipTransferredEventFilter = - TypedEventFilter; - -export interface TargetSetEventObject { - previousTarget: string; - newTarget: string; -} -export type TargetSetEvent = TypedEvent<[string, string], TargetSetEventObject>; - -export type TargetSetEventFilter = TypedEventFilter; - -export interface Module extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ModuleInterface; - - 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: { - avatar(overrides?: CallOverrides): Promise<[string]>; - - getGuard(overrides?: CallOverrides): Promise<[string] & { _guard: string }>; - - guard(overrides?: CallOverrides): Promise<[string]>; - - owner(overrides?: CallOverrides): Promise<[string]>; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setAvatar( - _avatar: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - _guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setTarget( - _target: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setUp( - initializeParams: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - target(overrides?: CallOverrides): Promise<[string]>; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - avatar(overrides?: CallOverrides): Promise; - - getGuard(overrides?: CallOverrides): Promise; - - guard(overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setAvatar( - _avatar: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - _guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setTarget( - _target: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setUp( - initializeParams: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - target(overrides?: CallOverrides): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - avatar(overrides?: CallOverrides): Promise; - - getGuard(overrides?: CallOverrides): Promise; - - guard(overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership(overrides?: CallOverrides): Promise; - - setAvatar( - _avatar: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setGuard( - _guard: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setTarget( - _target: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setUp( - initializeParams: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - target(overrides?: CallOverrides): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "AvatarSet(address,address)"( - previousAvatar?: PromiseOrValue | null, - newAvatar?: PromiseOrValue | null - ): AvatarSetEventFilter; - AvatarSet( - previousAvatar?: PromiseOrValue | null, - newAvatar?: PromiseOrValue | null - ): AvatarSetEventFilter; - - "ChangedGuard(address)"(guard?: null): ChangedGuardEventFilter; - ChangedGuard(guard?: null): ChangedGuardEventFilter; - - "OwnershipTransferred(address,address)"( - previousOwner?: PromiseOrValue | null, - newOwner?: PromiseOrValue | null - ): OwnershipTransferredEventFilter; - OwnershipTransferred( - previousOwner?: PromiseOrValue | null, - newOwner?: PromiseOrValue | null - ): OwnershipTransferredEventFilter; - - "TargetSet(address,address)"( - previousTarget?: PromiseOrValue | null, - newTarget?: PromiseOrValue | null - ): TargetSetEventFilter; - TargetSet( - previousTarget?: PromiseOrValue | null, - newTarget?: PromiseOrValue | null - ): TargetSetEventFilter; - }; - - estimateGas: { - avatar(overrides?: CallOverrides): Promise; - - getGuard(overrides?: CallOverrides): Promise; - - guard(overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setAvatar( - _avatar: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - _guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setTarget( - _target: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setUp( - initializeParams: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - target(overrides?: CallOverrides): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - avatar(overrides?: CallOverrides): Promise; - - getGuard(overrides?: CallOverrides): Promise; - - guard(overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setAvatar( - _avatar: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - _guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setTarget( - _target: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setUp( - initializeParams: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - target(overrides?: CallOverrides): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/core/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/core/index.ts deleted file mode 100644 index 96ff7cbafa..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/core/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { Module } from "./Module"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/factory/FactoryFriendly.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/factory/FactoryFriendly.ts deleted file mode 100644 index b977b0769f..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/factory/FactoryFriendly.ts +++ /dev/null @@ -1,211 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 FactoryFriendlyInterface extends utils.Interface { - functions: { - "owner()": FunctionFragment; - "renounceOwnership()": FunctionFragment; - "setUp(bytes)": FunctionFragment; - "transferOwnership(address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "owner" - | "renounceOwnership" - | "setUp" - | "transferOwnership" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "setUp", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setUp", 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 FactoryFriendly extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: FactoryFriendlyInterface; - - 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; - - setUp( - initializeParams: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setUp( - initializeParams: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - owner(overrides?: CallOverrides): Promise; - - renounceOwnership(overrides?: CallOverrides): Promise; - - setUp( - initializeParams: PromiseOrValue, - 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; - - setUp( - initializeParams: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setUp( - initializeParams: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/factory/ModuleProxyFactory.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/factory/ModuleProxyFactory.ts deleted file mode 100644 index 6d43e5fdc8..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/factory/ModuleProxyFactory.ts +++ /dev/null @@ -1,149 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 ModuleProxyFactoryInterface extends utils.Interface { - functions: { - "deployModule(address,bytes,uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "deployModule"): FunctionFragment; - - encodeFunctionData( - functionFragment: "deployModule", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deployModule", - data: BytesLike - ): Result; - - events: { - "ModuleProxyCreation(address,address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "ModuleProxyCreation"): EventFragment; -} - -export interface ModuleProxyCreationEventObject { - proxy: string; - masterCopy: string; -} -export type ModuleProxyCreationEvent = TypedEvent< - [string, string], - ModuleProxyCreationEventObject ->; - -export type ModuleProxyCreationEventFilter = - TypedEventFilter; - -export interface ModuleProxyFactory extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ModuleProxyFactoryInterface; - - 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: { - deployModule( - masterCopy: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deployModule( - masterCopy: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deployModule( - masterCopy: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "ModuleProxyCreation(address,address)"( - proxy?: PromiseOrValue | null, - masterCopy?: PromiseOrValue | null - ): ModuleProxyCreationEventFilter; - ModuleProxyCreation( - proxy?: PromiseOrValue | null, - masterCopy?: PromiseOrValue | null - ): ModuleProxyCreationEventFilter; - }; - - estimateGas: { - deployModule( - masterCopy: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deployModule( - masterCopy: PromiseOrValue, - initializer: PromiseOrValue, - saltNonce: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/factory/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/factory/index.ts deleted file mode 100644 index 7ff32777a6..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/factory/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { FactoryFriendly } from "./FactoryFriendly"; -export type { ModuleProxyFactory } from "./ModuleProxyFactory"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/guard/BaseGuard.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/guard/BaseGuard.ts deleted file mode 100644 index c2082af4e4..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/guard/BaseGuard.ts +++ /dev/null @@ -1,246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 BaseGuardInterface extends utils.Interface { - functions: { - "checkAfterExecution(bytes32,bool)": FunctionFragment; - "checkTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes,address)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "checkAfterExecution" - | "checkTransaction" - | "supportsInterface" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "checkAfterExecution", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "checkTransaction", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "checkAfterExecution", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "checkTransaction", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - - events: {}; -} - -export interface BaseGuard extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: BaseGuardInterface; - - 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: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/guard/Guardable.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/guard/Guardable.ts deleted file mode 100644 index d608a61771..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/guard/Guardable.ts +++ /dev/null @@ -1,251 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 GuardableInterface extends utils.Interface { - functions: { - "getGuard()": FunctionFragment; - "guard()": FunctionFragment; - "owner()": FunctionFragment; - "renounceOwnership()": FunctionFragment; - "setGuard(address)": FunctionFragment; - "transferOwnership(address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "getGuard" - | "guard" - | "owner" - | "renounceOwnership" - | "setGuard" - | "transferOwnership" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "getGuard", values?: undefined): string; - encodeFunctionData(functionFragment: "guard", values?: undefined): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "setGuard", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "getGuard", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "guard", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setGuard", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - - events: { - "ChangedGuard(address)": EventFragment; - "OwnershipTransferred(address,address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "ChangedGuard"): EventFragment; - getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; -} - -export interface ChangedGuardEventObject { - guard: string; -} -export type ChangedGuardEvent = TypedEvent<[string], ChangedGuardEventObject>; - -export type ChangedGuardEventFilter = TypedEventFilter; - -export interface OwnershipTransferredEventObject { - previousOwner: string; - newOwner: string; -} -export type OwnershipTransferredEvent = TypedEvent< - [string, string], - OwnershipTransferredEventObject ->; - -export type OwnershipTransferredEventFilter = - TypedEventFilter; - -export interface Guardable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: GuardableInterface; - - 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: { - getGuard(overrides?: CallOverrides): Promise<[string] & { _guard: string }>; - - guard(overrides?: CallOverrides): Promise<[string]>; - - owner(overrides?: CallOverrides): Promise<[string]>; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - _guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - getGuard(overrides?: CallOverrides): Promise; - - guard(overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - _guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getGuard(overrides?: CallOverrides): Promise; - - guard(overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership(overrides?: CallOverrides): Promise; - - setGuard( - _guard: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "ChangedGuard(address)"(guard?: null): ChangedGuardEventFilter; - ChangedGuard(guard?: null): ChangedGuardEventFilter; - - "OwnershipTransferred(address,address)"( - previousOwner?: PromiseOrValue | null, - newOwner?: PromiseOrValue | null - ): OwnershipTransferredEventFilter; - OwnershipTransferred( - previousOwner?: PromiseOrValue | null, - newOwner?: PromiseOrValue | null - ): OwnershipTransferredEventFilter; - }; - - estimateGas: { - getGuard(overrides?: CallOverrides): Promise; - - guard(overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - _guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getGuard(overrides?: CallOverrides): Promise; - - guard(overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setGuard( - _guard: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferOwnership( - newOwner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/guard/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/guard/index.ts deleted file mode 100644 index 04cd84be78..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/guard/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { BaseGuard } from "./BaseGuard"; -export type { Guardable } from "./Guardable"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/index.ts deleted file mode 100644 index 2c279a5661..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as core from "./core"; -export type { core }; -import type * as factory from "./factory"; -export type { factory }; -import type * as guard from "./guard"; -export type { guard }; -import type * as interfaces from "./interfaces"; -export type { interfaces }; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/interfaces/IAvatar.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/interfaces/IAvatar.ts deleted file mode 100644 index 216414f350..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/interfaces/IAvatar.ts +++ /dev/null @@ -1,334 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 IAvatarInterface extends utils.Interface { - functions: { - "disableModule(address,address)": FunctionFragment; - "enableModule(address)": FunctionFragment; - "execTransactionFromModule(address,uint256,bytes,uint8)": FunctionFragment; - "execTransactionFromModuleReturnData(address,uint256,bytes,uint8)": FunctionFragment; - "getModulesPaginated(address,uint256)": FunctionFragment; - "isModuleEnabled(address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "disableModule" - | "enableModule" - | "execTransactionFromModule" - | "execTransactionFromModuleReturnData" - | "getModulesPaginated" - | "isModuleEnabled" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "disableModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "enableModule", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "execTransactionFromModule", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "execTransactionFromModuleReturnData", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getModulesPaginated", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "isModuleEnabled", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "disableModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "enableModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "execTransactionFromModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "execTransactionFromModuleReturnData", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getModulesPaginated", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "isModuleEnabled", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IAvatar extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IAvatarInterface; - - 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: { - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean, string] & { success: boolean; returnData: string }>; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string[], string] & { array: string[]; next: string }>; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - disableModule( - prevModule: PromiseOrValue, - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - enableModule( - module: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModule( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - execTransactionFromModuleReturnData( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getModulesPaginated( - start: PromiseOrValue, - pageSize: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isModuleEnabled( - module: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/interfaces/IGuard.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/interfaces/IGuard.ts deleted file mode 100644 index 24af6e3863..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/interfaces/IGuard.ts +++ /dev/null @@ -1,209 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 IGuardInterface extends utils.Interface { - functions: { - "checkAfterExecution(bytes32,bool)": FunctionFragment; - "checkTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes,address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "checkAfterExecution" | "checkTransaction" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "checkAfterExecution", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "checkTransaction", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "checkAfterExecution", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "checkTransaction", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IGuard extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IGuardInterface; - - 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: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - checkAfterExecution( - txHash: PromiseOrValue, - success: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - checkTransaction( - to: PromiseOrValue, - value: PromiseOrValue, - data: PromiseOrValue, - operation: PromiseOrValue, - safeTxGas: PromiseOrValue, - baseGas: PromiseOrValue, - gasPrice: PromiseOrValue, - gasToken: PromiseOrValue, - refundReceiver: PromiseOrValue, - signatures: PromiseOrValue, - msgSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/interfaces/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/interfaces/index.ts deleted file mode 100644 index 138771f9ce..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/contracts/interfaces/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IAvatar } from "./IAvatar"; -export type { IGuard } from "./IGuard"; diff --git a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/index.ts b/src/assets/typechain-types/usul/@gnosis.pm/zodiac/index.ts deleted file mode 100644 index a11e4ca299..0000000000 --- a/src/assets/typechain-types/usul/@gnosis.pm/zodiac/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as contracts from "./contracts"; -export type { contracts }; diff --git a/src/assets/typechain-types/usul/common.ts b/src/assets/typechain-types/usul/common.ts deleted file mode 100644 index 4c90b08bb4..0000000000 --- a/src/assets/typechain-types/usul/common.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { Listener } from "@ethersproject/providers"; -import type { Event, EventFilter } from "ethers"; - -export interface TypedEvent< - TArgsArray extends Array = any, - TArgsObject = any -> extends Event { - args: TArgsArray & TArgsObject; -} - -export interface TypedEventFilter<_TEvent extends TypedEvent> - extends EventFilter {} - -export interface TypedListener { - (...listenerArg: [...__TypechainArgsArray, TEvent]): void; -} - -type __TypechainArgsArray = T extends TypedEvent ? U : never; - -export interface OnEvent { - ( - eventFilter: TypedEventFilter, - listener: TypedListener - ): TRes; - (eventName: string, listener: Listener): TRes; -} - -export type MinEthersFactory = { - deploy(...a: ARGS[]): Promise; -}; - -export type GetContractTypeFromFactory = F extends MinEthersFactory< - infer C, - any -> - ? C - : never; - -export type GetARGsTypeFromFactory = F extends MinEthersFactory - ? Parameters - : never; - -export type PromiseOrValue = T | Promise; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/index.ts deleted file mode 100644 index 6493208a34..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as safeContracts from "./safe-contracts"; -export * as zodiac from "./zodiac"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/GnosisSafeL2__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/GnosisSafeL2__factory.ts deleted file mode 100644 index 9ae66f1889..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/GnosisSafeL2__factory.ts +++ /dev/null @@ -1,1199 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - GnosisSafeL2, - GnosisSafeL2Interface, -} from "../../../../@gnosis.pm/safe-contracts/contracts/GnosisSafeL2"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "AddedOwner", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "approvedHash", - type: "bytes32", - }, - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "ApproveHash", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "handler", - type: "address", - }, - ], - name: "ChangedFallbackHandler", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "guard", - type: "address", - }, - ], - name: "ChangedGuard", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "threshold", - type: "uint256", - }, - ], - name: "ChangedThreshold", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "DisabledModule", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "EnabledModule", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "txHash", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "payment", - type: "uint256", - }, - ], - name: "ExecutionFailure", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "ExecutionFromModuleFailure", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "ExecutionFromModuleSuccess", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "txHash", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "payment", - type: "uint256", - }, - ], - name: "ExecutionSuccess", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "RemovedOwner", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "module", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - indexed: false, - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "SafeModuleTransaction", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - indexed: false, - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - { - indexed: false, - internalType: "uint256", - name: "safeTxGas", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "baseGas", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "gasPrice", - type: "uint256", - }, - { - indexed: false, - internalType: "address", - name: "gasToken", - type: "address", - }, - { - indexed: false, - internalType: "address payable", - name: "refundReceiver", - type: "address", - }, - { - indexed: false, - internalType: "bytes", - name: "signatures", - type: "bytes", - }, - { - indexed: false, - internalType: "bytes", - name: "additionalInfo", - type: "bytes", - }, - ], - name: "SafeMultiSigTransaction", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "SafeReceived", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "initiator", - type: "address", - }, - { - indexed: false, - internalType: "address[]", - name: "owners", - type: "address[]", - }, - { - indexed: false, - internalType: "uint256", - name: "threshold", - type: "uint256", - }, - { - indexed: false, - internalType: "address", - name: "initializer", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "fallbackHandler", - type: "address", - }, - ], - name: "SafeSetup", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "msgHash", - type: "bytes32", - }, - ], - name: "SignMsg", - type: "event", - }, - { - stateMutability: "nonpayable", - type: "fallback", - }, - { - inputs: [], - name: "VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - ], - name: "addOwnerWithThreshold", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "hashToApprove", - type: "bytes32", - }, - ], - name: "approveHash", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "approvedHashes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - ], - name: "changeThreshold", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "dataHash", - type: "bytes32", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "bytes", - name: "signatures", - type: "bytes", - }, - { - internalType: "uint256", - name: "requiredSignatures", - type: "uint256", - }, - ], - name: "checkNSignatures", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "dataHash", - type: "bytes32", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "bytes", - name: "signatures", - type: "bytes", - }, - ], - name: "checkSignatures", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "prevModule", - type: "address", - }, - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "disableModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "domainSeparator", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "enableModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - { - internalType: "uint256", - name: "safeTxGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "baseGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "gasPrice", - type: "uint256", - }, - { - internalType: "address", - name: "gasToken", - type: "address", - }, - { - internalType: "address", - name: "refundReceiver", - type: "address", - }, - { - internalType: "uint256", - name: "_nonce", - type: "uint256", - }, - ], - name: "encodeTransactionData", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - { - internalType: "uint256", - name: "safeTxGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "baseGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "gasPrice", - type: "uint256", - }, - { - internalType: "address", - name: "gasToken", - type: "address", - }, - { - internalType: "address payable", - name: "refundReceiver", - type: "address", - }, - { - internalType: "bytes", - name: "signatures", - type: "bytes", - }, - ], - name: "execTransaction", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "execTransactionFromModule", - outputs: [ - { - internalType: "bool", - name: "success", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "execTransactionFromModuleReturnData", - outputs: [ - { - internalType: "bool", - name: "success", - type: "bool", - }, - { - internalType: "bytes", - name: "returnData", - type: "bytes", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getChainId", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "start", - type: "address", - }, - { - internalType: "uint256", - name: "pageSize", - type: "uint256", - }, - ], - name: "getModulesPaginated", - outputs: [ - { - internalType: "address[]", - name: "array", - type: "address[]", - }, - { - internalType: "address", - name: "next", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getOwners", - outputs: [ - { - internalType: "address[]", - name: "", - type: "address[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "offset", - type: "uint256", - }, - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "getStorageAt", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getThreshold", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - { - internalType: "uint256", - name: "safeTxGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "baseGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "gasPrice", - type: "uint256", - }, - { - internalType: "address", - name: "gasToken", - type: "address", - }, - { - internalType: "address", - name: "refundReceiver", - type: "address", - }, - { - internalType: "uint256", - name: "_nonce", - type: "uint256", - }, - ], - name: "getTransactionHash", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "isModuleEnabled", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "isOwner", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "nonce", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "prevOwner", - type: "address", - }, - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - ], - name: "removeOwner", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "requiredTxGas", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "handler", - type: "address", - }, - ], - name: "setFallbackHandler", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "guard", - type: "address", - }, - ], - name: "setGuard", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address[]", - name: "_owners", - type: "address[]", - }, - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "address", - name: "fallbackHandler", - type: "address", - }, - { - internalType: "address", - name: "paymentToken", - type: "address", - }, - { - internalType: "uint256", - name: "payment", - type: "uint256", - }, - { - internalType: "address payable", - name: "paymentReceiver", - type: "address", - }, - ], - name: "setup", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "signedMessages", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "targetContract", - type: "address", - }, - { - internalType: "bytes", - name: "calldataPayload", - type: "bytes", - }, - ], - name: "simulateAndRevert", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "prevOwner", - type: "address", - }, - { - internalType: "address", - name: "oldOwner", - type: "address", - }, - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "swapOwner", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - stateMutability: "payable", - type: "receive", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b50600160048190555061631b80620000296000396000f3fe6080604052600436106101dc5760003560e01c8063affed0e011610102578063e19a9dd911610095578063f08a032311610064578063f08a0323146107de578063f698da2514610807578063f8dc5dd914610832578063ffa1ad741461085b57610231565b8063e19a9dd914610724578063e318b52b1461074d578063e75235b814610776578063e86637db146107a157610231565b8063cc2f8452116100d1578063cc2f845214610657578063d4d9bdcd14610695578063d8d11f78146106be578063e009cfde146106fb57610231565b8063affed0e01461059d578063b4faba09146105c8578063b63e800d146105f1578063c4ca3a9c1461061a57610231565b80635624b25b1161017a5780636a761202116101495780636a761202146104dc5780637d8329741461050c578063934f3a1114610549578063a0e67e2b1461057257610231565b80635624b25b146104105780635ae6bd371461044d578063610b59251461048a578063694e80c3146104b357610231565b80632f54bf6e116101b65780632f54bf6e1461032d5780633408e4701461036a578063468721a7146103955780635229073f146103d257610231565b80630d582f131461029e57806312fb68e0146102c75780632d9ad53d146102f057610231565b36610231573373ffffffffffffffffffffffffffffffffffffffff167f3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d346040516102279190615825565b60405180910390a2005b34801561023d57600080fd5b5060007f6c9a6c4a39284e37ed1cf53d337577d14212a4870fb976a4366c693b939918d560001b905080548061027257600080f35b36600080373360601b365260008060143601600080855af13d6000803e80610299573d6000fd5b3d6000f35b3480156102aa57600080fd5b506102c560048036038101906102c091906142c5565b610886565b005b3480156102d357600080fd5b506102ee60048036038101906102e991906147db565b610c00565b005b3480156102fc57600080fd5b5061031760048036038101906103129190614116565b611207565b604051610324919061528b565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190614116565b6112d9565b604051610361919061528b565b60405180910390f35b34801561037657600080fd5b5061037f6113ab565b60405161038c9190615825565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b791906145a9565b6113b8565b6040516103c9919061528b565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f491906145a9565b61140f565b6040516104079291906152a6565b60405180910390f35b34801561041c57600080fd5b50610437600480360381019061043291906148d4565b611445565b604051610444919061546a565b60405180910390f35b34801561045957600080fd5b50610474600480360381019061046f9190614723565b6114dd565b6040516104819190615825565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac9190614116565b6114f5565b005b3480156104bf57600080fd5b506104da60048036038101906104d591906148a7565b61180b565b005b6104f660048036038101906104f1919061438d565b6118df565b604051610503919061528b565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e9190614229565b61197f565b6040516105409190615825565b60405180910390f35b34801561055557600080fd5b50610570600480360381019061056b9190614750565b6119a4565b005b34801561057e57600080fd5b50610587611a00565b6040516105949190615239565b60405180910390f35b3480156105a957600080fd5b506105b2611bb8565b6040516105bf9190615825565b60405180910390f35b3480156105d457600080fd5b506105ef60048036038101906105ea9190614269565b611bbe565b005b3480156105fd57600080fd5b506106186004803603810190610613919061462c565b611be0565b005b34801561062657600080fd5b50610641600480360381019061063c9190614305565b611d33565b60405161064e9190615825565b60405180910390f35b34801561066357600080fd5b5061067e600480360381019061067991906142c5565b611dff565b60405161068c92919061525b565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b79190614723565b612000565b005b3480156106ca57600080fd5b506106e560048036038101906106e091906144a9565b61216c565b6040516106f291906152d6565b60405180910390f35b34801561070757600080fd5b50610722600480360381019061071d9190614143565b612199565b005b34801561073057600080fd5b5061074b60048036038101906107469190614116565b6124ae565b005b34801561075957600080fd5b50610774600480360381019061076f9190614183565b61251c565b005b34801561078257600080fd5b5061078b612a96565b6040516107989190615825565b60405180910390f35b3480156107ad57600080fd5b506107c860048036038101906107c391906144a9565b612aa0565b6040516107d5919061546a565b60405180910390f35b3480156107ea57600080fd5b5061080560048036038101906108009190614116565b612b62565b005b34801561081357600080fd5b5061081c612bad565b60405161082991906152d6565b60405180910390f35b34801561083e57600080fd5b50610859600480360381019061085491906141d6565b612c09565b005b34801561086757600080fd5b50610870612f9b565b60405161087d91906154c3565b60405180910390f35b61088e612fd4565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156108f85750600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561093057503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b61096f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610966906155c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3490615765565b60405180910390fd5b60026000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160026000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060036000815480929190610bad90615c7a565b91905055507f9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea2682604051610be19190614fd0565b60405180910390a18060045414610bfc57610bfb8161180b565b5b5050565b610c1460418261304490919063ffffffff16565b82511015610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e906157e5565b60405180910390fd5b6000808060008060005b868110156111fb57610c738882613089565b80945081955082965050505060008460ff161415610edd578260001c9450610ca560418861304490919063ffffffff16565b8260001c1015610cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce1906157a5565b60405180910390fd5b8751610d0360208460001c6130b890919063ffffffff16565b1115610d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3b90615585565b60405180910390fd5b60006020838a01015190508851610d7a82610d6c60208760001c6130b890919063ffffffff16565b6130b890919063ffffffff16565b1115610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db2906154e5565b60405180910390fd5b60606020848b010190506320c13b0b60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168773ffffffffffffffffffffffffffffffffffffffff166320c13b0b8d846040518363ffffffff1660e01b8152600401610e2792919061548c565b60206040518083038186803b158015610e3f57600080fd5b505afa158015610e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e77919061487a565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd90615525565b60405180910390fd5b50506110a6565b60018460ff161415610fbe578260001c94508473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610f7a57506000600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008c81526020019081526020016000205414155b610fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb090615745565b60405180910390fd5b6110a5565b601e8460ff1611156110525760018a604051602001610fdd9190614f8f565b604051602081830303815290604052805190602001206004866110009190615a97565b85856040516000815260200160405260405161101f9493929190615425565b6020604051602081039080840390855afa158015611041573d6000803e3d6000fd5b5050506020604051035194506110a4565b60018a858585604051600081526020016040526040516110759493929190615425565b6020604051602081039080840390855afa158015611097573d6000803e3d6000fd5b5050506020604051035194505b5b5b8573ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1611801561116d5750600073ffffffffffffffffffffffffffffffffffffffff16600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156111a65750600173ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b6111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc90615505565b60405180910390fd5b84955080806111f390615c7a565b915050610c61565b50505050505050505050565b60008173ffffffffffffffffffffffffffffffffffffffff16600173ffffffffffffffffffffffffffffffffffffffff16141580156112d25750600073ffffffffffffffffffffffffffffffffffffffff16600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b6000600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156113a45750600073ffffffffffffffffffffffffffffffffffffffff16600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b6000804690508091505090565b60007fb648d3644f584ed1c2232d53c46d87e693586486ad0d1175f8656013110b714e33868686866040516113f1959493929190614feb565b60405180910390a1611405858585856130e0565b9050949350505050565b6000606061141f868686866113b8565b915060405160203d0181016040523d81523d6000602083013e8091505094509492505050565b606060006020836114569190615a09565b67ffffffffffffffff81111561146f5761146e615d9d565b5b6040519080825280601f01601f1916602001820160405280156114a15781602001600182028036833780820191505090505b50905060005b838110156114d2578085015480602083026020850101525080806114ca90615c7a565b9150506114a7565b508091505092915050565b60076020528060005260406000206000915090505481565b6114fd612fd4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156115675750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d906157c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166b90615785565b60405180910390fd5b60016000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060016000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fecdf3a3effea5783a3c4c2140e677577666428d44ed9d474a0b3a4c9943f8440816040516118009190614fd0565b60405180910390a150565b611813612fd4565b600354811115611858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184f90615565565b60405180910390fd5b600181101561189c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611893906156e5565b60405180910390fd5b806004819055507f610f7ff2b304ae8903c3de74c60c6ab1f7d6226b3f52c5161905bb5ad4039c936004546040516118d49190615825565b60405180910390a150565b60006060600554336004546040516020016118fc93929190615840565b60405160208183030381529060405290507f66753cd2356569ee081232e3be8909b950e0a76c1f8460c3a5e3c2be32b11bed8d8d8d8d8d8d8d8d8d8d8d8c6040516119529c9b9a99989796959493929190615129565b60405180910390a161196d8d8d8d8d8d8d8d8d8d8d8d613293565b9150509b9a5050505050505050505050565b6008602052816000526040600020602052806000526040600020600091509150505481565b60006004549050600081116119ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e590615685565b60405180910390fd5b6119fa84848484610c00565b50505050565b6060600060035467ffffffffffffffff811115611a2057611a1f615d9d565b5b604051908082528060200260200182016040528015611a4e5781602001602082028036833780820191505090505b50905060008060026000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611baf5780838381518110611b0057611aff615d6e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508180611ba790615c7a565b925050611ab8565b82935050505090565b60055481565b600080825160208401855af4806000523d6020523d600060403e60403d016000fd5b611c2b8a8a80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505089613654565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611c6957611c6884613a62565b5b611cb78787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613a91565b6000821115611cd157611ccf82600060018685613c66565b505b3373ffffffffffffffffffffffffffffffffffffffff167f141df868a6331af528e38c83b7aa03edc19be66e37ae67f9285bf4f8e3c6a1a88b8b8b8b89604051611d1f9594939291906151eb565b60405180910390a250505050505050505050565b6000805a9050611d8a878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050865a613e06565b611d9357600080fd5b60005a82611da19190615a63565b905080604051602001611db49190614fb5565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df691906154c3565b60405180910390fd5b606060008267ffffffffffffffff811115611e1d57611e1c615d9d565b5b604051908082528060200260200182016040528015611e4b5781602001602082028036833780820191505090505b509150600080600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015611f1e5750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b8015611f2957508482105b15611ff15780848381518110611f4257611f41615d6e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508180611fe990615c7a565b925050611eb4565b80925081845250509250929050565b600073ffffffffffffffffffffffffffffffffffffffff16600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156120cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c690615545565b60405180910390fd5b6001600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff16817ff2a0eb156472d1440255b0d7c1e19cc07115d1051fe605b0dce69acfec884d9c60405160405180910390a350565b60006121818c8c8c8c8c8c8c8c8c8c8c612aa0565b8051906020012090509b9a5050505050505050505050565b6121a1612fd4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561220b5750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b61224a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612241906157c5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230e90615625565b60405180910390fd5b600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507faab4fa2b463f581b2b32cb3b7e3b704b9ce37cc209b5fb4d77e593ace4054276816040516124a29190614fd0565b60405180910390a15050565b6124b6612fd4565b60007f4a204f620c8c5ccdca3fd54d003badd85ba500436a431f0cbda4f558c93c34c860001b90508181557f1151116914515bc0891ff9047a6cb32cf902546f83066499bcf8ba33d2353fa2826040516125109190614fd0565b60405180910390a15050565b612524612fd4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561258e5750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156125c657503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b612605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fc906155c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146126d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ca90615765565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561273d5750600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b61277c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612773906155c5565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612849576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284090615805565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507ff8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf82604051612a529190614fd0565b60405180910390a17f9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea2681604051612a899190614fd0565b60405180910390a1505050565b6000600454905090565b606060007fbb8310d486368db6bd6f849402fdd73ad53d316b5a4b2644ad6efe0f941286d860001b8d8d8d8d604051612ada929190614f76565b60405180910390208c8c8c8c8c8c8c604051602001612b039b9a999897969594939291906152f1565b604051602081830303815290604052805190602001209050601960f81b600160f81b612b2d612bad565b83604051602001612b419493929190614f28565b6040516020818303038152906040529150509b9a5050505050505050505050565b612b6a612fd4565b612b7381613a62565b7f5ac6c46c93c8d0e53714ba3b53db3e7c046da994313d7ed0d192028bc7c228b081604051612ba29190614fd0565b60405180910390a150565b60007f47e79534a245952e8b16893a336b85a3d9ea9fa8c573f3d803afb92a7946921860001b612bdb6113ab565b30604051602001612bee939291906153ee565b60405160208183030381529060405280519060200120905090565b612c11612fd4565b806001600354612c219190615a63565b1015612c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5990615565565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015612ccc5750600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b612d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d02906155c5565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612dd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dcf90615805565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060036000815480929190612f4790615c1f565b91905055507ff8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf82604051612f7b9190614fd0565b60405180910390a18060045414612f9657612f958161180b565b5b505050565b6040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613042576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303990615725565b60405180910390fd5b565b6000808314156130575760009050613083565b600082846130659190615a09565b905082848261307491906159d8565b1461307e57600080fd5b809150505b92915050565b60008060008360410260208101860151925060408101860151915060ff60418201870151169350509250925092565b60008082846130c79190615982565b9050838110156130d657600080fd5b8091505092915050565b6000600173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156131ab5750600073ffffffffffffffffffffffffffffffffffffffff16600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6131ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e190615705565b60405180910390fd5b6131f7858585855a613e06565b90508015613247573373ffffffffffffffffffffffffffffffffffffffff167f6895c13664aa4f67288b25d7a21d7aaa34916e355fb9b6fae0a139a9085becb860405160405180910390a261328b565b3373ffffffffffffffffffffffffffffffffffffffff167facd2c8702804128fdb0db2bb49f6d127dd0181c13fd45dbfe16de0930e2bd37560405160405180910390a25b949350505050565b60008060006132ad8e8e8e8e8e8e8e8e8e8e600554612aa0565b9050600560008154809291906132c290615c7a565b9190505550808051906020012091506132dc8282866119a4565b5060006132e7613e60565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461339f578073ffffffffffffffffffffffffffffffffffffffff166375f0bb528f8f8f8f8f8f8f8f8f8f8f336040518d63ffffffff1660e01b815260040161336c9c9b9a9998979695949392919061506e565b600060405180830381600087803b15801561338657600080fd5b505af115801561339a573d6000803e3d6000fd5b505050505b6101f46133da6109c48b6133b39190615982565b603f60408d6133c29190615a09565b6133cc91906159d8565b613e9190919063ffffffff16565b6133e49190615982565b5a1015613426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341d906156c5565b60405180910390fd5b60005a90506134988f8f8f8f8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508e60008d14613484578e613493565b6109c45a6134929190615a63565b5b613e06565b93506134ad5a82613eab90919063ffffffff16565b905083806134bc575060008a14155b806134c8575060008814155b613507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fe906156a5565b60405180910390fd5b6000808911156135215761351e828b8b8b8b613c66565b90505b8415613565577f442e715f626346e8c54381002da614f62bee8d27386535b2521ec8540898556e84826040516135589291906153c5565b60405180910390a161359f565b7f23428b18acfb3ea64b08dc0c1d296ea9c09702c09083ca5272e64d115b687d2384826040516135969291906153c5565b60405180910390a15b5050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614613643578073ffffffffffffffffffffffffffffffffffffffff16639327136883856040518363ffffffff1660e01b815260040161361092919061539c565b600060405180830381600087803b15801561362a57600080fd5b505af115801561363e573d6000803e3d6000fd5b505050505b50509b9a5050505050505050505050565b600060045414613699576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613690906155a5565b60405180910390fd5b81518111156136dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d490615565565b60405180910390fd5b6001811015613721576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613718906156e5565b60405180910390fd5b60006001905060005b83518110156139ce57600084828151811061374857613747615d6e565b5b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156137bc5750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156137f457503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561382c57508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b61386b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613862906155c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393090615765565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508092505080806139c690615c7a565b91505061372a565b506001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550825160038190555081600481905550505050565b60007f6c9a6c4a39284e37ed1cf53d337577d14212a4870fb976a4366c693b939918d560001b90508181555050565b600073ffffffffffffffffffffffffffffffffffffffff1660016000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b5790615665565b60405180910390fd5b6001806000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613c6257613c228260008360015a613e06565b613c61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c58906155e5565b60405180910390fd5b5b5050565b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613ca35782613ca5565b325b9050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613d8a57613d0f3a8610613cec573a613cee565b855b613d01888a6130b890919063ffffffff16565b61304490919063ffffffff16565b91508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050613d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d7c90615605565b60405180910390fd5b613dfc565b613daf85613da1888a6130b890919063ffffffff16565b61304490919063ffffffff16565b9150613dbc848284613ed4565b613dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613df290615645565b60405180910390fd5b5b5095945050505050565b6000600180811115613e1b57613e1a615d3f565b5b836001811115613e2e57613e2d615d3f565b5b1415613e47576000808551602087018986f49050613e57565b600080855160208701888a87f190505b95945050505050565b6000807f4a204f620c8c5ccdca3fd54d003badd85ba500436a431f0cbda4f558c93c34c860001b9050805491505090565b600081831015613ea15781613ea3565b825b905092915050565b600082821115613eba57600080fd5b60008284613ec89190615a63565b90508091505092915050565b60008063a9059cbb8484604051602401613eef929190615045565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050602060008251602084016000896127105a03f13d60008114613f5f5760208114613f675760009350613f72565b819350613f72565b600051158215171593505b5050509392505050565b6000613f8f613f8a8461589c565b615877565b905082815260208101848484011115613fab57613faa615ddb565b5b613fb6848285615bdd565b509392505050565b600081359050613fcd81616262565b92915050565b600081359050613fe281616279565b92915050565b60008083601f840112613ffe57613ffd615dd1565b5b8235905067ffffffffffffffff81111561401b5761401a615dcc565b5b60208301915083602082028301111561403757614036615dd6565b5b9250929050565b60008135905061404d81616290565b92915050565b600081519050614062816162a7565b92915050565b60008083601f84011261407e5761407d615dd1565b5b8235905067ffffffffffffffff81111561409b5761409a615dcc565b5b6020830191508360018202830111156140b7576140b6615dd6565b5b9250929050565b600082601f8301126140d3576140d2615dd1565b5b81356140e3848260208601613f7c565b91505092915050565b6000813590506140fb816162be565b92915050565b600081359050614110816162ce565b92915050565b60006020828403121561412c5761412b615de5565b5b600061413a84828501613fbe565b91505092915050565b6000806040838503121561415a57614159615de5565b5b600061416885828601613fbe565b925050602061417985828601613fbe565b9150509250929050565b60008060006060848603121561419c5761419b615de5565b5b60006141aa86828701613fbe565b93505060206141bb86828701613fbe565b92505060406141cc86828701613fbe565b9150509250925092565b6000806000606084860312156141ef576141ee615de5565b5b60006141fd86828701613fbe565b935050602061420e86828701613fbe565b925050604061421f86828701614101565b9150509250925092565b600080604083850312156142405761423f615de5565b5b600061424e85828601613fbe565b925050602061425f8582860161403e565b9150509250929050565b600080604083850312156142805761427f615de5565b5b600061428e85828601613fbe565b925050602083013567ffffffffffffffff8111156142af576142ae615de0565b5b6142bb858286016140be565b9150509250929050565b600080604083850312156142dc576142db615de5565b5b60006142ea85828601613fbe565b92505060206142fb85828601614101565b9150509250929050565b60008060008060006080868803121561432157614320615de5565b5b600061432f88828901613fbe565b955050602061434088828901614101565b945050604086013567ffffffffffffffff81111561436157614360615de0565b5b61436d88828901614068565b93509350506060614380888289016140ec565b9150509295509295909350565b60008060008060008060008060008060006101408c8e0312156143b3576143b2615de5565b5b60006143c18e828f01613fbe565b9b505060206143d28e828f01614101565b9a505060408c013567ffffffffffffffff8111156143f3576143f2615de0565b5b6143ff8e828f01614068565b995099505060606144128e828f016140ec565b97505060806144238e828f01614101565b96505060a06144348e828f01614101565b95505060c06144458e828f01614101565b94505060e06144568e828f01613fbe565b9350506101006144688e828f01613fd3565b9250506101208c013567ffffffffffffffff81111561448a57614489615de0565b5b6144968e828f016140be565b9150509295989b509295989b9093969950565b60008060008060008060008060008060006101408c8e0312156144cf576144ce615de5565b5b60006144dd8e828f01613fbe565b9b505060206144ee8e828f01614101565b9a505060408c013567ffffffffffffffff81111561450f5761450e615de0565b5b61451b8e828f01614068565b9950995050606061452e8e828f016140ec565b975050608061453f8e828f01614101565b96505060a06145508e828f01614101565b95505060c06145618e828f01614101565b94505060e06145728e828f01613fbe565b9350506101006145848e828f01613fbe565b9250506101206145968e828f01614101565b9150509295989b509295989b9093969950565b600080600080608085870312156145c3576145c2615de5565b5b60006145d187828801613fbe565b94505060206145e287828801614101565b935050604085013567ffffffffffffffff81111561460357614602615de0565b5b61460f878288016140be565b9250506060614620878288016140ec565b91505092959194509250565b6000806000806000806000806000806101008b8d0312156146505761464f615de5565b5b60008b013567ffffffffffffffff81111561466e5761466d615de0565b5b61467a8d828e01613fe8565b9a509a5050602061468d8d828e01614101565b985050604061469e8d828e01613fbe565b97505060608b013567ffffffffffffffff8111156146bf576146be615de0565b5b6146cb8d828e01614068565b965096505060806146de8d828e01613fbe565b94505060a06146ef8d828e01613fbe565b93505060c06147008d828e01614101565b92505060e06147118d828e01613fd3565b9150509295989b9194979a5092959850565b60006020828403121561473957614738615de5565b5b60006147478482850161403e565b91505092915050565b60008060006060848603121561476957614768615de5565b5b60006147778682870161403e565b935050602084013567ffffffffffffffff81111561479857614797615de0565b5b6147a4868287016140be565b925050604084013567ffffffffffffffff8111156147c5576147c4615de0565b5b6147d1868287016140be565b9150509250925092565b600080600080608085870312156147f5576147f4615de5565b5b60006148038782880161403e565b945050602085013567ffffffffffffffff81111561482457614823615de0565b5b614830878288016140be565b935050604085013567ffffffffffffffff81111561485157614850615de0565b5b61485d878288016140be565b925050606061486e87828801614101565b91505092959194509250565b6000602082840312156148905761488f615de5565b5b600061489e84828501614053565b91505092915050565b6000602082840312156148bd576148bc615de5565b5b60006148cb84828501614101565b91505092915050565b600080604083850312156148eb576148ea615de5565b5b60006148f985828601614101565b925050602061490a85828601614101565b9150509250929050565b6000614920838361493b565b60208301905092915050565b61493581615add565b82525050565b61494481615acb565b82525050565b61495381615acb565b82525050565b60006149658385615922565b9350614970826158cd565b8060005b858110156149a957614986828461596b565b6149908882614914565b975061499b83615908565b925050600181019050614974565b5085925050509392505050565b60006149c1826158e7565b6149cb8185615922565b93506149d6836158d7565b8060005b83811015614a075781516149ee8882614914565b97506149f983615915565b9250506001810190506149da565b5085935050505092915050565b614a1d81615aef565b82525050565b614a34614a2f82615afb565b615cc3565b82525050565b614a4381615b27565b82525050565b614a5a614a5582615b27565b615ccd565b82525050565b6000614a6c8385615933565b9350614a79838584615bdd565b614a8283615dea565b840190509392505050565b6000614a998385615944565b9350614aa6838584615bdd565b82840190509392505050565b6000614abd826158f2565b614ac78185615933565b9350614ad7818560208601615bec565b614ae081615dea565b840191505092915050565b614af481615ba7565b82525050565b614b0381615bcb565b82525050565b6000614b14826158fd565b614b1e818561594f565b9350614b2e818560208601615bec565b614b3781615dea565b840191505092915050565b6000614b4f60058361594f565b9150614b5a82615dfb565b602082019050919050565b6000614b7260058361594f565b9150614b7d82615e24565b602082019050919050565b6000614b95601c83615960565b9150614ba082615e4d565b601c82019050919050565b6000614bb860058361594f565b9150614bc382615e76565b602082019050919050565b6000614bdb60058361594f565b9150614be682615e9f565b602082019050919050565b6000614bfe60058361594f565b9150614c0982615ec8565b602082019050919050565b6000614c2160058361594f565b9150614c2c82615ef1565b602082019050919050565b6000614c4460058361594f565b9150614c4f82615f1a565b602082019050919050565b6000614c6760058361594f565b9150614c7282615f43565b602082019050919050565b6000614c8a60058361594f565b9150614c9582615f6c565b602082019050919050565b6000614cad60058361594f565b9150614cb882615f95565b602082019050919050565b6000614cd060058361594f565b9150614cdb82615fbe565b602082019050919050565b6000614cf360058361594f565b9150614cfe82615fe7565b602082019050919050565b6000614d1660058361594f565b9150614d2182616010565b602082019050919050565b6000614d3960058361594f565b9150614d4482616039565b602082019050919050565b6000614d5c60058361594f565b9150614d6782616062565b602082019050919050565b6000614d7f60058361594f565b9150614d8a8261608b565b602082019050919050565b6000614da260058361594f565b9150614dad826160b4565b602082019050919050565b6000614dc560058361594f565b9150614dd0826160dd565b602082019050919050565b6000614de860058361594f565b9150614df382616106565b602082019050919050565b6000614e0b60058361594f565b9150614e168261612f565b602082019050919050565b6000614e2e60058361594f565b9150614e3982616158565b602082019050919050565b6000614e5160058361594f565b9150614e5c82616181565b602082019050919050565b6000614e7460058361594f565b9150614e7f826161aa565b602082019050919050565b6000614e9760058361594f565b9150614ea2826161d3565b602082019050919050565b6000614eba60058361594f565b9150614ec5826161fc565b602082019050919050565b6000614edd60058361594f565b9150614ee882616225565b602082019050919050565b614efc81615b90565b82525050565b614f13614f0e82615b90565b615cd7565b82525050565b614f2281615b9a565b82525050565b6000614f348287614a23565b600182019150614f448286614a23565b600182019150614f548285614a49565b602082019150614f648284614a49565b60208201915081905095945050505050565b6000614f83828486614a8d565b91508190509392505050565b6000614f9a82614b88565b9150614fa68284614a49565b60208201915081905092915050565b6000614fc18284614f02565b60208201915081905092915050565b6000602082019050614fe5600083018461494a565b92915050565b600060a082019050615000600083018861494a565b61500d602083018761494a565b61501a6040830186614ef3565b818103606083015261502c8185614ab2565b905061503b6080830184614afa565b9695505050505050565b600060408201905061505a600083018561494a565b6150676020830184614ef3565b9392505050565b600061016082019050615084600083018f61494a565b615091602083018e614ef3565b81810360408301526150a4818c8e614a60565b90506150b3606083018b614afa565b6150c0608083018a614ef3565b6150cd60a0830189614ef3565b6150da60c0830188614ef3565b6150e760e083018761494a565b6150f561010083018661492c565b8181036101208301526151088185614ab2565b905061511861014083018461494a565b9d9c50505050505050505050505050565b60006101608201905061513f600083018f61494a565b61514c602083018e614ef3565b818103604083015261515f818c8e614a60565b905061516e606083018b614afa565b61517b608083018a614ef3565b61518860a0830189614ef3565b61519560c0830188614ef3565b6151a260e083018761494a565b6151b061010083018661492c565b8181036101208301526151c38185614ab2565b90508181036101408301526151d88184614ab2565b90509d9c50505050505050505050505050565b60006080820190508181036000830152615206818789614959565b90506152156020830186614ef3565b615222604083018561494a565b61522f606083018461494a565b9695505050505050565b6000602082019050818103600083015261525381846149b6565b905092915050565b6000604082019050818103600083015261527581856149b6565b9050615284602083018461494a565b9392505050565b60006020820190506152a06000830184614a14565b92915050565b60006040820190506152bb6000830185614a14565b81810360208301526152cd8184614ab2565b90509392505050565b60006020820190506152eb6000830184614a3a565b92915050565b600061016082019050615307600083018e614a3a565b615314602083018d61494a565b615321604083018c614ef3565b61532e606083018b614a3a565b61533b608083018a614afa565b61534860a0830189614ef3565b61535560c0830188614ef3565b61536260e0830187614ef3565b61537061010083018661494a565b61537e61012083018561494a565b61538c610140830184614ef3565b9c9b505050505050505050505050565b60006040820190506153b16000830185614a3a565b6153be6020830184614a14565b9392505050565b60006040820190506153da6000830185614a3a565b6153e76020830184614ef3565b9392505050565b60006060820190506154036000830186614a3a565b6154106020830185614ef3565b61541d6040830184614aeb565b949350505050565b600060808201905061543a6000830187614a3a565b6154476020830186614f19565b6154546040830185614a3a565b6154616060830184614a3a565b95945050505050565b600060208201905081810360008301526154848184614ab2565b905092915050565b600060408201905081810360008301526154a68185614ab2565b905081810360208301526154ba8184614ab2565b90509392505050565b600060208201905081810360008301526154dd8184614b09565b905092915050565b600060208201905081810360008301526154fe81614b42565b9050919050565b6000602082019050818103600083015261551e81614b65565b9050919050565b6000602082019050818103600083015261553e81614bab565b9050919050565b6000602082019050818103600083015261555e81614bce565b9050919050565b6000602082019050818103600083015261557e81614bf1565b9050919050565b6000602082019050818103600083015261559e81614c14565b9050919050565b600060208201905081810360008301526155be81614c37565b9050919050565b600060208201905081810360008301526155de81614c5a565b9050919050565b600060208201905081810360008301526155fe81614c7d565b9050919050565b6000602082019050818103600083015261561e81614ca0565b9050919050565b6000602082019050818103600083015261563e81614cc3565b9050919050565b6000602082019050818103600083015261565e81614ce6565b9050919050565b6000602082019050818103600083015261567e81614d09565b9050919050565b6000602082019050818103600083015261569e81614d2c565b9050919050565b600060208201905081810360008301526156be81614d4f565b9050919050565b600060208201905081810360008301526156de81614d72565b9050919050565b600060208201905081810360008301526156fe81614d95565b9050919050565b6000602082019050818103600083015261571e81614db8565b9050919050565b6000602082019050818103600083015261573e81614ddb565b9050919050565b6000602082019050818103600083015261575e81614dfe565b9050919050565b6000602082019050818103600083015261577e81614e21565b9050919050565b6000602082019050818103600083015261579e81614e44565b9050919050565b600060208201905081810360008301526157be81614e67565b9050919050565b600060208201905081810360008301526157de81614e8a565b9050919050565b600060208201905081810360008301526157fe81614ead565b9050919050565b6000602082019050818103600083015261581e81614ed0565b9050919050565b600060208201905061583a6000830184614ef3565b92915050565b60006060820190506158556000830186614ef3565b615862602083018561494a565b61586f6040830184614ef3565b949350505050565b6000615881615892565b905061588d8282615c49565b919050565b6000604051905090565b600067ffffffffffffffff8211156158b7576158b6615d9d565b5b6158c082615dea565b9050602081019050919050565b6000819050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061597a6020840184613fbe565b905092915050565b600061598d82615b90565b915061599883615b90565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156159cd576159cc615ce1565b5b828201905092915050565b60006159e382615b90565b91506159ee83615b90565b9250826159fe576159fd615d10565b5b828204905092915050565b6000615a1482615b90565b9150615a1f83615b90565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615a5857615a57615ce1565b5b828202905092915050565b6000615a6e82615b90565b9150615a7983615b90565b925082821015615a8c57615a8b615ce1565b5b828203905092915050565b6000615aa282615b9a565b9150615aad83615b9a565b925082821015615ac057615abf615ce1565b5b828203905092915050565b6000615ad682615b70565b9050919050565b6000615ae882615b70565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050615b6b8261624e565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000615bb282615bb9565b9050919050565b6000615bc482615b70565b9050919050565b6000615bd682615b5d565b9050919050565b82818337600083830152505050565b60005b83811015615c0a578082015181840152602081019050615bef565b83811115615c19576000848401525b50505050565b6000615c2a82615b90565b91506000821415615c3e57615c3d615ce1565b5b600182039050919050565b615c5282615dea565b810181811067ffffffffffffffff82111715615c7157615c70615d9d565b5b80604052505050565b6000615c8582615b90565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615cb857615cb7615ce1565b5b600182019050919050565b6000819050919050565b6000819050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4753303233000000000000000000000000000000000000000000000000000000600082015250565b7f4753303236000000000000000000000000000000000000000000000000000000600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4753303234000000000000000000000000000000000000000000000000000000600082015250565b7f4753303330000000000000000000000000000000000000000000000000000000600082015250565b7f4753323031000000000000000000000000000000000000000000000000000000600082015250565b7f4753303232000000000000000000000000000000000000000000000000000000600082015250565b7f4753323030000000000000000000000000000000000000000000000000000000600082015250565b7f4753323033000000000000000000000000000000000000000000000000000000600082015250565b7f4753303030000000000000000000000000000000000000000000000000000000600082015250565b7f4753303131000000000000000000000000000000000000000000000000000000600082015250565b7f4753313033000000000000000000000000000000000000000000000000000000600082015250565b7f4753303132000000000000000000000000000000000000000000000000000000600082015250565b7f4753313030000000000000000000000000000000000000000000000000000000600082015250565b7f4753303031000000000000000000000000000000000000000000000000000000600082015250565b7f4753303133000000000000000000000000000000000000000000000000000000600082015250565b7f4753303130000000000000000000000000000000000000000000000000000000600082015250565b7f4753323032000000000000000000000000000000000000000000000000000000600082015250565b7f4753313034000000000000000000000000000000000000000000000000000000600082015250565b7f4753303331000000000000000000000000000000000000000000000000000000600082015250565b7f4753303235000000000000000000000000000000000000000000000000000000600082015250565b7f4753323034000000000000000000000000000000000000000000000000000000600082015250565b7f4753313032000000000000000000000000000000000000000000000000000000600082015250565b7f4753303231000000000000000000000000000000000000000000000000000000600082015250565b7f4753313031000000000000000000000000000000000000000000000000000000600082015250565b7f4753303230000000000000000000000000000000000000000000000000000000600082015250565b7f4753323035000000000000000000000000000000000000000000000000000000600082015250565b6002811061625f5761625e615d3f565b5b50565b61626b81615acb565b811461627657600080fd5b50565b61628281615add565b811461628d57600080fd5b50565b61629981615b27565b81146162a457600080fd5b50565b6162b081615b31565b81146162bb57600080fd5b50565b600281106162cb57600080fd5b50565b6162d781615b90565b81146162e257600080fd5b5056fea2646970667358221220d3badd10a9198834822163b1a6ba38f8c2633075bf3c5d349965fbfbc51ec39564736f6c63430008060033"; - -type GnosisSafeL2ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GnosisSafeL2ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GnosisSafeL2__factory extends ContractFactory { - constructor(...args: GnosisSafeL2ConstructorParams) { - 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): GnosisSafeL2 { - return super.attach(address) as GnosisSafeL2; - } - override connect(signer: Signer): GnosisSafeL2__factory { - return super.connect(signer) as GnosisSafeL2__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GnosisSafeL2Interface { - return new utils.Interface(_abi) as GnosisSafeL2Interface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GnosisSafeL2 { - return new Contract(address, _abi, signerOrProvider) as GnosisSafeL2; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/GnosisSafe__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/GnosisSafe__factory.ts deleted file mode 100644 index d8837e6d57..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/GnosisSafe__factory.ts +++ /dev/null @@ -1,1094 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - GnosisSafe, - GnosisSafeInterface, -} from "../../../../@gnosis.pm/safe-contracts/contracts/GnosisSafe"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "AddedOwner", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "approvedHash", - type: "bytes32", - }, - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "ApproveHash", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "handler", - type: "address", - }, - ], - name: "ChangedFallbackHandler", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "guard", - type: "address", - }, - ], - name: "ChangedGuard", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "threshold", - type: "uint256", - }, - ], - name: "ChangedThreshold", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "DisabledModule", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "EnabledModule", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "txHash", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "payment", - type: "uint256", - }, - ], - name: "ExecutionFailure", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "ExecutionFromModuleFailure", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "ExecutionFromModuleSuccess", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "txHash", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "payment", - type: "uint256", - }, - ], - name: "ExecutionSuccess", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "RemovedOwner", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "SafeReceived", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "initiator", - type: "address", - }, - { - indexed: false, - internalType: "address[]", - name: "owners", - type: "address[]", - }, - { - indexed: false, - internalType: "uint256", - name: "threshold", - type: "uint256", - }, - { - indexed: false, - internalType: "address", - name: "initializer", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "fallbackHandler", - type: "address", - }, - ], - name: "SafeSetup", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "msgHash", - type: "bytes32", - }, - ], - name: "SignMsg", - type: "event", - }, - { - stateMutability: "nonpayable", - type: "fallback", - }, - { - inputs: [], - name: "VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - ], - name: "addOwnerWithThreshold", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "hashToApprove", - type: "bytes32", - }, - ], - name: "approveHash", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "approvedHashes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - ], - name: "changeThreshold", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "dataHash", - type: "bytes32", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "bytes", - name: "signatures", - type: "bytes", - }, - { - internalType: "uint256", - name: "requiredSignatures", - type: "uint256", - }, - ], - name: "checkNSignatures", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "dataHash", - type: "bytes32", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "bytes", - name: "signatures", - type: "bytes", - }, - ], - name: "checkSignatures", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "prevModule", - type: "address", - }, - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "disableModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "domainSeparator", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "enableModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - { - internalType: "uint256", - name: "safeTxGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "baseGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "gasPrice", - type: "uint256", - }, - { - internalType: "address", - name: "gasToken", - type: "address", - }, - { - internalType: "address", - name: "refundReceiver", - type: "address", - }, - { - internalType: "uint256", - name: "_nonce", - type: "uint256", - }, - ], - name: "encodeTransactionData", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - { - internalType: "uint256", - name: "safeTxGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "baseGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "gasPrice", - type: "uint256", - }, - { - internalType: "address", - name: "gasToken", - type: "address", - }, - { - internalType: "address payable", - name: "refundReceiver", - type: "address", - }, - { - internalType: "bytes", - name: "signatures", - type: "bytes", - }, - ], - name: "execTransaction", - outputs: [ - { - internalType: "bool", - name: "success", - type: "bool", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "execTransactionFromModule", - outputs: [ - { - internalType: "bool", - name: "success", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "execTransactionFromModuleReturnData", - outputs: [ - { - internalType: "bool", - name: "success", - type: "bool", - }, - { - internalType: "bytes", - name: "returnData", - type: "bytes", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getChainId", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "start", - type: "address", - }, - { - internalType: "uint256", - name: "pageSize", - type: "uint256", - }, - ], - name: "getModulesPaginated", - outputs: [ - { - internalType: "address[]", - name: "array", - type: "address[]", - }, - { - internalType: "address", - name: "next", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getOwners", - outputs: [ - { - internalType: "address[]", - name: "", - type: "address[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "offset", - type: "uint256", - }, - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "getStorageAt", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getThreshold", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - { - internalType: "uint256", - name: "safeTxGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "baseGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "gasPrice", - type: "uint256", - }, - { - internalType: "address", - name: "gasToken", - type: "address", - }, - { - internalType: "address", - name: "refundReceiver", - type: "address", - }, - { - internalType: "uint256", - name: "_nonce", - type: "uint256", - }, - ], - name: "getTransactionHash", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "isModuleEnabled", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "isOwner", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "nonce", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "prevOwner", - type: "address", - }, - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - ], - name: "removeOwner", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "requiredTxGas", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "handler", - type: "address", - }, - ], - name: "setFallbackHandler", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "guard", - type: "address", - }, - ], - name: "setGuard", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address[]", - name: "_owners", - type: "address[]", - }, - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "address", - name: "fallbackHandler", - type: "address", - }, - { - internalType: "address", - name: "paymentToken", - type: "address", - }, - { - internalType: "uint256", - name: "payment", - type: "uint256", - }, - { - internalType: "address payable", - name: "paymentReceiver", - type: "address", - }, - ], - name: "setup", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "signedMessages", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "targetContract", - type: "address", - }, - { - internalType: "bytes", - name: "calldataPayload", - type: "bytes", - }, - ], - name: "simulateAndRevert", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "prevOwner", - type: "address", - }, - { - internalType: "address", - name: "oldOwner", - type: "address", - }, - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "swapOwner", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - stateMutability: "payable", - type: "receive", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060016004819055506160d180620000296000396000f3fe6080604052600436106101dc5760003560e01c8063affed0e011610102578063e19a9dd911610095578063f08a032311610064578063f08a0323146107de578063f698da2514610807578063f8dc5dd914610832578063ffa1ad741461085b57610231565b8063e19a9dd914610724578063e318b52b1461074d578063e75235b814610776578063e86637db146107a157610231565b8063cc2f8452116100d1578063cc2f845214610657578063d4d9bdcd14610695578063d8d11f78146106be578063e009cfde146106fb57610231565b8063affed0e01461059d578063b4faba09146105c8578063b63e800d146105f1578063c4ca3a9c1461061a57610231565b80635624b25b1161017a5780636a761202116101495780636a761202146104dc5780637d8329741461050c578063934f3a1114610549578063a0e67e2b1461057257610231565b80635624b25b146104105780635ae6bd371461044d578063610b59251461048a578063694e80c3146104b357610231565b80632f54bf6e116101b65780632f54bf6e1461032d5780633408e4701461036a578063468721a7146103955780635229073f146103d257610231565b80630d582f131461029e57806312fb68e0146102c75780632d9ad53d146102f057610231565b36610231573373ffffffffffffffffffffffffffffffffffffffff167f3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d346040516102279190615612565b60405180910390a2005b34801561023d57600080fd5b5060007f6c9a6c4a39284e37ed1cf53d337577d14212a4870fb976a4366c693b939918d560001b905080548061027257600080f35b36600080373360601b365260008060143601600080855af13d6000803e80610299573d6000fd5b3d6000f35b3480156102aa57600080fd5b506102c560048036038101906102c091906141ce565b610886565b005b3480156102d357600080fd5b506102ee60048036038101906102e991906146e4565b610c00565b005b3480156102fc57600080fd5b506103176004803603810190610312919061401f565b611207565b6040516103249190615078565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f919061401f565b6112d9565b6040516103619190615078565b60405180910390f35b34801561037657600080fd5b5061037f6113ab565b60405161038c9190615612565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b791906144b2565b6113b8565b6040516103c99190615078565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f491906144b2565b61156b565b604051610407929190615093565b60405180910390f35b34801561041c57600080fd5b50610437600480360381019061043291906147dd565b6115a1565b6040516104449190615257565b60405180910390f35b34801561045957600080fd5b50610474600480360381019061046f919061462c565b611639565b6040516104819190615612565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac919061401f565b611651565b005b3480156104bf57600080fd5b506104da60048036038101906104d591906147b0565b611967565b005b6104f660048036038101906104f19190614296565b611a3b565b6040516105039190615078565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e9190614132565b611dfc565b6040516105409190615612565b60405180910390f35b34801561055557600080fd5b50610570600480360381019061056b9190614659565b611e21565b005b34801561057e57600080fd5b50610587611e7d565b6040516105949190615026565b60405180910390f35b3480156105a957600080fd5b506105b2612035565b6040516105bf9190615612565b60405180910390f35b3480156105d457600080fd5b506105ef60048036038101906105ea9190614172565b61203b565b005b3480156105fd57600080fd5b5061061860048036038101906106139190614535565b61205d565b005b34801561062657600080fd5b50610641600480360381019061063c919061420e565b6121b0565b60405161064e9190615612565b60405180910390f35b34801561066357600080fd5b5061067e600480360381019061067991906141ce565b61227c565b60405161068c929190615048565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b7919061462c565b61247d565b005b3480156106ca57600080fd5b506106e560048036038101906106e091906143b2565b6125e9565b6040516106f291906150c3565b60405180910390f35b34801561070757600080fd5b50610722600480360381019061071d919061404c565b612616565b005b34801561073057600080fd5b5061074b6004803603810190610746919061401f565b61292b565b005b34801561075957600080fd5b50610774600480360381019061076f919061408c565b612999565b005b34801561078257600080fd5b5061078b612f13565b6040516107989190615612565b60405180910390f35b3480156107ad57600080fd5b506107c860048036038101906107c391906143b2565b612f1d565b6040516107d59190615257565b60405180910390f35b3480156107ea57600080fd5b506108056004803603810190610800919061401f565b612fdf565b005b34801561081357600080fd5b5061081c61302a565b60405161082991906150c3565b60405180910390f35b34801561083e57600080fd5b50610859600480360381019061085491906140df565b613086565b005b34801561086757600080fd5b50610870613418565b60405161087d91906152b0565b60405180910390f35b61088e613451565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156108f85750600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561093057503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b61096f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610966906153b2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3490615552565b60405180910390fd5b60026000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160026000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060036000815480929190610bad90615a30565b91905055507f9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea2682604051610be19190614ed9565b60405180910390a18060045414610bfc57610bfb81611967565b5b5050565b610c146041826134c190919063ffffffff16565b82511015610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e906155d2565b60405180910390fd5b6000808060008060005b868110156111fb57610c738882613506565b80945081955082965050505060008460ff161415610edd578260001c9450610ca56041886134c190919063ffffffff16565b8260001c1015610cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce190615592565b60405180910390fd5b8751610d0360208460001c61353590919063ffffffff16565b1115610d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3b90615372565b60405180910390fd5b60006020838a01015190508851610d7a82610d6c60208760001c61353590919063ffffffff16565b61353590919063ffffffff16565b1115610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db2906152d2565b60405180910390fd5b60606020848b010190506320c13b0b60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168773ffffffffffffffffffffffffffffffffffffffff166320c13b0b8d846040518363ffffffff1660e01b8152600401610e27929190615279565b60206040518083038186803b158015610e3f57600080fd5b505afa158015610e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e779190614783565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd90615312565b60405180910390fd5b50506110a6565b60018460ff161415610fbe578260001c94508473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610f7a57506000600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008c81526020019081526020016000205414155b610fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb090615532565b60405180910390fd5b6110a5565b601e8460ff1611156110525760018a604051602001610fdd9190614e98565b60405160208183030381529060405280519060200120600486611000919061584d565b85856040516000815260200160405260405161101f9493929190615212565b6020604051602081039080840390855afa158015611041573d6000803e3d6000fd5b5050506020604051035194506110a4565b60018a858585604051600081526020016040526040516110759493929190615212565b6020604051602081039080840390855afa158015611097573d6000803e3d6000fd5b5050506020604051035194505b5b5b8573ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1611801561116d5750600073ffffffffffffffffffffffffffffffffffffffff16600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156111a65750600173ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b6111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc906152f2565b60405180910390fd5b84955080806111f390615a30565b915050610c61565b50505050505050505050565b60008173ffffffffffffffffffffffffffffffffffffffff16600173ffffffffffffffffffffffffffffffffffffffff16141580156112d25750600073ffffffffffffffffffffffffffffffffffffffff16600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b6000600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156113a45750600073ffffffffffffffffffffffffffffffffffffffff16600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b6000804690508091505090565b6000600173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156114835750600073ffffffffffffffffffffffffffffffffffffffff16600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6114c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b9906154f2565b60405180910390fd5b6114cf858585855a61355d565b9050801561151f573373ffffffffffffffffffffffffffffffffffffffff167f6895c13664aa4f67288b25d7a21d7aaa34916e355fb9b6fae0a139a9085becb860405160405180910390a2611563565b3373ffffffffffffffffffffffffffffffffffffffff167facd2c8702804128fdb0db2bb49f6d127dd0181c13fd45dbfe16de0930e2bd37560405160405180910390a25b949350505050565b6000606061157b868686866113b8565b915060405160203d0181016040523d81523d6000602083013e8091505094509492505050565b606060006020836115b291906157bf565b67ffffffffffffffff8111156115cb576115ca615b53565b5b6040519080825280601f01601f1916602001820160405280156115fd5781602001600182028036833780820191505090505b50905060005b8381101561162e5780850154806020830260208501015250808061162690615a30565b915050611603565b508091505092915050565b60076020528060005260406000206000915090505481565b611659613451565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156116c35750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b611702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f9906155b2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790615572565b60405180910390fd5b60016000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060016000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fecdf3a3effea5783a3c4c2140e677577666428d44ed9d474a0b3a4c9943f84408160405161195c9190614ed9565b60405180910390a150565b61196f613451565b6003548111156119b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ab90615352565b60405180910390fd5b60018110156119f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ef906154d2565b60405180910390fd5b806004819055507f610f7ff2b304ae8903c3de74c60c6ab1f7d6226b3f52c5161905bb5ad4039c93600454604051611a309190615612565b60405180910390a150565b6000806000611a558e8e8e8e8e8e8e8e8e8e600554612f1d565b905060056000815480929190611a6a90615a30565b919050555080805190602001209150611a84828286611e21565b506000611a8f6135b7565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b47578073ffffffffffffffffffffffffffffffffffffffff166375f0bb528f8f8f8f8f8f8f8f8f8f8f336040518d63ffffffff1660e01b8152600401611b149c9b9a99989796959493929190614f1d565b600060405180830381600087803b158015611b2e57600080fd5b505af1158015611b42573d6000803e3d6000fd5b505050505b6101f4611b826109c48b611b5b9190615738565b603f60408d611b6a91906157bf565b611b74919061578e565b6135e890919063ffffffff16565b611b8c9190615738565b5a1015611bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc5906154b2565b60405180910390fd5b60005a9050611c408f8f8f8f8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508e60008d14611c2c578e611c3b565b6109c45a611c3a9190615819565b5b61355d565b9350611c555a8261360290919063ffffffff16565b90508380611c64575060008a14155b80611c70575060008814155b611caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca690615492565b60405180910390fd5b600080891115611cc957611cc6828b8b8b8b61362b565b90505b8415611d0d577f442e715f626346e8c54381002da614f62bee8d27386535b2521ec8540898556e8482604051611d009291906151b2565b60405180910390a1611d47565b7f23428b18acfb3ea64b08dc0c1d296ea9c09702c09083ca5272e64d115b687d238482604051611d3e9291906151b2565b60405180910390a15b5050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611deb578073ffffffffffffffffffffffffffffffffffffffff16639327136883856040518363ffffffff1660e01b8152600401611db8929190615189565b600060405180830381600087803b158015611dd257600080fd5b505af1158015611de6573d6000803e3d6000fd5b505050505b50509b9a5050505050505050505050565b6008602052816000526040600020602052806000526040600020600091509150505481565b6000600454905060008111611e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6290615472565b60405180910390fd5b611e7784848484610c00565b50505050565b6060600060035467ffffffffffffffff811115611e9d57611e9c615b53565b5b604051908082528060200260200182016040528015611ecb5781602001602082028036833780820191505090505b50905060008060026000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461202c5780838381518110611f7d57611f7c615b24565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050818061202490615a30565b925050611f35565b82935050505090565b60055481565b600080825160208401855af4806000523d6020523d600060403e60403d016000fd5b6120a88a8a80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050896137cb565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146120e6576120e584613bd9565b5b6121348787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613c08565b600082111561214e5761214c8260006001868561362b565b505b3373ffffffffffffffffffffffffffffffffffffffff167f141df868a6331af528e38c83b7aa03edc19be66e37ae67f9285bf4f8e3c6a1a88b8b8b8b8960405161219c959493929190614fd8565b60405180910390a250505050505050505050565b6000805a9050612207878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050865a61355d565b61221057600080fd5b60005a8261221e9190615819565b9050806040516020016122319190614ebe565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227391906152b0565b60405180910390fd5b606060008267ffffffffffffffff81111561229a57612299615b53565b5b6040519080825280602002602001820160405280156122c85781602001602082028036833780820191505090505b509150600080600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561239b5750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156123a657508482105b1561246e57808483815181106123bf576123be615b24565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050818061246690615a30565b925050612331565b80925081845250509250929050565b600073ffffffffffffffffffffffffffffffffffffffff16600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561254c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254390615332565b60405180910390fd5b6001600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff16817ff2a0eb156472d1440255b0d7c1e19cc07115d1051fe605b0dce69acfec884d9c60405160405180910390a350565b60006125fe8c8c8c8c8c8c8c8c8c8c8c612f1d565b8051906020012090509b9a5050505050505050505050565b61261e613451565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156126885750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6126c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126be906155b2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278b90615412565b60405180910390fd5b600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507faab4fa2b463f581b2b32cb3b7e3b704b9ce37cc209b5fb4d77e593ace40542768160405161291f9190614ed9565b60405180910390a15050565b612933613451565b60007f4a204f620c8c5ccdca3fd54d003badd85ba500436a431f0cbda4f558c93c34c860001b90508181557f1151116914515bc0891ff9047a6cb32cf902546f83066499bcf8ba33d2353fa28260405161298d9190614ed9565b60405180910390a15050565b6129a1613451565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015612a0b5750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b8015612a4357503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b612a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a79906153b2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4790615552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015612bba5750600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b612bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf0906153b2565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbd906155f2565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507ff8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf82604051612ecf9190614ed9565b60405180910390a17f9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea2681604051612f069190614ed9565b60405180910390a1505050565b6000600454905090565b606060007fbb8310d486368db6bd6f849402fdd73ad53d316b5a4b2644ad6efe0f941286d860001b8d8d8d8d604051612f57929190614e7f565b60405180910390208c8c8c8c8c8c8c604051602001612f809b9a999897969594939291906150de565b604051602081830303815290604052805190602001209050601960f81b600160f81b612faa61302a565b83604051602001612fbe9493929190614e31565b6040516020818303038152906040529150509b9a5050505050505050505050565b612fe7613451565b612ff081613bd9565b7f5ac6c46c93c8d0e53714ba3b53db3e7c046da994313d7ed0d192028bc7c228b08160405161301f9190614ed9565b60405180910390a150565b60007f47e79534a245952e8b16893a336b85a3d9ea9fa8c573f3d803afb92a7946921860001b6130586113ab565b3060405160200161306b939291906151db565b60405160208183030381529060405280519060200120905090565b61308e613451565b80600160035461309e9190615819565b10156130df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d690615352565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156131495750600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b613188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317f906153b2565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324c906155f2565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360008154809291906133c4906159d5565b91905055507ff8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf826040516133f89190614ed9565b60405180910390a180600454146134135761341281611967565b5b505050565b6040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146134bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b690615512565b60405180910390fd5b565b6000808314156134d45760009050613500565b600082846134e291906157bf565b90508284826134f1919061578e565b146134fb57600080fd5b809150505b92915050565b60008060008360410260208101860151925060408101860151915060ff60418201870151169350509250925092565b60008082846135449190615738565b90508381101561355357600080fd5b8091505092915050565b600060018081111561357257613571615af5565b5b83600181111561358557613584615af5565b5b141561359e576000808551602087018986f490506135ae565b600080855160208701888a87f190505b95945050505050565b6000807f4a204f620c8c5ccdca3fd54d003badd85ba500436a431f0cbda4f558c93c34c860001b9050805491505090565b6000818310156135f857816135fa565b825b905092915050565b60008282111561361157600080fd5b6000828461361f9190615819565b90508091505092915050565b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613668578261366a565b325b9050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561374f576136d43a86106136b1573a6136b3565b855b6136c6888a61353590919063ffffffff16565b6134c190919063ffffffff16565b91508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505061374a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613741906153f2565b60405180910390fd5b6137c1565b61377485613766888a61353590919063ffffffff16565b6134c190919063ffffffff16565b9150613781848284613ddd565b6137c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137b790615432565b60405180910390fd5b5b5095945050505050565b600060045414613810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380790615392565b60405180910390fd5b8151811115613854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384b90615352565b60405180910390fd5b6001811015613898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388f906154d2565b60405180910390fd5b60006001905060005b8351811015613b455760008482815181106138bf576138be615b24565b5b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156139335750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561396b57503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156139a357508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b6139e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139d9906153b2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613ab0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aa790615552565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550809250508080613b3d90615a30565b9150506138a1565b506001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550825160038190555081600481905550505050565b60007f6c9a6c4a39284e37ed1cf53d337577d14212a4870fb976a4366c693b939918d560001b90508181555050565b600073ffffffffffffffffffffffffffffffffffffffff1660016000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cce90615452565b60405180910390fd5b6001806000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613dd957613d998260008360015a61355d565b613dd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dcf906153d2565b60405180910390fd5b5b5050565b60008063a9059cbb8484604051602401613df8929190614ef4565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050602060008251602084016000896127105a03f13d60008114613e685760208114613e705760009350613e7b565b819350613e7b565b600051158215171593505b5050509392505050565b6000613e98613e9384615652565b61562d565b905082815260208101848484011115613eb457613eb3615b91565b5b613ebf848285615993565b509392505050565b600081359050613ed681616018565b92915050565b600081359050613eeb8161602f565b92915050565b60008083601f840112613f0757613f06615b87565b5b8235905067ffffffffffffffff811115613f2457613f23615b82565b5b602083019150836020820283011115613f4057613f3f615b8c565b5b9250929050565b600081359050613f5681616046565b92915050565b600081519050613f6b8161605d565b92915050565b60008083601f840112613f8757613f86615b87565b5b8235905067ffffffffffffffff811115613fa457613fa3615b82565b5b602083019150836001820283011115613fc057613fbf615b8c565b5b9250929050565b600082601f830112613fdc57613fdb615b87565b5b8135613fec848260208601613e85565b91505092915050565b60008135905061400481616074565b92915050565b60008135905061401981616084565b92915050565b60006020828403121561403557614034615b9b565b5b600061404384828501613ec7565b91505092915050565b6000806040838503121561406357614062615b9b565b5b600061407185828601613ec7565b925050602061408285828601613ec7565b9150509250929050565b6000806000606084860312156140a5576140a4615b9b565b5b60006140b386828701613ec7565b93505060206140c486828701613ec7565b92505060406140d586828701613ec7565b9150509250925092565b6000806000606084860312156140f8576140f7615b9b565b5b600061410686828701613ec7565b935050602061411786828701613ec7565b92505060406141288682870161400a565b9150509250925092565b6000806040838503121561414957614148615b9b565b5b600061415785828601613ec7565b925050602061416885828601613f47565b9150509250929050565b6000806040838503121561418957614188615b9b565b5b600061419785828601613ec7565b925050602083013567ffffffffffffffff8111156141b8576141b7615b96565b5b6141c485828601613fc7565b9150509250929050565b600080604083850312156141e5576141e4615b9b565b5b60006141f385828601613ec7565b92505060206142048582860161400a565b9150509250929050565b60008060008060006080868803121561422a57614229615b9b565b5b600061423888828901613ec7565b95505060206142498882890161400a565b945050604086013567ffffffffffffffff81111561426a57614269615b96565b5b61427688828901613f71565b9350935050606061428988828901613ff5565b9150509295509295909350565b60008060008060008060008060008060006101408c8e0312156142bc576142bb615b9b565b5b60006142ca8e828f01613ec7565b9b505060206142db8e828f0161400a565b9a505060408c013567ffffffffffffffff8111156142fc576142fb615b96565b5b6143088e828f01613f71565b9950995050606061431b8e828f01613ff5565b975050608061432c8e828f0161400a565b96505060a061433d8e828f0161400a565b95505060c061434e8e828f0161400a565b94505060e061435f8e828f01613ec7565b9350506101006143718e828f01613edc565b9250506101208c013567ffffffffffffffff81111561439357614392615b96565b5b61439f8e828f01613fc7565b9150509295989b509295989b9093969950565b60008060008060008060008060008060006101408c8e0312156143d8576143d7615b9b565b5b60006143e68e828f01613ec7565b9b505060206143f78e828f0161400a565b9a505060408c013567ffffffffffffffff81111561441857614417615b96565b5b6144248e828f01613f71565b995099505060606144378e828f01613ff5565b97505060806144488e828f0161400a565b96505060a06144598e828f0161400a565b95505060c061446a8e828f0161400a565b94505060e061447b8e828f01613ec7565b93505061010061448d8e828f01613ec7565b92505061012061449f8e828f0161400a565b9150509295989b509295989b9093969950565b600080600080608085870312156144cc576144cb615b9b565b5b60006144da87828801613ec7565b94505060206144eb8782880161400a565b935050604085013567ffffffffffffffff81111561450c5761450b615b96565b5b61451887828801613fc7565b925050606061452987828801613ff5565b91505092959194509250565b6000806000806000806000806000806101008b8d03121561455957614558615b9b565b5b60008b013567ffffffffffffffff81111561457757614576615b96565b5b6145838d828e01613ef1565b9a509a505060206145968d828e0161400a565b98505060406145a78d828e01613ec7565b97505060608b013567ffffffffffffffff8111156145c8576145c7615b96565b5b6145d48d828e01613f71565b965096505060806145e78d828e01613ec7565b94505060a06145f88d828e01613ec7565b93505060c06146098d828e0161400a565b92505060e061461a8d828e01613edc565b9150509295989b9194979a5092959850565b60006020828403121561464257614641615b9b565b5b600061465084828501613f47565b91505092915050565b60008060006060848603121561467257614671615b9b565b5b600061468086828701613f47565b935050602084013567ffffffffffffffff8111156146a1576146a0615b96565b5b6146ad86828701613fc7565b925050604084013567ffffffffffffffff8111156146ce576146cd615b96565b5b6146da86828701613fc7565b9150509250925092565b600080600080608085870312156146fe576146fd615b9b565b5b600061470c87828801613f47565b945050602085013567ffffffffffffffff81111561472d5761472c615b96565b5b61473987828801613fc7565b935050604085013567ffffffffffffffff81111561475a57614759615b96565b5b61476687828801613fc7565b92505060606147778782880161400a565b91505092959194509250565b60006020828403121561479957614798615b9b565b5b60006147a784828501613f5c565b91505092915050565b6000602082840312156147c6576147c5615b9b565b5b60006147d48482850161400a565b91505092915050565b600080604083850312156147f4576147f3615b9b565b5b60006148028582860161400a565b92505060206148138582860161400a565b9150509250929050565b60006148298383614844565b60208301905092915050565b61483e81615893565b82525050565b61484d81615881565b82525050565b61485c81615881565b82525050565b600061486e83856156d8565b935061487982615683565b8060005b858110156148b25761488f8284615721565b614899888261481d565b97506148a4836156be565b92505060018101905061487d565b5085925050509392505050565b60006148ca8261569d565b6148d481856156d8565b93506148df8361568d565b8060005b838110156149105781516148f7888261481d565b9750614902836156cb565b9250506001810190506148e3565b5085935050505092915050565b614926816158a5565b82525050565b61493d614938826158b1565b615a79565b82525050565b61494c816158dd565b82525050565b61496361495e826158dd565b615a83565b82525050565b600061497583856156e9565b9350614982838584615993565b61498b83615ba0565b840190509392505050565b60006149a283856156fa565b93506149af838584615993565b82840190509392505050565b60006149c6826156a8565b6149d081856156e9565b93506149e08185602086016159a2565b6149e981615ba0565b840191505092915050565b6149fd8161595d565b82525050565b614a0c81615981565b82525050565b6000614a1d826156b3565b614a278185615705565b9350614a378185602086016159a2565b614a4081615ba0565b840191505092915050565b6000614a58600583615705565b9150614a6382615bb1565b602082019050919050565b6000614a7b600583615705565b9150614a8682615bda565b602082019050919050565b6000614a9e601c83615716565b9150614aa982615c03565b601c82019050919050565b6000614ac1600583615705565b9150614acc82615c2c565b602082019050919050565b6000614ae4600583615705565b9150614aef82615c55565b602082019050919050565b6000614b07600583615705565b9150614b1282615c7e565b602082019050919050565b6000614b2a600583615705565b9150614b3582615ca7565b602082019050919050565b6000614b4d600583615705565b9150614b5882615cd0565b602082019050919050565b6000614b70600583615705565b9150614b7b82615cf9565b602082019050919050565b6000614b93600583615705565b9150614b9e82615d22565b602082019050919050565b6000614bb6600583615705565b9150614bc182615d4b565b602082019050919050565b6000614bd9600583615705565b9150614be482615d74565b602082019050919050565b6000614bfc600583615705565b9150614c0782615d9d565b602082019050919050565b6000614c1f600583615705565b9150614c2a82615dc6565b602082019050919050565b6000614c42600583615705565b9150614c4d82615def565b602082019050919050565b6000614c65600583615705565b9150614c7082615e18565b602082019050919050565b6000614c88600583615705565b9150614c9382615e41565b602082019050919050565b6000614cab600583615705565b9150614cb682615e6a565b602082019050919050565b6000614cce600583615705565b9150614cd982615e93565b602082019050919050565b6000614cf1600583615705565b9150614cfc82615ebc565b602082019050919050565b6000614d14600583615705565b9150614d1f82615ee5565b602082019050919050565b6000614d37600583615705565b9150614d4282615f0e565b602082019050919050565b6000614d5a600583615705565b9150614d6582615f37565b602082019050919050565b6000614d7d600583615705565b9150614d8882615f60565b602082019050919050565b6000614da0600583615705565b9150614dab82615f89565b602082019050919050565b6000614dc3600583615705565b9150614dce82615fb2565b602082019050919050565b6000614de6600583615705565b9150614df182615fdb565b602082019050919050565b614e0581615946565b82525050565b614e1c614e1782615946565b615a8d565b82525050565b614e2b81615950565b82525050565b6000614e3d828761492c565b600182019150614e4d828661492c565b600182019150614e5d8285614952565b602082019150614e6d8284614952565b60208201915081905095945050505050565b6000614e8c828486614996565b91508190509392505050565b6000614ea382614a91565b9150614eaf8284614952565b60208201915081905092915050565b6000614eca8284614e0b565b60208201915081905092915050565b6000602082019050614eee6000830184614853565b92915050565b6000604082019050614f096000830185614853565b614f166020830184614dfc565b9392505050565b600061016082019050614f33600083018f614853565b614f40602083018e614dfc565b8181036040830152614f53818c8e614969565b9050614f62606083018b614a03565b614f6f608083018a614dfc565b614f7c60a0830189614dfc565b614f8960c0830188614dfc565b614f9660e0830187614853565b614fa4610100830186614835565b818103610120830152614fb781856149bb565b9050614fc7610140830184614853565b9d9c50505050505050505050505050565b60006080820190508181036000830152614ff3818789614862565b90506150026020830186614dfc565b61500f6040830185614853565b61501c6060830184614853565b9695505050505050565b6000602082019050818103600083015261504081846148bf565b905092915050565b6000604082019050818103600083015261506281856148bf565b90506150716020830184614853565b9392505050565b600060208201905061508d600083018461491d565b92915050565b60006040820190506150a8600083018561491d565b81810360208301526150ba81846149bb565b90509392505050565b60006020820190506150d86000830184614943565b92915050565b6000610160820190506150f4600083018e614943565b615101602083018d614853565b61510e604083018c614dfc565b61511b606083018b614943565b615128608083018a614a03565b61513560a0830189614dfc565b61514260c0830188614dfc565b61514f60e0830187614dfc565b61515d610100830186614853565b61516b610120830185614853565b615179610140830184614dfc565b9c9b505050505050505050505050565b600060408201905061519e6000830185614943565b6151ab602083018461491d565b9392505050565b60006040820190506151c76000830185614943565b6151d46020830184614dfc565b9392505050565b60006060820190506151f06000830186614943565b6151fd6020830185614dfc565b61520a60408301846149f4565b949350505050565b60006080820190506152276000830187614943565b6152346020830186614e22565b6152416040830185614943565b61524e6060830184614943565b95945050505050565b6000602082019050818103600083015261527181846149bb565b905092915050565b6000604082019050818103600083015261529381856149bb565b905081810360208301526152a781846149bb565b90509392505050565b600060208201905081810360008301526152ca8184614a12565b905092915050565b600060208201905081810360008301526152eb81614a4b565b9050919050565b6000602082019050818103600083015261530b81614a6e565b9050919050565b6000602082019050818103600083015261532b81614ab4565b9050919050565b6000602082019050818103600083015261534b81614ad7565b9050919050565b6000602082019050818103600083015261536b81614afa565b9050919050565b6000602082019050818103600083015261538b81614b1d565b9050919050565b600060208201905081810360008301526153ab81614b40565b9050919050565b600060208201905081810360008301526153cb81614b63565b9050919050565b600060208201905081810360008301526153eb81614b86565b9050919050565b6000602082019050818103600083015261540b81614ba9565b9050919050565b6000602082019050818103600083015261542b81614bcc565b9050919050565b6000602082019050818103600083015261544b81614bef565b9050919050565b6000602082019050818103600083015261546b81614c12565b9050919050565b6000602082019050818103600083015261548b81614c35565b9050919050565b600060208201905081810360008301526154ab81614c58565b9050919050565b600060208201905081810360008301526154cb81614c7b565b9050919050565b600060208201905081810360008301526154eb81614c9e565b9050919050565b6000602082019050818103600083015261550b81614cc1565b9050919050565b6000602082019050818103600083015261552b81614ce4565b9050919050565b6000602082019050818103600083015261554b81614d07565b9050919050565b6000602082019050818103600083015261556b81614d2a565b9050919050565b6000602082019050818103600083015261558b81614d4d565b9050919050565b600060208201905081810360008301526155ab81614d70565b9050919050565b600060208201905081810360008301526155cb81614d93565b9050919050565b600060208201905081810360008301526155eb81614db6565b9050919050565b6000602082019050818103600083015261560b81614dd9565b9050919050565b60006020820190506156276000830184614dfc565b92915050565b6000615637615648565b905061564382826159ff565b919050565b6000604051905090565b600067ffffffffffffffff82111561566d5761566c615b53565b5b61567682615ba0565b9050602081019050919050565b6000819050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006157306020840184613ec7565b905092915050565b600061574382615946565b915061574e83615946565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561578357615782615a97565b5b828201905092915050565b600061579982615946565b91506157a483615946565b9250826157b4576157b3615ac6565b5b828204905092915050565b60006157ca82615946565b91506157d583615946565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561580e5761580d615a97565b5b828202905092915050565b600061582482615946565b915061582f83615946565b92508282101561584257615841615a97565b5b828203905092915050565b600061585882615950565b915061586383615950565b92508282101561587657615875615a97565b5b828203905092915050565b600061588c82615926565b9050919050565b600061589e82615926565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061592182616004565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006159688261596f565b9050919050565b600061597a82615926565b9050919050565b600061598c82615913565b9050919050565b82818337600083830152505050565b60005b838110156159c05780820151818401526020810190506159a5565b838111156159cf576000848401525b50505050565b60006159e082615946565b915060008214156159f4576159f3615a97565b5b600182039050919050565b615a0882615ba0565b810181811067ffffffffffffffff82111715615a2757615a26615b53565b5b80604052505050565b6000615a3b82615946565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615a6e57615a6d615a97565b5b600182019050919050565b6000819050919050565b6000819050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4753303233000000000000000000000000000000000000000000000000000000600082015250565b7f4753303236000000000000000000000000000000000000000000000000000000600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4753303234000000000000000000000000000000000000000000000000000000600082015250565b7f4753303330000000000000000000000000000000000000000000000000000000600082015250565b7f4753323031000000000000000000000000000000000000000000000000000000600082015250565b7f4753303232000000000000000000000000000000000000000000000000000000600082015250565b7f4753323030000000000000000000000000000000000000000000000000000000600082015250565b7f4753323033000000000000000000000000000000000000000000000000000000600082015250565b7f4753303030000000000000000000000000000000000000000000000000000000600082015250565b7f4753303131000000000000000000000000000000000000000000000000000000600082015250565b7f4753313033000000000000000000000000000000000000000000000000000000600082015250565b7f4753303132000000000000000000000000000000000000000000000000000000600082015250565b7f4753313030000000000000000000000000000000000000000000000000000000600082015250565b7f4753303031000000000000000000000000000000000000000000000000000000600082015250565b7f4753303133000000000000000000000000000000000000000000000000000000600082015250565b7f4753303130000000000000000000000000000000000000000000000000000000600082015250565b7f4753323032000000000000000000000000000000000000000000000000000000600082015250565b7f4753313034000000000000000000000000000000000000000000000000000000600082015250565b7f4753303331000000000000000000000000000000000000000000000000000000600082015250565b7f4753303235000000000000000000000000000000000000000000000000000000600082015250565b7f4753323034000000000000000000000000000000000000000000000000000000600082015250565b7f4753313032000000000000000000000000000000000000000000000000000000600082015250565b7f4753303231000000000000000000000000000000000000000000000000000000600082015250565b7f4753313031000000000000000000000000000000000000000000000000000000600082015250565b7f4753303230000000000000000000000000000000000000000000000000000000600082015250565b7f4753323035000000000000000000000000000000000000000000000000000000600082015250565b6002811061601557616014615af5565b5b50565b61602181615881565b811461602c57600080fd5b50565b61603881615893565b811461604357600080fd5b50565b61604f816158dd565b811461605a57600080fd5b50565b616066816158e7565b811461607157600080fd5b50565b6002811061608157600080fd5b50565b61608d81615946565b811461609857600080fd5b5056fea2646970667358221220633874c875167e39187d16d15adce987379e0abad2bae4ade06dae436263cf7e64736f6c63430008060033"; - -type GnosisSafeConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GnosisSafeConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GnosisSafe__factory extends ContractFactory { - constructor(...args: GnosisSafeConstructorParams) { - 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): GnosisSafe { - return super.attach(address) as GnosisSafe; - } - override connect(signer: Signer): GnosisSafe__factory { - return super.connect(signer) as GnosisSafe__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GnosisSafeInterface { - return new utils.Interface(_abi) as GnosisSafeInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GnosisSafe { - return new Contract(address, _abi, signerOrProvider) as GnosisSafe; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/FallbackManager__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/FallbackManager__factory.ts deleted file mode 100644 index 85f1d26705..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/FallbackManager__factory.ts +++ /dev/null @@ -1,93 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - FallbackManager, - FallbackManagerInterface, -} from "../../../../../@gnosis.pm/safe-contracts/contracts/base/FallbackManager"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "handler", - type: "address", - }, - ], - name: "ChangedFallbackHandler", - type: "event", - }, - { - stateMutability: "nonpayable", - type: "fallback", - }, - { - inputs: [ - { - internalType: "address", - name: "handler", - type: "address", - }, - ], - name: "setFallbackHandler", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b50610303806100206000396000f3fe608060405234801561001057600080fd5b506004361061002f5760003560e01c8063f08a03231461009057610030565b5b60007f6c9a6c4a39284e37ed1cf53d337577d14212a4870fb976a4366c693b939918d560001b905080548061006457600080f35b36600080373360601b365260008060143601600080855af13d6000803e8061008b573d6000fd5b3d6000f35b6100aa60048036038101906100a591906101ab565b6100ac565b005b6100b46100f7565b6100bd81610167565b7f5ac6c46c93c8d0e53714ba3b53db3e7c046da994313d7ed0d192028bc7c228b0816040516100ec919061020a565b60405180910390a150565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015c90610225565b60405180910390fd5b565b60007f6c9a6c4a39284e37ed1cf53d337577d14212a4870fb976a4366c693b939918d560001b90508181555050565b6000813590506101a5816102b6565b92915050565b6000602082840312156101c1576101c0610288565b5b60006101cf84828501610196565b91505092915050565b6101e181610256565b82525050565b60006101f4600583610245565b91506101ff8261028d565b602082019050919050565b600060208201905061021f60008301846101d8565b92915050565b6000602082019050818103600083015261023e816101e7565b9050919050565b600082825260208201905092915050565b600061026182610268565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f4753303331000000000000000000000000000000000000000000000000000000600082015250565b6102bf81610256565b81146102ca57600080fd5b5056fea2646970667358221220acce74a7277c06c05be0458e5b73e7429d361786ceff17e3542a9059e5cdb03d64736f6c63430008060033"; - -type FallbackManagerConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: FallbackManagerConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class FallbackManager__factory extends ContractFactory { - constructor(...args: FallbackManagerConstructorParams) { - 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): FallbackManager { - return super.attach(address) as FallbackManager; - } - override connect(signer: Signer): FallbackManager__factory { - return super.connect(signer) as FallbackManager__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): FallbackManagerInterface { - return new utils.Interface(_abi) as FallbackManagerInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): FallbackManager { - return new Contract(address, _abi, signerOrProvider) as FallbackManager; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/GuardManager__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/GuardManager__factory.ts deleted file mode 100644 index 9f40c75acc..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/GuardManager__factory.ts +++ /dev/null @@ -1,89 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - GuardManager, - GuardManagerInterface, -} from "../../../../../../@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/GuardManager"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "guard", - type: "address", - }, - ], - name: "ChangedGuard", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "guard", - type: "address", - }, - ], - name: "setGuard", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b50610297806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e19a9dd914610030575b600080fd5b61004a6004803603810190610045919061013f565b61004c565b005b6100546100ba565b60007f4a204f620c8c5ccdca3fd54d003badd85ba500436a431f0cbda4f558c93c34c860001b90508181557f1151116914515bc0891ff9047a6cb32cf902546f83066499bcf8ba33d2353fa2826040516100ae919061019e565b60405180910390a15050565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161011f906101b9565b60405180910390fd5b565b6000813590506101398161024a565b92915050565b6000602082840312156101555761015461021c565b5b60006101638482850161012a565b91505092915050565b610175816101ea565b82525050565b60006101886005836101d9565b915061019382610221565b602082019050919050565b60006020820190506101b3600083018461016c565b92915050565b600060208201905081810360008301526101d28161017b565b9050919050565b600082825260208201905092915050565b60006101f5826101fc565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f4753303331000000000000000000000000000000000000000000000000000000600082015250565b610253816101ea565b811461025e57600080fd5b5056fea264697066735822122036882f183534afb9e4b55421bb6bd751f7f43e643b078a857bd45fadf70bd94064736f6c63430008060033"; - -type GuardManagerConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GuardManagerConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GuardManager__factory extends ContractFactory { - constructor(...args: GuardManagerConstructorParams) { - 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): GuardManager { - return super.attach(address) as GuardManager; - } - override connect(signer: Signer): GuardManager__factory { - return super.connect(signer) as GuardManager__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GuardManagerInterface { - return new utils.Interface(_abi) as GuardManagerInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GuardManager { - return new Contract(address, _abi, signerOrProvider) as GuardManager; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/Guard__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/Guard__factory.ts deleted file mode 100644 index 957f14d2b3..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/Guard__factory.ts +++ /dev/null @@ -1,104 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - Guard, - GuardInterface, -} from "../../../../../../@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/Guard"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "txHash", - type: "bytes32", - }, - { - internalType: "bool", - name: "success", - type: "bool", - }, - ], - name: "checkAfterExecution", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - { - internalType: "uint256", - name: "safeTxGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "baseGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "gasPrice", - type: "uint256", - }, - { - internalType: "address", - name: "gasToken", - type: "address", - }, - { - internalType: "address payable", - name: "refundReceiver", - type: "address", - }, - { - internalType: "bytes", - name: "signatures", - type: "bytes", - }, - { - internalType: "address", - name: "msgSender", - type: "address", - }, - ], - name: "checkTransaction", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class Guard__factory { - static readonly abi = _abi; - static createInterface(): GuardInterface { - return new utils.Interface(_abi) as GuardInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): Guard { - return new Contract(address, _abi, signerOrProvider) as Guard; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/index.ts deleted file mode 100644 index 3b256fbd76..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { Guard__factory } from "./Guard__factory"; -export { GuardManager__factory } from "./GuardManager__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/ModuleManager__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/ModuleManager__factory.ts deleted file mode 100644 index 0c0cf21052..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/ModuleManager__factory.ts +++ /dev/null @@ -1,267 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - ModuleManager, - ModuleManagerInterface, -} from "../../../../../@gnosis.pm/safe-contracts/contracts/base/ModuleManager"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "DisabledModule", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "EnabledModule", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "ExecutionFromModuleFailure", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "ExecutionFromModuleSuccess", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "prevModule", - type: "address", - }, - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "disableModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "enableModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "execTransactionFromModule", - outputs: [ - { - internalType: "bool", - name: "success", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "execTransactionFromModuleReturnData", - outputs: [ - { - internalType: "bool", - name: "success", - type: "bool", - }, - { - internalType: "bytes", - name: "returnData", - type: "bytes", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "start", - type: "address", - }, - { - internalType: "uint256", - name: "pageSize", - type: "uint256", - }, - ], - name: "getModulesPaginated", - outputs: [ - { - internalType: "address[]", - name: "array", - type: "address[]", - }, - { - internalType: "address", - name: "next", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "isModuleEnabled", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b50611588806100206000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80632d9ad53d14610067578063468721a7146100975780635229073f146100c7578063610b5925146100f8578063cc2f845214610114578063e009cfde14610145575b600080fd5b610081600480360381019061007c9190610db5565b610161565b60405161008e91906110bb565b60405180910390f35b6100b160048036038101906100ac9190610e62565b610232565b6040516100be91906110bb565b60405180910390f35b6100e160048036038101906100dc9190610e62565b6103e4565b6040516100ef9291906110d6565b60405180910390f35b610112600480360381019061010d9190610db5565b61041a565b005b61012e60048036038101906101299190610e22565b61072c565b60405161013c92919061108b565b60405180910390f35b61015f600480360381019061015a9190610de2565b61092b565b005b60008173ffffffffffffffffffffffffffffffffffffffff16600173ffffffffffffffffffffffffffffffffffffffff161415801561022b5750600073ffffffffffffffffffffffffffffffffffffffff166000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b6000600173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156102fc5750600073ffffffffffffffffffffffffffffffffffffffff166000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b61033b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033290611126565b60405180910390fd5b610348858585855a610c3c565b90508015610398573373ffffffffffffffffffffffffffffffffffffffff167f6895c13664aa4f67288b25d7a21d7aaa34916e355fb9b6fae0a139a9085becb860405160405180910390a26103dc565b3373ffffffffffffffffffffffffffffffffffffffff167facd2c8702804128fdb0db2bb49f6d127dd0181c13fd45dbfe16de0930e2bd37560405160405180910390a25b949350505050565b600060606103f486868686610232565b915060405160203d0181016040523d81523d6000602083013e8091505094509492505050565b610422610c96565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561048c5750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6104cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c290611186565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058f90611166565b60405180910390fd5b600080600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600080600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fecdf3a3effea5783a3c4c2140e677577666428d44ed9d474a0b3a4c9943f8440816040516107219190611070565b60405180910390a150565b606060008267ffffffffffffffff81111561074a576107496113f3565b5b6040519080825280602002602001820160405280156107785781602001602082028036833780820191505090505b5091506000808060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561084a5750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561085557508482105b1561091c578084838151811061086e5761086d6113c4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081806109149061131d565b9250506107e0565b80925081845250509250929050565b610933610c96565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561099d5750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d390611186565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9f90611106565b60405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507faab4fa2b463f581b2b32cb3b7e3b704b9ce37cc209b5fb4d77e593ace405427681604051610c309190611070565b60405180910390a15050565b6000600180811115610c5157610c50611395565b5b836001811115610c6457610c63611395565b5b1415610c7d576000808551602087018986f49050610c8d565b600080855160208701888a87f190505b95945050505050565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfb90611146565b60405180910390fd5b565b6000610d19610d14846111cb565b6111a6565b905082815260208101848484011115610d3557610d34611427565b5b610d408482856112aa565b509392505050565b600081359050610d5781611514565b92915050565b600082601f830112610d7257610d71611422565b5b8135610d82848260208601610d06565b91505092915050565b600081359050610d9a8161152b565b92915050565b600081359050610daf8161153b565b92915050565b600060208284031215610dcb57610dca611431565b5b6000610dd984828501610d48565b91505092915050565b60008060408385031215610df957610df8611431565b5b6000610e0785828601610d48565b9250506020610e1885828601610d48565b9150509250929050565b60008060408385031215610e3957610e38611431565b5b6000610e4785828601610d48565b9250506020610e5885828601610da0565b9150509250929050565b60008060008060808587031215610e7c57610e7b611431565b5b6000610e8a87828801610d48565b9450506020610e9b87828801610da0565b935050604085013567ffffffffffffffff811115610ebc57610ebb61142c565b5b610ec887828801610d5d565b9250506060610ed987828801610d8b565b91505092959194509250565b6000610ef18383610efd565b60208301905092915050565b610f0681611262565b82525050565b610f1581611262565b82525050565b6000610f268261120c565b610f30818561122f565b9350610f3b836111fc565b8060005b83811015610f6c578151610f538882610ee5565b9750610f5e83611222565b925050600181019050610f3f565b5085935050505092915050565b610f8281611274565b82525050565b6000610f9382611217565b610f9d8185611240565b9350610fad8185602086016112b9565b610fb681611436565b840191505092915050565b6000610fce600583611251565b9150610fd982611447565b602082019050919050565b6000610ff1600583611251565b9150610ffc82611470565b602082019050919050565b6000611014600583611251565b915061101f82611499565b602082019050919050565b6000611037600583611251565b9150611042826114c2565b602082019050919050565b600061105a600583611251565b9150611065826114eb565b602082019050919050565b60006020820190506110856000830184610f0c565b92915050565b600060408201905081810360008301526110a58185610f1b565b90506110b46020830184610f0c565b9392505050565b60006020820190506110d06000830184610f79565b92915050565b60006040820190506110eb6000830185610f79565b81810360208301526110fd8184610f88565b90509392505050565b6000602082019050818103600083015261111f81610fc1565b9050919050565b6000602082019050818103600083015261113f81610fe4565b9050919050565b6000602082019050818103600083015261115f81611007565b9050919050565b6000602082019050818103600083015261117f8161102a565b9050919050565b6000602082019050818103600083015261119f8161104d565b9050919050565b60006111b06111c1565b90506111bc82826112ec565b919050565b6000604051905090565b600067ffffffffffffffff8211156111e6576111e56113f3565b5b6111ef82611436565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061126d82611280565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156112d75780820151818401526020810190506112bc565b838111156112e6576000848401525b50505050565b6112f582611436565b810181811067ffffffffffffffff82111715611314576113136113f3565b5b80604052505050565b6000611328826112a0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561135b5761135a611366565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4753313033000000000000000000000000000000000000000000000000000000600082015250565b7f4753313034000000000000000000000000000000000000000000000000000000600082015250565b7f4753303331000000000000000000000000000000000000000000000000000000600082015250565b7f4753313032000000000000000000000000000000000000000000000000000000600082015250565b7f4753313031000000000000000000000000000000000000000000000000000000600082015250565b61151d81611262565b811461152857600080fd5b50565b6002811061153857600080fd5b50565b611544816112a0565b811461154f57600080fd5b5056fea26469706673582212206c856797e0231443cfad56fc27b9c42c92c3f0331574afa19316ee7533063a4f64736f6c63430008060033"; - -type ModuleManagerConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ModuleManagerConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class ModuleManager__factory extends ContractFactory { - constructor(...args: ModuleManagerConstructorParams) { - 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): ModuleManager { - return super.attach(address) as ModuleManager; - } - override connect(signer: Signer): ModuleManager__factory { - return super.connect(signer) as ModuleManager__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ModuleManagerInterface { - return new utils.Interface(_abi) as ModuleManagerInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ModuleManager { - return new Contract(address, _abi, signerOrProvider) as ModuleManager; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/OwnerManager__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/OwnerManager__factory.ts deleted file mode 100644 index 783a1165e6..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/OwnerManager__factory.ts +++ /dev/null @@ -1,224 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - OwnerManager, - OwnerManagerInterface, -} from "../../../../../@gnosis.pm/safe-contracts/contracts/base/OwnerManager"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "AddedOwner", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "threshold", - type: "uint256", - }, - ], - name: "ChangedThreshold", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "RemovedOwner", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - ], - name: "addOwnerWithThreshold", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - ], - name: "changeThreshold", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getOwners", - outputs: [ - { - internalType: "address[]", - name: "", - type: "address[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getThreshold", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "isOwner", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "prevOwner", - type: "address", - }, - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "uint256", - name: "_threshold", - type: "uint256", - }, - ], - name: "removeOwner", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "prevOwner", - type: "address", - }, - { - internalType: "address", - name: "oldOwner", - type: "address", - }, - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "swapOwner", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b506118f0806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063a0e67e2b1161005b578063a0e67e2b146100ea578063e318b52b14610108578063e75235b814610124578063f8dc5dd9146101425761007d565b80630d582f13146100825780632f54bf6e1461009e578063694e80c3146100ce575b600080fd5b61009c600480360381019061009791906112a7565b61015e565b005b6100b860048036038101906100b391906111d4565b6104d4565b6040516100c591906114d5565b60405180910390f35b6100e860048036038101906100e391906112e7565b6105a5565b005b6100f2610679565b6040516100ff91906114b3565b60405180910390f35b610122600480360381019061011d9190611201565b61082f565b005b61012c610da3565b60405161013991906115b0565b60405180910390f35b61015c60048036038101906101579190611254565b610dad565b005b61016661113a565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156101d05750600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561020857503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b610247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023e90611510565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030b90611570565b60405180910390fd5b600080600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600080600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016000815480929190610481906116bb565b91905055507f9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26826040516104b59190611498565b60405180910390a180600254146104d0576104cf816105a5565b5b5050565b6000600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561059e5750600073ffffffffffffffffffffffffffffffffffffffff166000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b6105ad61113a565b6001548111156105f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e9906114f0565b60405180910390fd5b6001811015610636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062d90611530565b60405180910390fd5b806002819055507f610f7ff2b304ae8903c3de74c60c6ab1f7d6226b3f52c5161905bb5ad4039c9360025460405161066e91906115b0565b60405180910390a150565b6060600060015467ffffffffffffffff81111561069957610698611762565b5b6040519080825280602002602001820160405280156106c75781602001602082028036833780820191505090505b509050600080806000600173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610826578083838151811061077857610777611733565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050818061081e906116bb565b925050610730565b82935050505090565b61083761113a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156108a15750600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156108d957503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b610918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090f90611510565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dc90611570565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015610a4f5750600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b610a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8590611510565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5190611590565b60405180910390fd5b6000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507ff8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf82604051610d5f9190611498565b60405180910390a17f9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea2681604051610d969190611498565b60405180910390a1505050565b6000600254905090565b610db561113a565b8060018054610dc49190611615565b1015610e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfc906114f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015610e6f5750600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b610eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea590611510565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190611590565b60405180910390fd5b6000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160008154809291906110e690611691565b91905055507ff8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf8260405161111a9190611498565b60405180910390a1806002541461113557611134816105a5565b5b505050565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119f90611550565b60405180910390fd5b565b6000813590506111b98161188c565b92915050565b6000813590506111ce816118a3565b92915050565b6000602082840312156111ea576111e9611791565b5b60006111f8848285016111aa565b91505092915050565b60008060006060848603121561121a57611219611791565b5b6000611228868287016111aa565b9350506020611239868287016111aa565b925050604061124a868287016111aa565b9150509250925092565b60008060006060848603121561126d5761126c611791565b5b600061127b868287016111aa565b935050602061128c868287016111aa565b925050604061129d868287016111bf565b9150509250925092565b600080604083850312156112be576112bd611791565b5b60006112cc858286016111aa565b92505060206112dd858286016111bf565b9150509250929050565b6000602082840312156112fd576112fc611791565b5b600061130b848285016111bf565b91505092915050565b6000611320838361132c565b60208301905092915050565b61133581611649565b82525050565b61134481611649565b82525050565b6000611355826115db565b61135f81856115f3565b935061136a836115cb565b8060005b8381101561139b5781516113828882611314565b975061138d836115e6565b92505060018101905061136e565b5085935050505092915050565b6113b18161165b565b82525050565b60006113c4600583611604565b91506113cf82611796565b602082019050919050565b60006113e7600583611604565b91506113f2826117bf565b602082019050919050565b600061140a600583611604565b9150611415826117e8565b602082019050919050565b600061142d600583611604565b915061143882611811565b602082019050919050565b6000611450600583611604565b915061145b8261183a565b602082019050919050565b6000611473600583611604565b915061147e82611863565b602082019050919050565b61149281611687565b82525050565b60006020820190506114ad600083018461133b565b92915050565b600060208201905081810360008301526114cd818461134a565b905092915050565b60006020820190506114ea60008301846113a8565b92915050565b60006020820190508181036000830152611509816113b7565b9050919050565b60006020820190508181036000830152611529816113da565b9050919050565b60006020820190508181036000830152611549816113fd565b9050919050565b6000602082019050818103600083015261156981611420565b9050919050565b6000602082019050818103600083015261158981611443565b9050919050565b600060208201905081810360008301526115a981611466565b9050919050565b60006020820190506115c56000830184611489565b92915050565b6000819050602082019050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600061162082611687565b915061162b83611687565b92508282101561163e5761163d611704565b5b828203905092915050565b600061165482611667565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061169c82611687565b915060008214156116b0576116af611704565b5b600182039050919050565b60006116c682611687565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156116f9576116f8611704565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b7f4753323031000000000000000000000000000000000000000000000000000000600082015250565b7f4753323033000000000000000000000000000000000000000000000000000000600082015250565b7f4753323032000000000000000000000000000000000000000000000000000000600082015250565b7f4753303331000000000000000000000000000000000000000000000000000000600082015250565b7f4753323034000000000000000000000000000000000000000000000000000000600082015250565b7f4753323035000000000000000000000000000000000000000000000000000000600082015250565b61189581611649565b81146118a057600080fd5b50565b6118ac81611687565b81146118b757600080fd5b5056fea2646970667358221220b742c29301c34459e56eef13d3b06b81ee5a380ac65e4f68dd195db0bb61c07464736f6c63430008060033"; - -type OwnerManagerConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: OwnerManagerConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class OwnerManager__factory extends ContractFactory { - constructor(...args: OwnerManagerConstructorParams) { - 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): OwnerManager { - return super.attach(address) as OwnerManager; - } - override connect(signer: Signer): OwnerManager__factory { - return super.connect(signer) as OwnerManager__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): OwnerManagerInterface { - return new utils.Interface(_abi) as OwnerManagerInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): OwnerManager { - return new Contract(address, _abi, signerOrProvider) as OwnerManager; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/index.ts deleted file mode 100644 index fe9144d755..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/base/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as guardManagerSol from "./GuardManager.sol"; -export { FallbackManager__factory } from "./FallbackManager__factory"; -export { ModuleManager__factory } from "./ModuleManager__factory"; -export { OwnerManager__factory } from "./OwnerManager__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/common/EtherPaymentFallback__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/common/EtherPaymentFallback__factory.ts deleted file mode 100644 index d98f3b9d6b..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/common/EtherPaymentFallback__factory.ts +++ /dev/null @@ -1,90 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - EtherPaymentFallback, - EtherPaymentFallbackInterface, -} from "../../../../../@gnosis.pm/safe-contracts/contracts/common/EtherPaymentFallback"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "SafeReceived", - type: "event", - }, - { - stateMutability: "payable", - type: "receive", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060c18061001f6000396000f3fe6080604052366056573373ffffffffffffffffffffffffffffffffffffffff167f3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d34604051604c91906068565b60405180910390a2005b600080fd5b6062816081565b82525050565b6000602082019050607b6000830184605b565b92915050565b600081905091905056fea2646970667358221220d5dbadbb79ff4748482c8538eefc841055c5bbbed4462c6c75a9e4b2a299f52564736f6c63430008060033"; - -type EtherPaymentFallbackConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: EtherPaymentFallbackConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class EtherPaymentFallback__factory extends ContractFactory { - constructor(...args: EtherPaymentFallbackConstructorParams) { - 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): EtherPaymentFallback { - return super.attach(address) as EtherPaymentFallback; - } - override connect(signer: Signer): EtherPaymentFallback__factory { - return super.connect(signer) as EtherPaymentFallback__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): EtherPaymentFallbackInterface { - return new utils.Interface(_abi) as EtherPaymentFallbackInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): EtherPaymentFallback { - return new Contract( - address, - _abi, - signerOrProvider - ) as EtherPaymentFallback; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/common/StorageAccessible__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/common/StorageAccessible__factory.ts deleted file mode 100644 index 7b16a75d28..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/common/StorageAccessible__factory.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - StorageAccessible, - StorageAccessibleInterface, -} from "../../../../../@gnosis.pm/safe-contracts/contracts/common/StorageAccessible"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "offset", - type: "uint256", - }, - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "getStorageAt", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "targetContract", - type: "address", - }, - { - internalType: "bytes", - name: "calldataPayload", - type: "bytes", - }, - ], - name: "simulateAndRevert", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b5061057d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80635624b25b1461003b578063b4faba091461006b575b600080fd5b61005560048036038101906100509190610237565b610087565b60405161006291906102b0565b60405180910390f35b610085600480360381019061008091906101db565b61011f565b005b606060006020836100989190610344565b67ffffffffffffffff8111156100b1576100b06104c5565b5b6040519080825280601f01601f1916602001820160405280156100e35781602001600182028036833780820191505090505b50905060005b838110156101145780850154806020830260208501015250808061010c9061044d565b9150506100e9565b508091505092915050565b600080825160208401855af4806000523d6020523d600060403e60403d016000fd5b600061015461014f846102f7565b6102d2565b9050828152602081018484840111156101705761016f6104f9565b5b61017b8482856103da565b509392505050565b60008135905061019281610519565b92915050565b600082601f8301126101ad576101ac6104f4565b5b81356101bd848260208601610141565b91505092915050565b6000813590506101d581610530565b92915050565b600080604083850312156101f2576101f1610503565b5b600061020085828601610183565b925050602083013567ffffffffffffffff811115610221576102206104fe565b5b61022d85828601610198565b9150509250929050565b6000806040838503121561024e5761024d610503565b5b600061025c858286016101c6565b925050602061026d858286016101c6565b9150509250929050565b600061028282610328565b61028c8185610333565b935061029c8185602086016103e9565b6102a581610508565b840191505092915050565b600060208201905081810360008301526102ca8184610277565b905092915050565b60006102dc6102ed565b90506102e8828261041c565b919050565b6000604051905090565b600067ffffffffffffffff821115610312576103116104c5565b5b61031b82610508565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600061034f826103d0565b915061035a836103d0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561039357610392610496565b5b828202905092915050565b60006103a9826103b0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156104075780820151818401526020810190506103ec565b83811115610416576000848401525b50505050565b61042582610508565b810181811067ffffffffffffffff82111715610444576104436104c5565b5b80604052505050565b6000610458826103d0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561048b5761048a610496565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6105228161039e565b811461052d57600080fd5b50565b610539816103d0565b811461054457600080fd5b5056fea26469706673582212207ef36a2a872da9655ee8bbdeea3ca9b4f8c4909d91ce6fa3ac31351577a14d4a64736f6c63430008060033"; - -type StorageAccessibleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StorageAccessibleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StorageAccessible__factory extends ContractFactory { - constructor(...args: StorageAccessibleConstructorParams) { - 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): StorageAccessible { - return super.attach(address) as StorageAccessible; - } - override connect(signer: Signer): StorageAccessible__factory { - return super.connect(signer) as StorageAccessible__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StorageAccessibleInterface { - return new utils.Interface(_abi) as StorageAccessibleInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StorageAccessible { - return new Contract(address, _abi, signerOrProvider) as StorageAccessible; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/common/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/common/index.ts deleted file mode 100644 index c29eaa02c3..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/common/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { EtherPaymentFallback__factory } from "./EtherPaymentFallback__factory"; -export { StorageAccessible__factory } from "./StorageAccessible__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/index.ts deleted file mode 100644 index 0b330a85f8..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as base from "./base"; -export * as common from "./common"; -export * as interfaces from "./interfaces"; -export * as libraries from "./libraries"; -export * as proxies from "./proxies"; -export { GnosisSafe__factory } from "./GnosisSafe__factory"; -export { GnosisSafeL2__factory } from "./GnosisSafeL2__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/interfaces/IERC165__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/interfaces/IERC165__factory.ts deleted file mode 100644 index c21486c351..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/interfaces/IERC165__factory.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IERC165, - IERC165Interface, -} from "../../../../../@gnosis.pm/safe-contracts/contracts/interfaces/IERC165"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class IERC165__factory { - static readonly abi = _abi; - static createInterface(): IERC165Interface { - return new utils.Interface(_abi) as IERC165Interface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC165 { - return new Contract(address, _abi, signerOrProvider) as IERC165; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/interfaces/ISignatureValidator__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/interfaces/ISignatureValidator__factory.ts deleted file mode 100644 index ed36de83d8..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/interfaces/ISignatureValidator__factory.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - ISignatureValidator, - ISignatureValidatorInterface, -} from "../../../../../@gnosis.pm/safe-contracts/contracts/interfaces/ISignatureValidator"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - internalType: "bytes", - name: "_signature", - type: "bytes", - }, - ], - name: "isValidSignature", - outputs: [ - { - internalType: "bytes4", - name: "", - type: "bytes4", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class ISignatureValidator__factory { - static readonly abi = _abi; - static createInterface(): ISignatureValidatorInterface { - return new utils.Interface(_abi) as ISignatureValidatorInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ISignatureValidator { - return new Contract(address, _abi, signerOrProvider) as ISignatureValidator; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/interfaces/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/interfaces/index.ts deleted file mode 100644 index 71ac33dc7a..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/interfaces/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IERC165__factory } from "./IERC165__factory"; -export { ISignatureValidator__factory } from "./ISignatureValidator__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/libraries/MultiSend__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/libraries/MultiSend__factory.ts deleted file mode 100644 index dc0ad6233e..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/libraries/MultiSend__factory.ts +++ /dev/null @@ -1,81 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - MultiSend, - MultiSendInterface, -} from "../../../../../@gnosis.pm/safe-contracts/contracts/libraries/MultiSend"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "bytes", - name: "transactions", - type: "bytes", - }, - ], - name: "multiSend", - outputs: [], - stateMutability: "payable", - type: "function", - }, -]; - -const _bytecode = - "0x60a060405234801561001057600080fd5b503073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505060805160601c6103d66100656000396000604101526103d66000f3fe60806040526004361061001e5760003560e01c80638d80ff0a14610023575b600080fd5b61003d600480360381019061003891906101ca565b61003f565b005b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614156100ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100c590610236565b60405180910390fd5b805160205b81811015610155578083015160f81c6001820184015160601c601583018501516035840186015160558501870160008560008114610118576001811461012857610133565b6000808585888a5af19150610133565b6000808585895af491505b50600081141561014257600080fd5b82605501870196505050505050506100d3565b505050565b600061016d6101688461027b565b610256565b90508281526020810184848401111561018957610188610331565b5b6101948482856102bd565b509392505050565b600082601f8301126101b1576101b061032c565b5b81356101c184826020860161015a565b91505092915050565b6000602082840312156101e0576101df61033b565b5b600082013567ffffffffffffffff8111156101fe576101fd610336565b5b61020a8482850161019c565b91505092915050565b60006102206030836102ac565b915061022b82610351565b604082019050919050565b6000602082019050818103600083015261024f81610213565b9050919050565b6000610260610271565b905061026c82826102cc565b919050565b6000604051905090565b600067ffffffffffffffff821115610296576102956102fd565b5b61029f82610340565b9050602081019050919050565b600082825260208201905092915050565b82818337600083830152505050565b6102d582610340565b810181811067ffffffffffffffff821117156102f4576102f36102fd565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d756c746953656e642073686f756c64206f6e6c792062652063616c6c65642060008201527f7669612064656c656761746563616c6c0000000000000000000000000000000060208201525056fea2646970667358221220856dda3f30193d6600383a158d37e8d7c6bcf7ac459dbaea7ea6cc663a2fd2fc64736f6c63430008060033"; - -type MultiSendConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: MultiSendConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class MultiSend__factory extends ContractFactory { - constructor(...args: MultiSendConstructorParams) { - 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): MultiSend { - return super.attach(address) as MultiSend; - } - override connect(signer: Signer): MultiSend__factory { - return super.connect(signer) as MultiSend__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): MultiSendInterface { - return new utils.Interface(_abi) as MultiSendInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): MultiSend { - return new Contract(address, _abi, signerOrProvider) as MultiSend; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/libraries/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/libraries/index.ts deleted file mode 100644 index 59e595652e..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/libraries/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { MultiSend__factory } from "./MultiSend__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/GnosisSafeProxy__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/GnosisSafeProxy__factory.ts deleted file mode 100644 index 80f8fca151..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/GnosisSafeProxy__factory.ts +++ /dev/null @@ -1,83 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - GnosisSafeProxy, - GnosisSafeProxyInterface, -} from "../../../../../../@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/GnosisSafeProxy"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_singleton", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - stateMutability: "payable", - type: "fallback", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b506040516102d43803806102d4833981810160405281019061003291906100fd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100999061014d565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505061021b565b6000815190506100f781610204565b92915050565b600060208284031215610113576101126101b0565b5b6000610121848285016100e8565b91505092915050565b600061013760228361016d565b9150610142826101b5565b604082019050919050565b600060208201905081810360008301526101668161012a565b9050919050565b600082825260208201905092915050565b600061018982610190565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f496e76616c69642073696e676c65746f6e20616464726573732070726f76696460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b61020d8161017e565b811461021857600080fd5b50565b60ab806102296000396000f3fe608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea2646970667358221220947a2711a30de0a675858b6b570c8cbc1c80a779f44ff1fe058c651a55fa146d64736f6c63430008060033"; - -type GnosisSafeProxyConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GnosisSafeProxyConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GnosisSafeProxy__factory extends ContractFactory { - constructor(...args: GnosisSafeProxyConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _singleton: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _singleton, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _singleton: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_singleton, overrides || {}); - } - override attach(address: string): GnosisSafeProxy { - return super.attach(address) as GnosisSafeProxy; - } - override connect(signer: Signer): GnosisSafeProxy__factory { - return super.connect(signer) as GnosisSafeProxy__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GnosisSafeProxyInterface { - return new utils.Interface(_abi) as GnosisSafeProxyInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GnosisSafeProxy { - return new Contract(address, _abi, signerOrProvider) as GnosisSafeProxy; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/IProxy__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/IProxy__factory.ts deleted file mode 100644 index 4af04a7b2d..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/IProxy__factory.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IProxy, - IProxyInterface, -} from "../../../../../../@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/IProxy"; - -const _abi = [ - { - inputs: [], - name: "masterCopy", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class IProxy__factory { - static readonly abi = _abi; - static createInterface(): IProxyInterface { - return new utils.Interface(_abi) as IProxyInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IProxy { - return new Contract(address, _abi, signerOrProvider) as IProxy; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/index.ts deleted file mode 100644 index cf12fd8aac..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxy.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { GnosisSafeProxy__factory } from "./GnosisSafeProxy__factory"; -export { IProxy__factory } from "./IProxy__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxyFactory__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxyFactory__factory.ts deleted file mode 100644 index fccce42ca1..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxyFactory__factory.ts +++ /dev/null @@ -1,228 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - GnosisSafeProxyFactory, - GnosisSafeProxyFactoryInterface, -} from "../../../../../@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxyFactory"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "contract GnosisSafeProxy", - name: "proxy", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "singleton", - type: "address", - }, - ], - name: "ProxyCreation", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "_singleton", - type: "address", - }, - { - internalType: "bytes", - name: "initializer", - type: "bytes", - }, - { - internalType: "uint256", - name: "saltNonce", - type: "uint256", - }, - ], - name: "calculateCreateProxyWithNonceAddress", - outputs: [ - { - internalType: "contract GnosisSafeProxy", - name: "proxy", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "singleton", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "createProxy", - outputs: [ - { - internalType: "contract GnosisSafeProxy", - name: "proxy", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_singleton", - type: "address", - }, - { - internalType: "bytes", - name: "initializer", - type: "bytes", - }, - { - internalType: "uint256", - name: "saltNonce", - type: "uint256", - }, - { - internalType: "contract IProxyCreationCallback", - name: "callback", - type: "address", - }, - ], - name: "createProxyWithCallback", - outputs: [ - { - internalType: "contract GnosisSafeProxy", - name: "proxy", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_singleton", - type: "address", - }, - { - internalType: "bytes", - name: "initializer", - type: "bytes", - }, - { - internalType: "uint256", - name: "saltNonce", - type: "uint256", - }, - ], - name: "createProxyWithNonce", - outputs: [ - { - internalType: "contract GnosisSafeProxy", - name: "proxy", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "proxyCreationCode", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [], - name: "proxyRuntimeCode", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "pure", - type: "function", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b506112ff806100206000396000f3fe60806040523480156200001157600080fd5b50600436106200006a5760003560e01c80631688f0b9146200006f5780632500510e14620000a557806353e5d93514620000db57806361b69abd14620000fd578063addacc0f1462000133578063d18af54d1462000155575b600080fd5b6200008d6004803603810190620000879190620007f6565b6200018b565b6040516200009c919062000b6b565b60405180910390f35b620000c36004803603810190620000bd919062000710565b62000206565b604051620000d2919062000b6b565b60405180910390f35b620000e5620002bb565b604051620000f4919062000b47565b60405180910390f35b6200011b600480360381019062000115919062000790565b620002e8565b6040516200012a919062000b6b565b60405180910390f35b6200013d6200038e565b6040516200014c919062000b47565b60405180910390f35b6200017360048036038101906200016d919062000871565b620003bb565b60405162000182919062000b6b565b60405180910390f35b60006200019a848484620004b1565b9050600083511115620001c45760008060008551602087016000865af11415620001c357600080fd5b5b7f4f51faf6c4561ff95f067657e43439f0f856d97c04d9ec9070a6199ad418e2358185604051620001f792919062000b88565b60405180910390a19392505050565b6000620002598585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505084620004b1565b9050806040516020016200026e919062000add565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002b2919062000c09565b60405180910390fd5b606060405180602001620002cf90620005d3565b6020820181038252601f19601f82011660405250905090565b600082604051620002f990620005d3565b62000305919062000b2a565b604051809103906000f08015801562000322573d6000803e3d6000fd5b5090506000825111156200034d5760008060008451602086016000865af114156200034c57600080fd5b5b7f4f51faf6c4561ff95f067657e43439f0f856d97c04d9ec9070a6199ad418e23581846040516200038092919062000b88565b60405180910390a192915050565b606060405180602001620003a290620005e1565b6020820181038252601f19601f82011660405250905090565b6000808383604051602001620003d392919062000afa565b6040516020818303038152906040528051906020012060001c9050620003fb8686836200018b565b9150600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614620004a8578273ffffffffffffffffffffffffffffffffffffffff16631e52b518838888886040518563ffffffff1660e01b815260040162000473949392919062000bb5565b600060405180830381600087803b1580156200048e57600080fd5b505af1158015620004a3573d6000803e3d6000fd5b505050505b50949350505050565b600080838051906020012083604051602001620004d092919062000a81565b604051602081830303815290604052805190602001209050600060405180602001620004fc90620005d3565b6020820181038252601f19601f820116604052508673ffffffffffffffffffffffffffffffffffffffff166040516020016200053a92919062000ab1565b6040516020818303038152906040529050818151826020016000f59250600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620005ca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005c19062000c2d565b60405180910390fd5b50509392505050565b6102d48062000f4b83390190565b60ab806200121f83390190565b600062000605620005ff8462000c78565b62000c4f565b90508281526020810184848401111562000624576200062362000ea6565b5b6200063184828562000d9d565b509392505050565b6000813590506200064a8162000efc565b92915050565b60008083601f84011262000669576200066862000e9c565b5b8235905067ffffffffffffffff81111562000689576200068862000e97565b5b602083019150836001820283011115620006a857620006a762000ea1565b5b9250929050565b600082601f830112620006c757620006c662000e9c565b5b8135620006d9848260208601620005ee565b91505092915050565b600081359050620006f38162000f16565b92915050565b6000813590506200070a8162000f30565b92915050565b600080600080606085870312156200072d576200072c62000eb0565b5b60006200073d8782880162000639565b945050602085013567ffffffffffffffff81111562000761576200076062000eab565b5b6200076f8782880162000650565b935093505060406200078487828801620006f9565b91505092959194509250565b60008060408385031215620007aa57620007a962000eb0565b5b6000620007ba8582860162000639565b925050602083013567ffffffffffffffff811115620007de57620007dd62000eab565b5b620007ec85828601620006af565b9150509250929050565b60008060006060848603121562000812576200081162000eb0565b5b6000620008228682870162000639565b935050602084013567ffffffffffffffff81111562000846576200084562000eab565b5b6200085486828701620006af565b92505060406200086786828701620006f9565b9150509250925092565b600080600080608085870312156200088e576200088d62000eb0565b5b60006200089e8782880162000639565b945050602085013567ffffffffffffffff811115620008c257620008c162000eab565b5b620008d087828801620006af565b9350506040620008e387828801620006f9565b9250506060620008f687828801620006e2565b91505092959194509250565b6200090d8162000cf1565b82525050565b62000928620009228262000d05565b62000e40565b82525050565b60006200093b8262000cae565b62000947818562000cc4565b93506200095981856020860162000dac565b620009648162000eb5565b840191505092915050565b60006200097c8262000cae565b62000988818562000cd5565b93506200099a81856020860162000dac565b80840191505092915050565b620009b18162000d4d565b82525050565b620009cc620009c68262000d4d565b62000e2c565b82525050565b620009e7620009e18262000d75565b62000e18565b82525050565b6000620009fa8262000cb9565b62000a06818562000ce0565b935062000a1881856020860162000dac565b62000a238162000eb5565b840191505092915050565b600062000a3d60138362000ce0565b915062000a4a8262000ed3565b602082019050919050565b62000a608162000d43565b82525050565b62000a7b62000a758262000d43565b62000e5e565b82525050565b600062000a8f828562000913565b60208201915062000aa1828462000a66565b6020820191508190509392505050565b600062000abf82856200096f565b915062000acd828462000a66565b6020820191508190509392505050565b600062000aeb8284620009b7565b60148201915081905092915050565b600062000b08828562000a66565b60208201915062000b1a8284620009d2565b6014820191508190509392505050565b600060208201905062000b41600083018462000902565b92915050565b6000602082019050818103600083015262000b6381846200092e565b905092915050565b600060208201905062000b826000830184620009a6565b92915050565b600060408201905062000b9f6000830185620009a6565b62000bae602083018462000902565b9392505050565b600060808201905062000bcc6000830187620009a6565b62000bdb602083018662000902565b818103604083015262000bef81856200092e565b905062000c00606083018462000a55565b95945050505050565b6000602082019050818103600083015262000c258184620009ed565b905092915050565b6000602082019050818103600083015262000c488162000a2e565b9050919050565b600062000c5b62000c6e565b905062000c69828262000de2565b919050565b6000604051905090565b600067ffffffffffffffff82111562000c965762000c9562000e68565b5b62000ca18262000eb5565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600062000cfe8262000d23565b9050919050565b6000819050919050565b600062000d1c8262000cf1565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600062000d5a8262000d61565b9050919050565b600062000d6e8262000d23565b9050919050565b600062000d828262000d89565b9050919050565b600062000d968262000d23565b9050919050565b82818337600083830152505050565b60005b8381101562000dcc57808201518184015260208101905062000daf565b8381111562000ddc576000848401525b50505050565b62000ded8262000eb5565b810181811067ffffffffffffffff8211171562000e0f5762000e0e62000e68565b5b80604052505050565b600062000e258262000e4a565b9050919050565b600062000e398262000e4a565b9050919050565b6000819050919050565b600062000e578262000ec6565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f437265617465322063616c6c206661696c656400000000000000000000000000600082015250565b62000f078162000cf1565b811462000f1357600080fd5b50565b62000f218162000d0f565b811462000f2d57600080fd5b50565b62000f3b8162000d43565b811462000f4757600080fd5b5056fe608060405234801561001057600080fd5b506040516102d43803806102d4833981810160405281019061003291906100fd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100999061014d565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505061021b565b6000815190506100f781610204565b92915050565b600060208284031215610113576101126101b0565b5b6000610121848285016100e8565b91505092915050565b600061013760228361016d565b9150610142826101b5565b604082019050919050565b600060208201905081810360008301526101668161012a565b9050919050565b600082825260208201905092915050565b600061018982610190565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f496e76616c69642073696e676c65746f6e20616464726573732070726f76696460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b61020d8161017e565b811461021857600080fd5b50565b60ab806102296000396000f3fe608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea2646970667358221220947a2711a30de0a675858b6b570c8cbc1c80a779f44ff1fe058c651a55fa146d64736f6c63430008060033608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea2646970667358221220947a2711a30de0a675858b6b570c8cbc1c80a779f44ff1fe058c651a55fa146d64736f6c63430008060033a2646970667358221220e026723b6865b358cadbf16de03ff130cfd03657b6d050d60234498e49c400bf64736f6c63430008060033"; - -type GnosisSafeProxyFactoryConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GnosisSafeProxyFactoryConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GnosisSafeProxyFactory__factory extends ContractFactory { - constructor(...args: GnosisSafeProxyFactoryConstructorParams) { - 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): GnosisSafeProxyFactory { - return super.attach(address) as GnosisSafeProxyFactory; - } - override connect(signer: Signer): GnosisSafeProxyFactory__factory { - return super.connect(signer) as GnosisSafeProxyFactory__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GnosisSafeProxyFactoryInterface { - return new utils.Interface(_abi) as GnosisSafeProxyFactoryInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): GnosisSafeProxyFactory { - return new Contract( - address, - _abi, - signerOrProvider - ) as GnosisSafeProxyFactory; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/IProxyCreationCallback__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/IProxyCreationCallback__factory.ts deleted file mode 100644 index 1dae6f50dd..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/IProxyCreationCallback__factory.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IProxyCreationCallback, - IProxyCreationCallbackInterface, -} from "../../../../../@gnosis.pm/safe-contracts/contracts/proxies/IProxyCreationCallback"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract GnosisSafeProxy", - name: "proxy", - type: "address", - }, - { - internalType: "address", - name: "_singleton", - type: "address", - }, - { - internalType: "bytes", - name: "initializer", - type: "bytes", - }, - { - internalType: "uint256", - name: "saltNonce", - type: "uint256", - }, - ], - name: "proxyCreated", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class IProxyCreationCallback__factory { - static readonly abi = _abi; - static createInterface(): IProxyCreationCallbackInterface { - return new utils.Interface(_abi) as IProxyCreationCallbackInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IProxyCreationCallback { - return new Contract( - address, - _abi, - signerOrProvider - ) as IProxyCreationCallback; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/index.ts deleted file mode 100644 index 21a3c2ac4a..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/contracts/proxies/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as gnosisSafeProxySol from "./GnosisSafeProxy.sol"; -export { GnosisSafeProxyFactory__factory } from "./GnosisSafeProxyFactory__factory"; -export { IProxyCreationCallback__factory } from "./IProxyCreationCallback__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/index.ts deleted file mode 100644 index 6397da096a..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/safe-contracts/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as contracts from "./contracts"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/core/Module__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/core/Module__factory.ts deleted file mode 100644 index f18506c189..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/core/Module__factory.ts +++ /dev/null @@ -1,230 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - Module, - ModuleInterface, -} from "../../../../../@gnosis.pm/zodiac/contracts/core/Module"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousAvatar", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newAvatar", - type: "address", - }, - ], - name: "AvatarSet", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "guard", - type: "address", - }, - ], - name: "ChangedGuard", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousTarget", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newTarget", - type: "address", - }, - ], - name: "TargetSet", - type: "event", - }, - { - inputs: [], - name: "avatar", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getGuard", - outputs: [ - { - internalType: "address", - name: "_guard", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "guard", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_avatar", - type: "address", - }, - ], - name: "setAvatar", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_guard", - type: "address", - }, - ], - name: "setGuard", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_target", - type: "address", - }, - ], - name: "setTarget", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "initializeParams", - type: "bytes", - }, - ], - name: "setUp", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "target", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class Module__factory { - static readonly abi = _abi; - static createInterface(): ModuleInterface { - return new utils.Interface(_abi) as ModuleInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): Module { - return new Contract(address, _abi, signerOrProvider) as Module; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/core/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/core/index.ts deleted file mode 100644 index 0302395349..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/core/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { Module__factory } from "./Module__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/factory/FactoryFriendly__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/factory/FactoryFriendly__factory.ts deleted file mode 100644 index 4af0cd8cd9..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/factory/FactoryFriendly__factory.ts +++ /dev/null @@ -1,91 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - FactoryFriendly, - FactoryFriendlyInterface, -} from "../../../../../@gnosis.pm/zodiac/contracts/factory/FactoryFriendly"; - -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: "bytes", - name: "initializeParams", - type: "bytes", - }, - ], - name: "setUp", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class FactoryFriendly__factory { - static readonly abi = _abi; - static createInterface(): FactoryFriendlyInterface { - return new utils.Interface(_abi) as FactoryFriendlyInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): FactoryFriendly { - return new Contract(address, _abi, signerOrProvider) as FactoryFriendly; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/factory/ModuleProxyFactory__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/factory/ModuleProxyFactory__factory.ts deleted file mode 100644 index 88a56f04fe..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/factory/ModuleProxyFactory__factory.ts +++ /dev/null @@ -1,111 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - ModuleProxyFactory, - ModuleProxyFactoryInterface, -} from "../../../../../@gnosis.pm/zodiac/contracts/factory/ModuleProxyFactory"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "proxy", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "masterCopy", - type: "address", - }, - ], - name: "ModuleProxyCreation", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "masterCopy", - type: "address", - }, - { - internalType: "bytes", - name: "initializer", - type: "bytes", - }, - { - internalType: "uint256", - name: "saltNonce", - type: "uint256", - }, - ], - name: "deployModule", - outputs: [ - { - internalType: "address", - name: "proxy", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b5061096d806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f1ab873c14610030575b600080fd5b61004a6004803603810190610045919061035e565b610060565b6040516100579190610575565b60405180910390f35b600061009b84848051906020012084604051602001610080929190610501565b604051602081830303815290604052805190602001206101ac565b905060008173ffffffffffffffffffffffffffffffffffffffff16846040516100c4919061052d565b6000604051808303816000865af19150503d8060008114610101576040519150601f19603f3d011682016040523d82523d6000602084013e610106565b606091505b505090508061014a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610141906105b0565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f2150ada912bf189ed721c44211199e270903fc88008c2a1e1e889ef30fe67c5f60405160405180910390a3509392505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021490610590565b60405180910390fd5b6000836040516020016102309190610544565b6040516020818303038152906040529050828151602083016000f59150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156102bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102b4906105d0565b60405180910390fd5b5092915050565b60006102d76102d284610615565b6105f0565b9050828152602081018484840111156102f3576102f261079d565b5b6102fe8482856106be565b509392505050565b60008135905061031581610909565b92915050565b600082601f8301126103305761032f610798565b5b81356103408482602086016102c4565b91505092915050565b60008135905061035881610920565b92915050565b600080600060608486031215610377576103766107a7565b5b600061038586828701610306565b935050602084013567ffffffffffffffff8111156103a6576103a56107a2565b5b6103b28682870161031b565b92505060406103c386828701610349565b9150509250925092565b6103d681610678565b82525050565b6103ed6103e882610678565b610731565b82525050565b6104046103ff8261068a565b610743565b82525050565b600061041582610646565b61041f8185610651565b935061042f8185602086016106cd565b80840191505092915050565b600061044860248361065c565b9150610453826107ca565b604082019050919050565b600061046b600f8361066d565b915061047682610819565b600f82019050919050565b600061048e60238361065c565b915061049982610842565b604082019050919050565b60006104b160228361065c565b91506104bc82610891565b604082019050919050565b60006104d460138361066d565b91506104df826108e0565b601382019050919050565b6104fb6104f6826106b4565b61075f565b82525050565b600061050d82856103f3565b60208201915061051d82846104ea565b6020820191508190509392505050565b6000610539828461040a565b915081905092915050565b600061054f826104c7565b915061055b82846103dc565b60148201915061056a8261045e565b915081905092915050565b600060208201905061058a60008301846103cd565b92915050565b600060208201905081810360008301526105a98161043b565b9050919050565b600060208201905081810360008301526105c981610481565b9050919050565b600060208201905081810360008301526105e9816104a4565b9050919050565b60006105fa61060b565b90506106068282610700565b919050565b6000604051905090565b600067ffffffffffffffff8211156106305761062f610769565b5b610639826107ac565b9050602081019050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061068382610694565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156106eb5780820151818401526020810190506106d0565b838111156106fa576000848401525b50505050565b610709826107ac565b810181811067ffffffffffffffff8211171561072857610727610769565b5b80604052505050565b600061073c8261074d565b9050919050565b6000819050919050565b6000610758826107bd565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f63726561746550726f78793a20616464726573732063616e206e6f742062652060008201527f7a65726f00000000000000000000000000000000000000000000000000000000602082015250565b7f5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000600082015250565b7f6465706c6f794d6f64756c653a20696e697469616c697a6174696f6e2066616960008201527f6c65640000000000000000000000000000000000000000000000000000000000602082015250565b7f63726561746550726f78793a206164647265737320616c72656164792074616b60008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f602d8060093d393df3363d3d373d3d3d363d7300000000000000000000000000600082015250565b61091281610678565b811461091d57600080fd5b50565b610929816106b4565b811461093457600080fd5b5056fea26469706673582212201989268a475e3b4ae1d323f393ba1263660b49e063da86cae9f5b8fe366fd8da64736f6c63430008060033"; - -type ModuleProxyFactoryConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ModuleProxyFactoryConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class ModuleProxyFactory__factory extends ContractFactory { - constructor(...args: ModuleProxyFactoryConstructorParams) { - 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): ModuleProxyFactory { - return super.attach(address) as ModuleProxyFactory; - } - override connect(signer: Signer): ModuleProxyFactory__factory { - return super.connect(signer) as ModuleProxyFactory__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ModuleProxyFactoryInterface { - return new utils.Interface(_abi) as ModuleProxyFactoryInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ModuleProxyFactory { - return new Contract(address, _abi, signerOrProvider) as ModuleProxyFactory; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/factory/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/factory/index.ts deleted file mode 100644 index 0ebe5f4ca4..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/factory/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { FactoryFriendly__factory } from "./FactoryFriendly__factory"; -export { ModuleProxyFactory__factory } from "./ModuleProxyFactory__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/guard/BaseGuard__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/guard/BaseGuard__factory.ts deleted file mode 100644 index 79295a46d8..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/guard/BaseGuard__factory.ts +++ /dev/null @@ -1,126 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - BaseGuard, - BaseGuardInterface, -} from "../../../../../@gnosis.pm/zodiac/contracts/guard/BaseGuard"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "txHash", - type: "bytes32", - }, - { - internalType: "bool", - name: "success", - type: "bool", - }, - ], - name: "checkAfterExecution", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - { - internalType: "uint256", - name: "safeTxGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "baseGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "gasPrice", - type: "uint256", - }, - { - internalType: "address", - name: "gasToken", - type: "address", - }, - { - internalType: "address payable", - name: "refundReceiver", - type: "address", - }, - { - internalType: "bytes", - name: "signatures", - type: "bytes", - }, - { - internalType: "address", - name: "msgSender", - type: "address", - }, - ], - name: "checkTransaction", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "pure", - type: "function", - }, -]; - -export class BaseGuard__factory { - static readonly abi = _abi; - static createInterface(): BaseGuardInterface { - return new utils.Interface(_abi) as BaseGuardInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): BaseGuard { - return new Contract(address, _abi, signerOrProvider) as BaseGuard; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/guard/Guardable__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/guard/Guardable__factory.ts deleted file mode 100644 index 3628c7ecf5..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/guard/Guardable__factory.ts +++ /dev/null @@ -1,167 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* 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 { - Guardable, - GuardableInterface, -} from "../../../../../@gnosis.pm/zodiac/contracts/guard/Guardable"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "guard", - type: "address", - }, - ], - name: "ChangedGuard", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - inputs: [], - name: "getGuard", - outputs: [ - { - internalType: "address", - name: "_guard", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "guard", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_guard", - type: "address", - }, - ], - name: "setGuard", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -const _bytecode = - "0x608060405234801561001057600080fd5b50610927806100206000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063715018a6146100675780637ceab3b1146100715780638da5cb5b1461008f578063c9106389146100ad578063e19a9dd9146100cb578063f2fde38b146100e7575b600080fd5b61006f610103565b005b61007961018b565b604051610086919061070c565b60405180910390f35b6100976101b1565b6040516100a4919061070c565b60405180910390f35b6100b56101db565b6040516100c2919061070c565b60405180910390f35b6100e560048036038101906100e0919061062b565b610205565b005b61010160048036038101906100fc919061062b565b61043b565b005b61010b610533565b73ffffffffffffffffffffffffffffffffffffffff166101296101b1565b73ffffffffffffffffffffffffffffffffffffffff161461017f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017690610762565b60405180910390fd5b610189600061053b565b565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61020d610533565b73ffffffffffffffffffffffffffffffffffffffff1661022b6101b1565b73ffffffffffffffffffffffffffffffffffffffff1614610281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027890610762565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461039e578073ffffffffffffffffffffffffffffffffffffffff166301ffc9a77fe6d7a83a000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040161030e9190610727565b60206040518083038186803b15801561032657600080fd5b505afa15801561033a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035e9190610658565b61039d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039490610782565b60405180910390fd5b5b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f1151116914515bc0891ff9047a6cb32cf902546f83066499bcf8ba33d2353fa2606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051610430919061070c565b60405180910390a150565b610443610533565b73ffffffffffffffffffffffffffffffffffffffff166104616101b1565b73ffffffffffffffffffffffffffffffffffffffff16146104b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ae90610762565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051e90610742565b60405180910390fd5b6105308161053b565b50565b600033905090565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050610610816108c3565b92915050565b600081519050610625816108da565b92915050565b6000602082840312156106415761064061081d565b5b600061064f84828501610601565b91505092915050565b60006020828403121561066e5761066d61081d565b5b600061067c84828501610616565b91505092915050565b61068e816107b3565b82525050565b61069d816107d1565b82525050565b60006106b06026836107a2565b91506106bb82610822565b604082019050919050565b60006106d36020836107a2565b91506106de82610871565b602082019050919050565b60006106f66020836107a2565b91506107018261089a565b602082019050919050565b60006020820190506107216000830184610685565b92915050565b600060208201905061073c6000830184610694565b92915050565b6000602082019050818103600083015261075b816106a3565b9050919050565b6000602082019050818103600083015261077b816106c6565b9050919050565b6000602082019050818103600083015261079b816106e9565b9050919050565b600082825260208201905092915050565b60006107be826107fd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f477561726420646f6573206e6f7420696d706c656d656e742049455243313635600082015250565b6108cc816107b3565b81146108d757600080fd5b50565b6108e3816107c5565b81146108ee57600080fd5b5056fea26469706673582212205fee5048ca84de2a390ba6fb7bb96536525c48ba8d6264f81a13feedc2674bff64736f6c63430008060033"; - -type GuardableConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GuardableConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class Guardable__factory extends ContractFactory { - constructor(...args: GuardableConstructorParams) { - 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): Guardable { - return super.attach(address) as Guardable; - } - override connect(signer: Signer): Guardable__factory { - return super.connect(signer) as Guardable__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GuardableInterface { - return new utils.Interface(_abi) as GuardableInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): Guardable { - return new Contract(address, _abi, signerOrProvider) as Guardable; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/guard/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/guard/index.ts deleted file mode 100644 index e34adf8a98..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/guard/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { BaseGuard__factory } from "./BaseGuard__factory"; -export { Guardable__factory } from "./Guardable__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/index.ts deleted file mode 100644 index aacf235b21..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as core from "./core"; -export * as factory from "./factory"; -export * as guard from "./guard"; -export * as interfaces from "./interfaces"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/interfaces/IAvatar__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/interfaces/IAvatar__factory.ts deleted file mode 100644 index cc69097d06..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/interfaces/IAvatar__factory.ts +++ /dev/null @@ -1,178 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IAvatar, - IAvatarInterface, -} from "../../../../../@gnosis.pm/zodiac/contracts/interfaces/IAvatar"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "prevModule", - type: "address", - }, - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "disableModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "enableModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "execTransactionFromModule", - outputs: [ - { - internalType: "bool", - name: "success", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - ], - name: "execTransactionFromModuleReturnData", - outputs: [ - { - internalType: "bool", - name: "success", - type: "bool", - }, - { - internalType: "bytes", - name: "returnData", - type: "bytes", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "start", - type: "address", - }, - { - internalType: "uint256", - name: "pageSize", - type: "uint256", - }, - ], - name: "getModulesPaginated", - outputs: [ - { - internalType: "address[]", - name: "array", - type: "address[]", - }, - { - internalType: "address", - name: "next", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "module", - type: "address", - }, - ], - name: "isModuleEnabled", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class IAvatar__factory { - static readonly abi = _abi; - static createInterface(): IAvatarInterface { - return new utils.Interface(_abi) as IAvatarInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IAvatar { - return new Contract(address, _abi, signerOrProvider) as IAvatar; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/interfaces/IGuard__factory.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/interfaces/IGuard__factory.ts deleted file mode 100644 index f66f0a410c..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/interfaces/IGuard__factory.ts +++ /dev/null @@ -1,104 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IGuard, - IGuardInterface, -} from "../../../../../@gnosis.pm/zodiac/contracts/interfaces/IGuard"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "txHash", - type: "bytes32", - }, - { - internalType: "bool", - name: "success", - type: "bool", - }, - ], - name: "checkAfterExecution", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "enum Enum.Operation", - name: "operation", - type: "uint8", - }, - { - internalType: "uint256", - name: "safeTxGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "baseGas", - type: "uint256", - }, - { - internalType: "uint256", - name: "gasPrice", - type: "uint256", - }, - { - internalType: "address", - name: "gasToken", - type: "address", - }, - { - internalType: "address payable", - name: "refundReceiver", - type: "address", - }, - { - internalType: "bytes", - name: "signatures", - type: "bytes", - }, - { - internalType: "address", - name: "msgSender", - type: "address", - }, - ], - name: "checkTransaction", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class IGuard__factory { - static readonly abi = _abi; - static createInterface(): IGuardInterface { - return new utils.Interface(_abi) as IGuardInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IGuard { - return new Contract(address, _abi, signerOrProvider) as IGuard; - } -} diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/interfaces/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/interfaces/index.ts deleted file mode 100644 index 23c5c0042a..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/contracts/interfaces/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IAvatar__factory } from "./IAvatar__factory"; -export { IGuard__factory } from "./IGuard__factory"; diff --git a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/index.ts b/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/index.ts deleted file mode 100644 index 6397da096a..0000000000 --- a/src/assets/typechain-types/usul/factories/@gnosis.pm/zodiac/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as contracts from "./contracts"; diff --git a/src/assets/typechain-types/usul/factories/index.ts b/src/assets/typechain-types/usul/factories/index.ts deleted file mode 100644 index 5e162a079d..0000000000 --- a/src/assets/typechain-types/usul/factories/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as gnosisPm from "./@gnosis.pm"; diff --git a/src/assets/typechain-types/usul/hardhat.d.ts b/src/assets/typechain-types/usul/hardhat.d.ts deleted file mode 100644 index 4e96f74360..0000000000 --- a/src/assets/typechain-types/usul/hardhat.d.ts +++ /dev/null @@ -1,501 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { ethers } from "ethers"; -import { - FactoryOptions, - HardhatEthersHelpers as HardhatEthersHelpersBase, -} from "@nomiclabs/hardhat-ethers/types"; - -import * as Contracts from "."; - -declare module "hardhat/types/runtime" { - interface HardhatEthersHelpers extends HardhatEthersHelpersBase { - getContractFactory( - name: "FallbackManager", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Guard", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "GuardManager", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ModuleManager", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "OwnerManager", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "EtherPaymentFallback", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "StorageAccessible", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "GnosisSafe", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "GnosisSafeL2", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC165", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ISignatureValidator", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "MultiSend", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "GnosisSafeProxy", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IProxy", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "GnosisSafeProxyFactory", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IProxyCreationCallback", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Module", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "FactoryFriendly", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ModuleProxyFactory", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "BaseGuard", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Guardable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IAvatar", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IGuard", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "OwnableUpgradeable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ERC20", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ERC20Permit", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC20Permit", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ERC20Votes", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC20Metadata", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC20", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC721", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC165", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "BaseStrategy", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "FactoryFriendly", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "BaseMember", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "BaseQuorumFixed", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "BaseQuorumPercent", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "BaseTokenVoting", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IProposal", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IStrategy", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "CompToken", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "GovernanceToken", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "MockContract", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "MockInterface", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TestStrategy", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Usul", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "MemberLinearVoting", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "MemberNFTSingleVoting", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "NFTLinearVoting", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "OZLinearVoting", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "OZSingleVoting", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "SimpleMemberVoting", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - - getContractAt( - name: "FallbackManager", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Guard", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "GuardManager", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ModuleManager", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "OwnerManager", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "EtherPaymentFallback", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "StorageAccessible", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "GnosisSafe", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "GnosisSafeL2", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC165", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ISignatureValidator", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "MultiSend", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "GnosisSafeProxy", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IProxy", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "GnosisSafeProxyFactory", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IProxyCreationCallback", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Module", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "FactoryFriendly", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ModuleProxyFactory", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "BaseGuard", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Guardable", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IAvatar", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IGuard", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "OwnableUpgradeable", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ERC20", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ERC20Permit", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC20Permit", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ERC20Votes", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC20Metadata", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC20", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC721", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC165", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "BaseStrategy", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "FactoryFriendly", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "BaseMember", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "BaseQuorumFixed", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "BaseQuorumPercent", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "BaseTokenVoting", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IProposal", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IStrategy", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "CompToken", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "GovernanceToken", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "MockContract", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "MockInterface", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TestStrategy", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Usul", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "MemberLinearVoting", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "MemberNFTSingleVoting", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "NFTLinearVoting", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "OZLinearVoting", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "OZSingleVoting", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "SimpleMemberVoting", - address: string, - signer?: ethers.Signer - ): Promise; - - // default types - getContractFactory( - name: string, - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - abi: any[], - bytecode: ethers.utils.BytesLike, - signer?: ethers.Signer - ): Promise; - getContractAt( - nameOrAbi: string | any[], - address: string, - signer?: ethers.Signer - ): Promise; - } -} diff --git a/src/assets/typechain-types/usul/index.ts b/src/assets/typechain-types/usul/index.ts deleted file mode 100644 index a4c88c9167..0000000000 --- a/src/assets/typechain-types/usul/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { MultiSend } from "./@gnosis.pm/safe-contracts/contracts/libraries/MultiSend"; -export { MultiSend__factory } from "./factories/@gnosis.pm/safe-contracts/contracts/libraries/MultiSend__factory"; diff --git a/src/helpers/crypto.ts b/src/helpers/crypto.ts index 33c0c03913..b2ebf80333 100644 --- a/src/helpers/crypto.ts +++ b/src/helpers/crypto.ts @@ -237,6 +237,6 @@ const encodeMetaTransaction = (tx: MetaTransaction): string => { return encoded.slice(2); }; -export const encodeMultiSend = (txs: MetaTransaction[]): string => { - return '0x' + txs.map(tx => encodeMetaTransaction(tx)).join(''); +export const encodeMultiSend = (txs: MetaTransaction[]): Hex => { + return `0x${txs.map(tx => encodeMetaTransaction(tx)).join('')}`; }; diff --git a/src/hooks/DAO/proposal/useSubmitProposal.ts b/src/hooks/DAO/proposal/useSubmitProposal.ts index 217fcfe891..58f8fc7789 100644 --- a/src/hooks/DAO/proposal/useSubmitProposal.ts +++ b/src/hooks/DAO/proposal/useSubmitProposal.ts @@ -2,8 +2,16 @@ import { Azorius } from '@fractal-framework/fractal-contracts'; import axios from 'axios'; import { useCallback, useMemo, useState } from 'react'; import { toast } from 'react-toastify'; -import { isAddress, getAddress, encodeAbiParameters, parseAbiParameters, isHex } from 'viem'; +import { + isAddress, + getAddress, + encodeAbiParameters, + parseAbiParameters, + isHex, + encodeFunctionData, +} from 'viem'; import { useWalletClient } from 'wagmi'; +import MultiSendCallOnlyAbi from '../../../assets/abi/MultiSendCallOnly'; import { ADDRESS_MULTISIG_METADATA, SENTINEL_ADDRESS } from '../../../constants/common'; import { buildSafeAPIPost, encodeMultiSend } from '../../../helpers'; import { logError } from '../../../helpers/errorLogging'; @@ -14,7 +22,6 @@ import { useEthersSigner } from '../../../providers/Ethers/hooks/useEthersSigner import { useNetworkConfig } from '../../../providers/NetworkConfig/NetworkConfigProvider'; import { MetaTransaction, ProposalExecuteData, CreateProposalMetadata } from '../../../types'; import { buildSafeApiUrl, getAzoriusModuleFromModules } from '../../../utils'; -import useSafeContracts from '../../safe/useSafeContracts'; import useSignerOrProvider from '../../utils/useSignerOrProvider'; import { useFractalModules } from '../loaders/useFractalModules'; import { useDAOProposals } from '../loaders/useProposals'; @@ -58,7 +65,6 @@ export default function useSubmitProposal() { guardContracts: { freezeVotingContractAddress }, governanceContracts: { ozLinearVotingContractAddress, erc721LinearVotingContractAddress }, } = useFractal(); - const baseContracts = useSafeContracts(); const safeAPI = useSafeAPI(); const globalAzoriusContract = useMemo(() => { @@ -75,7 +81,12 @@ export default function useSubmitProposal() { const lookupModules = useFractalModules(); const signerOrProvider = useSignerOrProvider(); - const { chain, safeBaseURL, addressPrefix } = useNetworkConfig(); + const { + chain, + safeBaseURL, + addressPrefix, + contracts: { multisend: multiSendCallOnly }, + } = useNetworkConfig(); const ipfsClient = useIPFSClient(); const submitMultisigProposal = useCallback( @@ -88,10 +99,9 @@ export default function useSubmitProposal() { successCallback, safeAddress, }: ISubmitProposal) => { - if (!proposalData || !baseContracts || !walletClient) { + if (!proposalData || !walletClient) { return; } - const { multiSendContract } = baseContracts; const toastId = toast(pendingToastMessage, { autoClose: false, @@ -124,14 +134,15 @@ export default function useSubmitProposal() { proposalData.calldatas.push(encodeAbiParameters(parseAbiParameters(['string']), [Hash])); } - let to, value, data, operation: 0 | 1; + let to = proposalData.targets[0]; + let value = proposalData.values[0]; + let data = proposalData.calldatas[0]; + let operation: 0 | 1 = 0; + if (proposalData.targets.length > 1) { - if (!multiSendContract) { - toast.dismiss(toastId); - return; - } // Need to wrap it in Multisend function call - to = getAddress(multiSendContract.asProvider.address); + to = multiSendCallOnly; + value = 0n; const tempData = proposalData.targets.map((target, index) => { return { @@ -142,21 +153,17 @@ export default function useSubmitProposal() { } as MetaTransaction; }); - data = multiSendContract.asProvider.interface.encodeFunctionData('multiSend', [ - encodeMultiSend(tempData), - ]); + data = encodeFunctionData({ + abi: MultiSendCallOnlyAbi, + functionName: 'multiSend', + args: [encodeMultiSend(tempData)], + }); if (!isHex(data)) { throw new Error('Error encoding proposal data'); } operation = 1; - } else { - // Single transaction to post - to = proposalData.targets[0]; - value = BigInt(proposalData.values[0]); - data = proposalData.calldatas[0]; - operation = 0; } await axios.post( @@ -186,10 +193,10 @@ export default function useSubmitProposal() { }, [ addressPrefix, - baseContracts, chain.id, ipfsClient, loadDAOProposals, + multiSendCallOnly, safeBaseURL, signerOrProvider, walletClient, diff --git a/src/hooks/DAO/useBuildDAOTx.ts b/src/hooks/DAO/useBuildDAOTx.ts index 4adee1de2e..4806daa218 100644 --- a/src/hooks/DAO/useBuildDAOTx.ts +++ b/src/hooks/DAO/useBuildDAOTx.ts @@ -28,6 +28,7 @@ const useBuildDAOTx = () => { safeFactory, safe: safeSingleton, zodiacModuleProxyFactory, + multisend: multiSendCallOnly, }, } = useNetworkConfig(); @@ -51,7 +52,6 @@ const useBuildDAOTx = () => { return; } const { - multiSendContract, linearVotingMasterCopyContract, linearVotingERC721MasterCopyContract, fractalAzoriusMasterCopyContract, @@ -95,7 +95,6 @@ const useBuildDAOTx = () => { const buildrerBaseContracts: BaseContracts = { fractalModuleMasterCopyContract: fractalModuleMasterCopyContract.asSigner, multisigFreezeGuardMasterCopyContract: multisigFreezeGuardMasterCopyContract.asSigner, - multiSendContract: multiSendContract.asSigner, freezeERC20VotingMasterCopyContract: freezeERC20VotingMasterCopyContract.asSigner, freezeERC721VotingMasterCopyContract: freezeERC721VotingMasterCopyContract.asSigner, freezeMultisigVotingMasterCopyContract: freezeMultisigVotingMasterCopyContract.asSigner, @@ -115,6 +114,7 @@ const useBuildDAOTx = () => { safeFactory, safeSingleton, zodiacModuleProxyFactory, + multiSendCallOnly, parentAddress, parentTokenAddress, ); @@ -169,6 +169,7 @@ const useBuildDAOTx = () => { safeFactory, safeSingleton, zodiacModuleProxyFactory, + multiSendCallOnly, ], ); diff --git a/src/hooks/DAO/useCreateSubDAOProposal.ts b/src/hooks/DAO/useCreateSubDAOProposal.ts index 0d4ead1556..0aba9687d7 100644 --- a/src/hooks/DAO/useCreateSubDAOProposal.ts +++ b/src/hooks/DAO/useCreateSubDAOProposal.ts @@ -2,6 +2,7 @@ import { useCallback } from 'react'; import { useTranslation } from 'react-i18next'; import { isHex, getAddress, encodeFunctionData } from 'viem'; import FractalRegistryAbi from '../../assets/abi/FractalRegistry'; +import MultiSendCallOnlyAbi from '../../assets/abi/MultiSendCallOnly'; import { useFractal } from '../../providers/App/AppProvider'; import { useNetworkConfig } from '../../providers/NetworkConfig/NetworkConfigProvider'; import { SafeMultisigDAO, AzoriusGovernance, AzoriusERC20DAO, AzoriusERC721DAO } from '../../types'; @@ -11,7 +12,6 @@ import useSubmitProposal from './proposal/useSubmitProposal'; import useBuildDAOTx from './useBuildDAOTx'; export const useCreateSubDAOProposal = () => { - const { baseContracts } = useFractal(); const { t } = useTranslation(['daoCreate', 'proposal', 'proposalMetadata']); const { submitProposal, pendingCreateTx } = useSubmitProposal(); @@ -22,7 +22,7 @@ export const useCreateSubDAOProposal = () => { governance, } = useFractal(); const { - contracts: { fractalRegistry }, + contracts: { fractalRegistry, multisend: multiSendCallOnly }, } = useNetworkConfig(); const azoriusGovernance = governance as AzoriusGovernance; const proposeDao = useCallback( @@ -32,10 +32,9 @@ export const useCreateSubDAOProposal = () => { successCallback: (addressPrefix: string, daoAddress: string) => void, ) => { const propose = async () => { - if (!baseContracts || !daoAddress) { + if (!daoAddress) { return; } - const { multiSendContract } = baseContracts; const builtSafeTx = await build(daoData, daoAddress, azoriusGovernance.votesToken?.address); if (!builtSafeTx) { @@ -44,10 +43,15 @@ export const useCreateSubDAOProposal = () => { const { safeTx, predictedSafeAddress } = builtSafeTx; - const encodedMultisend = multiSendContract.asProvider.interface.encodeFunctionData( - 'multiSend', - [safeTx], - ); + if (!isHex(safeTx)) { + throw new Error('Built safeTx is not a hex string'); + } + + const encodedMultisend = encodeFunctionData({ + abi: MultiSendCallOnlyAbi, + functionName: 'multiSend', + args: [safeTx], + }); if (!isHex(encodedMultisend)) { throw new Error('encodedMultisend data is not hex??'); @@ -60,7 +64,7 @@ export const useCreateSubDAOProposal = () => { }); const proposalData: ProposalExecuteData = { - targets: [getAddress(multiSendContract.asProvider.address), fractalRegistry], + targets: [multiSendCallOnly, fractalRegistry], values: [0n, 0n], calldatas: [encodedMultisend, encodedDeclareSubDAO], metaData: { @@ -82,10 +86,10 @@ export const useCreateSubDAOProposal = () => { }, [ azoriusGovernance.votesToken?.address, - baseContracts, build, daoAddress, fractalRegistry, + multiSendCallOnly, submitProposal, t, ], diff --git a/src/hooks/DAO/useDeployAzorius.ts b/src/hooks/DAO/useDeployAzorius.ts index adca323709..836fe5b999 100644 --- a/src/hooks/DAO/useDeployAzorius.ts +++ b/src/hooks/DAO/useDeployAzorius.ts @@ -1,9 +1,10 @@ import { useCallback } from 'react'; import { useTranslation } from 'react-i18next'; import { useNavigate } from 'react-router-dom'; -import { encodeFunctionData, getAddress, isHex } from 'viem'; +import { encodeFunctionData, isHex } from 'viem'; import { usePublicClient } from 'wagmi'; import GnosisSafeL2Abi from '../../assets/abi/GnosisSafeL2'; +import MultiSendCallOnlyAbi from '../../assets/abi/MultiSendCallOnly'; import { DAO_ROUTES } from '../../constants/routes'; import { TxBuilderFactory } from '../../models/TxBuilderFactory'; import { useFractal } from '../../providers/App/AppProvider'; @@ -32,6 +33,7 @@ const useDeployAzorius = () => { safeFactory, safe: safeSingleton, zodiacModuleProxyFactory, + multisend: multiSendCallOnly, }, addressPrefix, } = useNetworkConfig(); @@ -55,7 +57,6 @@ const useDeployAzorius = () => { return; } const { - multiSendContract, linearVotingMasterCopyContract, linearVotingERC721MasterCopyContract, fractalAzoriusMasterCopyContract, @@ -80,7 +81,6 @@ const useDeployAzorius = () => { const builderBaseContracts: BaseContracts = { fractalModuleMasterCopyContract: fractalModuleMasterCopyContract.asProvider, multisigFreezeGuardMasterCopyContract: multisigFreezeGuardMasterCopyContract.asProvider, - multiSendContract: multiSendContract.asProvider, freezeERC20VotingMasterCopyContract: freezeERC20VotingMasterCopyContract.asProvider, freezeERC721VotingMasterCopyContract: freezeERC721VotingMasterCopyContract.asProvider, freezeMultisigVotingMasterCopyContract: freezeMultisigVotingMasterCopyContract.asProvider, @@ -100,6 +100,7 @@ const useDeployAzorius = () => { safeFactory, safeSingleton, zodiacModuleProxyFactory, + multiSendCallOnly, undefined, undefined, ); @@ -111,21 +112,24 @@ const useDeployAzorius = () => { owners: safe.owners, }); + if (!isHex(safeTx)) { + throw new Error('Encoded safeTx is not a hex string'); + } + const encodedAddOwnerWithThreshold = encodeFunctionData({ abi: GnosisSafeL2Abi, functionName: 'addOwnerWithThreshold', - args: [getAddress(multiSendContract.asProvider.address), 1n], + args: [multiSendCallOnly, 1n], + }); + + const encodedMultisend = encodeFunctionData({ + abi: MultiSendCallOnlyAbi, + functionName: 'multiSend', + args: [safeTx], }); - const encodedMultisend = multiSendContract.asProvider.interface.encodeFunctionData( - 'multiSend', - [safeTx], - ); - if (!isHex(encodedMultisend)) { - return; - } const proposalData: ProposalExecuteData = { - targets: [daoAddress, getAddress(multiSendContract.asProvider.address)], + targets: [daoAddress, multiSendCallOnly], values: [0n, 0n], calldatas: [encodedAddOwnerWithThreshold, encodedMultisend], metaData: { @@ -163,6 +167,7 @@ const useDeployAzorius = () => { safeFactory, safeSingleton, zodiacModuleProxyFactory, + multiSendCallOnly, ], ); diff --git a/src/hooks/DAO/useDeployDAO.ts b/src/hooks/DAO/useDeployDAO.ts index be500b601f..70307b7ac4 100644 --- a/src/hooks/DAO/useDeployDAO.ts +++ b/src/hooks/DAO/useDeployDAO.ts @@ -1,20 +1,25 @@ import { useCallback } from 'react'; import { useTranslation } from 'react-i18next'; -import { useFractal } from '../../providers/App/AppProvider'; +import { getContract, isHex } from 'viem'; +import { useWalletClient } from 'wagmi'; +import MultiSendCallOnlyAbi from '../../assets/abi/MultiSendCallOnly'; import { useNetworkConfig } from '../../providers/NetworkConfig/NetworkConfigProvider'; import { SafeMultisigDAO, AzoriusERC20DAO, AzoriusERC721DAO } from '../../types'; import { useTransaction } from '../utils/useTransaction'; import useBuildDAOTx from './useBuildDAOTx'; const useDeployDAO = () => { - const { baseContracts } = useFractal(); - - const [contractCallDeploy, contractCallPending] = useTransaction(); + const [, contractCallPending, contractCallDeployViem] = useTransaction(); const [build] = useBuildDAOTx(); const { t } = useTranslation('transaction'); - const { addressPrefix } = useNetworkConfig(); + const { + addressPrefix, + contracts: { multisend: multiSendCallOnly }, + } = useNetworkConfig(); + + const { data: walletClient } = useWalletClient(); const deployDao = useCallback( ( @@ -22,12 +27,10 @@ const useDeployDAO = () => { successCallback: (addressPrefix: string, daoAddress: string) => void, ) => { const deploy = async () => { - if (!baseContracts) { + if (!walletClient) { return; } - const { multiSendContract } = baseContracts; - const builtSafeTx = await build(daoData); if (!builtSafeTx) { return; @@ -35,8 +38,18 @@ const useDeployDAO = () => { const { predictedSafeAddress, safeTx } = builtSafeTx; - contractCallDeploy({ - contractFn: () => multiSendContract.asSigner.multiSend(safeTx), + if (!isHex(safeTx)) { + throw new Error('built transaction is not a hex string'); + } + + const multiSendCallOnlyContract = getContract({ + abi: MultiSendCallOnlyAbi, + address: multiSendCallOnly, + client: walletClient, + }); + + contractCallDeployViem({ + contractFn: () => multiSendCallOnlyContract.write.multiSend([safeTx]), pendingMessage: t('pendingDeploySafe'), failedMessage: t('failedDeploySafe'), successMessage: t('successDeploySafe'), @@ -46,7 +59,7 @@ const useDeployDAO = () => { deploy(); }, - [build, contractCallDeploy, baseContracts, t, addressPrefix], + [addressPrefix, build, contractCallDeployViem, multiSendCallOnly, t, walletClient], ); return [deployDao, contractCallPending] as const; diff --git a/src/hooks/safe/useSafeContracts.ts b/src/hooks/safe/useSafeContracts.ts index 521a1fd7a9..55d1a669a8 100644 --- a/src/hooks/safe/useSafeContracts.ts +++ b/src/hooks/safe/useSafeContracts.ts @@ -11,7 +11,6 @@ import { ERC721FreezeVoting__factory, } from '@fractal-framework/fractal-contracts'; import { useMemo } from 'react'; -import { MultiSend__factory } from '../../assets/typechain-types/usul'; import { useEthersProvider } from '../../providers/Ethers/hooks/useEthersProvider'; import { useNetworkConfig } from '../../providers/NetworkConfig/NetworkConfigProvider'; import useSignerOrProvider from '../utils/useSignerOrProvider'; @@ -23,7 +22,6 @@ export default function useSafeContracts() { const { contracts: { linearVotingMasterCopy, - multisend, fractalAzoriusMasterCopy, fractalModuleMasterCopy, multisigFreezeGuardMasterCopy, @@ -40,10 +38,6 @@ export default function useSafeContracts() { if (!signerOrProvider || !provider) { return; } - const multiSendContract = { - asSigner: MultiSend__factory.connect(multisend, signerOrProvider), - asProvider: MultiSend__factory.connect(multisend, provider), - }; const fractalAzoriusMasterCopyContract = { asSigner: Azorius__factory.connect(fractalAzoriusMasterCopy, signerOrProvider), @@ -101,7 +95,6 @@ export default function useSafeContracts() { }; return { - multiSendContract, fractalAzoriusMasterCopyContract, linearVotingMasterCopyContract, fractalModuleMasterCopyContract, @@ -116,7 +109,6 @@ export default function useSafeContracts() { }, [ linearVotingMasterCopy, fractalAzoriusMasterCopy, - multisend, fractalModuleMasterCopy, multisigFreezeGuardMasterCopy, azoriusFreezeGuardMasterCopy, diff --git a/src/models/AzoriusTxBuilder.ts b/src/models/AzoriusTxBuilder.ts index d22cbad6a0..975f59f5ac 100644 --- a/src/models/AzoriusTxBuilder.ts +++ b/src/models/AzoriusTxBuilder.ts @@ -60,6 +60,7 @@ export class AzoriusTxBuilder extends BaseTxBuilder { private votesERC20WrapperMasterCopyAddress: string; private votesERC20MasterCopyAddress: string; private moduleProxyFactoryAddress: Address; + private multiSendCallOnlyAddress: Address; private tokenNonce: bigint; private strategyNonce: bigint; @@ -76,6 +77,7 @@ export class AzoriusTxBuilder extends BaseTxBuilder { votesERC20WrapperMasterCopyAddress: string, votesERC20MasterCopyAddress: string, moduleProxyFactoryAddress: Address, + multiSendCallOnlyAddress: Address, parentAddress?: Address, parentTokenAddress?: Address, ) { @@ -99,6 +101,7 @@ export class AzoriusTxBuilder extends BaseTxBuilder { this.votesERC20WrapperMasterCopyAddress = votesERC20WrapperMasterCopyAddress; this.votesERC20MasterCopyAddress = votesERC20MasterCopyAddress; this.moduleProxyFactoryAddress = moduleProxyFactoryAddress; + this.multiSendCallOnlyAddress = multiSendCallOnlyAddress; if (daoData.votingStrategyType === VotingStrategyType.LINEAR_ERC20) { daoData = daoData as AzoriusERC20DAO; @@ -143,7 +146,7 @@ export class AzoriusTxBuilder extends BaseTxBuilder { GnosisSafeL2Abi, this.safeContractAddress, 'removeOwner', - [this.baseContracts.multiSendContract.address, owner, 1], + [this.multiSendCallOnlyAddress, owner, 1], 0, false, ), @@ -191,7 +194,7 @@ export class AzoriusTxBuilder extends BaseTxBuilder { GnosisSafeL2Abi, this.safeContractAddress, 'removeOwner', - [this.azoriusContract!.address, this.baseContracts.multiSendContract.address, 1], + [this.azoriusContract!.address, this.multiSendCallOnlyAddress, 1], 0, false, ); @@ -321,7 +324,7 @@ export class AzoriusTxBuilder extends BaseTxBuilder { public signatures = (): string => { return ( '0x000000000000000000000000' + - this.baseContracts.multiSendContract.address.slice(2) + + this.multiSendCallOnlyAddress.slice(2) + '0000000000000000000000000000000000000000000000000000000000000000' + '01' ); diff --git a/src/models/DaoTxBuilder.ts b/src/models/DaoTxBuilder.ts index 44cacb9dd2..0ad67ae90f 100644 --- a/src/models/DaoTxBuilder.ts +++ b/src/models/DaoTxBuilder.ts @@ -1,8 +1,9 @@ import { ethers } from 'ethers'; -import { Address, PublicClient, getAddress, zeroAddress } from 'viem'; +import { Address, PublicClient, encodeFunctionData, getAddress, zeroAddress } from 'viem'; import FractalRegistryAbi from '../assets/abi/FractalRegistry'; import GnosisSafeL2Abi from '../assets/abi/GnosisSafeL2'; import KeyValuePairsAbi from '../assets/abi/KeyValuePairs'; +import MultiSendCallOnlyAbi from '../assets/abi/MultiSendCallOnly'; import { buildContractCallViem, encodeMultiSend } from '../helpers'; import { BaseContracts, @@ -37,6 +38,7 @@ export class DaoTxBuilder extends BaseTxBuilder { private readonly keyValuePairsAddress: string; private readonly fractalRegistryAddress: string; private readonly moduleProxyFactoryAddress: string; + private readonly multiSendCallOnlyAddress: string; constructor( signerOrProvider: ethers.Signer | any, @@ -51,6 +53,7 @@ export class DaoTxBuilder extends BaseTxBuilder { keyValuePairsAddress: string, fractalRegistryAddress: string, moduleProxyFactoryAddress: string, + multiSendCallOnlyAddress: string, parentAddress?: string, parentTokenAddress?: string, parentStrategyType?: VotingStrategyType, @@ -76,6 +79,7 @@ export class DaoTxBuilder extends BaseTxBuilder { this.keyValuePairsAddress = keyValuePairsAddress; this.fractalRegistryAddress = fractalRegistryAddress; this.moduleProxyFactoryAddress = moduleProxyFactoryAddress; + this.multiSendCallOnlyAddress = multiSendCallOnlyAddress; // Prep fractal module txs for setting up subDAOs this.setFractalModuleTxs(); @@ -262,11 +266,13 @@ export class DaoTxBuilder extends BaseTxBuilder { this.safeContractAddress, 'execTransaction', [ - this.baseContracts.multiSendContract.address, // to + this.multiSendCallOnlyAddress, // to '0', // value - this.baseContracts.multiSendContract.interface.encodeFunctionData('multiSend', [ - safeInternalTx, - ]), // calldata + encodeFunctionData({ + abi: MultiSendCallOnlyAbi, + functionName: 'multiSend', + args: [safeInternalTx], + }), // calldata '1', // operation '0', // tx gas '0', // base gas diff --git a/src/models/MultisigTxBuilder.ts b/src/models/MultisigTxBuilder.ts index 5139cd463d..206f765cb4 100644 --- a/src/models/MultisigTxBuilder.ts +++ b/src/models/MultisigTxBuilder.ts @@ -1,19 +1,19 @@ import { Address } from 'viem'; import GnosisSafeL2Abi from '../assets/abi/GnosisSafeL2'; import { buildContractCallViem } from '../helpers'; -import { BaseContracts, SafeMultisigDAO, SafeTransaction } from '../types'; +import { SafeMultisigDAO, SafeTransaction } from '../types'; export class MultisigTxBuilder { - private baseContracts: BaseContracts; + private multiSendCallOnlyAddress: Address; private readonly daoData: SafeMultisigDAO; private readonly safeContractAddress: Address; constructor( - baseContracts: BaseContracts, + multiSendCallOnlyAddress: Address, daoData: SafeMultisigDAO, safeContractAddress: Address, ) { - this.baseContracts = baseContracts; + this.multiSendCallOnlyAddress = multiSendCallOnlyAddress; this.daoData = daoData; this.safeContractAddress = safeContractAddress; } @@ -21,7 +21,7 @@ export class MultisigTxBuilder { public signatures = (): string => { return ( '0x000000000000000000000000' + - this.baseContracts.multiSendContract.address.slice(2) + + this.multiSendCallOnlyAddress.slice(2) + '0000000000000000000000000000000000000000000000000000000000000000' + '01' ); @@ -34,7 +34,7 @@ export class MultisigTxBuilder { 'removeOwner', [ this.daoData.trustedAddresses[this.daoData.trustedAddresses.length - 1], - this.baseContracts.multiSendContract.address, + this.multiSendCallOnlyAddress, this.daoData.signatureThreshold, ], 0, diff --git a/src/models/TxBuilderFactory.ts b/src/models/TxBuilderFactory.ts index 2878b5afd9..a7445370f8 100644 --- a/src/models/TxBuilderFactory.ts +++ b/src/models/TxBuilderFactory.ts @@ -36,6 +36,7 @@ export class TxBuilderFactory extends BaseTxBuilder { private gnosisSafeProxyFactoryAddress: string; private gnosisSafeSingletonAddress: string; private moduleProxyFactoryAddress: string; + private multiSendCallOnlyAddress: string; constructor( signerOrProvider: ethers.Signer | any, @@ -51,6 +52,7 @@ export class TxBuilderFactory extends BaseTxBuilder { gnosisSafeProxyFactoryAddress: string, gnosisSafeSingletonAddress: string, moduleProxyFactoryAddress: string, + multiSendCallOnlyAddress: string, parentAddress?: string, parentTokenAddress?: string, ) { @@ -73,6 +75,7 @@ export class TxBuilderFactory extends BaseTxBuilder { this.gnosisSafeProxyFactoryAddress = gnosisSafeProxyFactoryAddress; this.gnosisSafeSingletonAddress = gnosisSafeSingletonAddress; this.moduleProxyFactoryAddress = moduleProxyFactoryAddress; + this.multiSendCallOnlyAddress = multiSendCallOnlyAddress; } public setSafeContract(safeAddress: Address) { @@ -91,7 +94,7 @@ export class TxBuilderFactory extends BaseTxBuilder { client: this.publicClient, }); const { predictedSafeAddress, createSafeTx } = await safeData( - this.baseContracts.multiSendContract, + getAddress(this.multiSendCallOnlyAddress), safeProxyFactoryContract, safeSingletonContract, this.daoData as SafeMultisigDAO, @@ -123,6 +126,7 @@ export class TxBuilderFactory extends BaseTxBuilder { this.keyValuePairsAddress, this.fractalRegistryAddress, this.moduleProxyFactoryAddress, + this.multiSendCallOnlyAddress, this.parentAddress, this.parentTokenAddress, parentStrategyType, @@ -156,7 +160,7 @@ export class TxBuilderFactory extends BaseTxBuilder { public createMultiSigTxBuilder(): MultisigTxBuilder { return new MultisigTxBuilder( - this.baseContracts, + getAddress(this.multiSendCallOnlyAddress), this.daoData as SafeMultisigDAO, getAddress(this.safeContractAddress!), ); @@ -173,6 +177,7 @@ export class TxBuilderFactory extends BaseTxBuilder { this.votesERC20WrapperMasterCopyAddress, this.votesERC20MasterCopyAddress, getAddress(this.moduleProxyFactoryAddress), + getAddress(this.multiSendCallOnlyAddress), this.parentAddress ? getAddress(this.parentAddress) : undefined, this.parentTokenAddress ? getAddress(this.parentTokenAddress) : undefined, ); diff --git a/src/models/helpers/safeData.ts b/src/models/helpers/safeData.ts index ec976ea0bc..c7755bd08d 100644 --- a/src/models/helpers/safeData.ts +++ b/src/models/helpers/safeData.ts @@ -10,15 +10,15 @@ import { hexToBigInt, GetContractReturnType, PublicClient, + Address, } from 'viem'; import GnosisSafeL2Abi from '../../assets/abi/GnosisSafeL2'; import GnosisSafeProxyFactoryAbi from '../../assets/abi/GnosisSafeProxyFactory'; -import { MultiSend } from '../../assets/typechain-types/usul'; import { buildContractCallViem } from '../../helpers/crypto'; import { SafeMultisigDAO } from '../../types'; export const safeData = async ( - multiSendContract: MultiSend, + multiSendCallOnlyAddress: Address, safeFactoryContract: GetContractReturnType, safeSingletonContract: GetContractReturnType, daoData: SafeMultisigDAO, @@ -27,8 +27,8 @@ export const safeData = async ( hasAzorius?: boolean, ) => { const signers = hasAzorius - ? [multiSendContract.address] - : [...daoData.trustedAddresses, multiSendContract.address]; + ? [multiSendCallOnlyAddress] + : [...daoData.trustedAddresses, multiSendCallOnlyAddress]; const createSafeCalldata = encodeFunctionData({ functionName: 'setup', diff --git a/src/types/contract.ts b/src/types/contract.ts index e349da571a..f79e2534e5 100644 --- a/src/types/contract.ts +++ b/src/types/contract.ts @@ -5,7 +5,6 @@ import { ERC20FreezeVoting, ERC721FreezeVoting, } from '@fractal-framework/fractal-contracts'; -import { MultiSend } from '../assets/typechain-types/usul'; export interface ContractEvent { blockTimestamp: number; @@ -19,7 +18,6 @@ export type ContractConnection = { export interface BaseContracts { fractalModuleMasterCopyContract: FractalModule; multisigFreezeGuardMasterCopyContract: MultisigFreezeGuard; - multiSendContract: MultiSend; freezeERC20VotingMasterCopyContract: ERC20FreezeVoting; freezeERC721VotingMasterCopyContract: ERC721FreezeVoting; freezeMultisigVotingMasterCopyContract: MultisigFreezeVoting; diff --git a/src/types/fractal.ts b/src/types/fractal.ts index b951e736f9..b8eeefbbb5 100644 --- a/src/types/fractal.ts +++ b/src/types/fractal.ts @@ -19,7 +19,6 @@ import { } from '@safe-global/safe-service-client'; import { Dispatch } from 'react'; import { Address } from 'viem'; -import { MultiSend } from '../assets/typechain-types/usul'; import { FractalGovernanceActions } from '../providers/App/governance/action'; import { GovernanceContractActions } from '../providers/App/governanceContracts/action'; import { FractalGuardActions } from '../providers/App/guard/action'; @@ -327,7 +326,6 @@ export interface NodeHierarchy { } export interface FractalContracts { - multiSendContract: ContractConnection; fractalAzoriusMasterCopyContract: ContractConnection; linearVotingMasterCopyContract: ContractConnection; linearVotingERC721MasterCopyContract: ContractConnection;