diff --git a/packages/store/.gitignore b/packages/store/.gitignore index dff3cffa0f..9275a56b74 100644 --- a/packages/store/.gitignore +++ b/packages/store/.gitignore @@ -7,6 +7,7 @@ artifacts yarn-error.log API dist +types/ethers-contracts # only check in ABIs abi/**/*.json diff --git a/packages/store/types/ethers-contracts/IStore.sol/IStore.ts b/packages/store/types/ethers-contracts/IStore.sol/IStore.ts deleted file mode 100644 index d6b6b1444e..0000000000 --- a/packages/store/types/ethers-contracts/IStore.sol/IStore.ts +++ /dev/null @@ -1,1013 +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 IStoreInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "emitEphemeralRecord" - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - | "popFromField" - | "pushToField" - | "registerSchema" - | "registerStoreHook" - | "setField" - | "setMetadata" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "emitEphemeralRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "emitEphemeralRecord", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface IStore extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreInterface; - - 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: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/store/types/ethers-contracts/IStore.sol/IStoreData.ts b/packages/store/types/ethers-contracts/IStore.sol/IStoreData.ts deleted file mode 100644 index f1f38c26c0..0000000000 --- a/packages/store/types/ethers-contracts/IStore.sol/IStoreData.ts +++ /dev/null @@ -1,800 +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 IStoreDataInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - | "popFromField" - | "pushToField" - | "setField" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface IStoreData extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreDataInterface; - - 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: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/store/types/ethers-contracts/IStore.sol/IStoreEphemeral.ts b/packages/store/types/ethers-contracts/IStore.sol/IStoreEphemeral.ts deleted file mode 100644 index 22a4f3591a..0000000000 --- a/packages/store/types/ethers-contracts/IStore.sol/IStoreEphemeral.ts +++ /dev/null @@ -1,151 +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 IStoreEphemeralInterface extends utils.Interface { - functions: { - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "emitEphemeralRecord"): FunctionFragment; - - encodeFunctionData( - functionFragment: "emitEphemeralRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "emitEphemeralRecord", - data: BytesLike - ): Result; - - events: { - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; -} - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface IStoreEphemeral extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreEphemeralInterface; - - 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: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - }; - - estimateGas: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/store/types/ethers-contracts/IStore.sol/IStoreHook.ts b/packages/store/types/ethers-contracts/IStore.sol/IStoreHook.ts deleted file mode 100644 index 8971465a2b..0000000000 --- a/packages/store/types/ethers-contracts/IStore.sol/IStoreHook.ts +++ /dev/null @@ -1,273 +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 IStoreHookInterface extends utils.Interface { - functions: { - "onAfterSetField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "onBeforeSetField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "onDeleteRecord(bytes32,bytes32[])": FunctionFragment; - "onSetRecord(bytes32,bytes32[],bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "onAfterSetField" - | "onBeforeSetField" - | "onDeleteRecord" - | "onSetRecord" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "onAfterSetField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onBeforeSetField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onDeleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "onSetRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "onAfterSetField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onBeforeSetField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onDeleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onSetRecord", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IStoreHook extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreHookInterface; - - 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: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/store/types/ethers-contracts/IStore.sol/IStoreRead.ts b/packages/store/types/ethers-contracts/IStore.sol/IStoreRead.ts deleted file mode 100644 index fd5413f179..0000000000 --- a/packages/store/types/ethers-contracts/IStore.sol/IStoreRead.ts +++ /dev/null @@ -1,410 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export interface IStoreReadInterface extends utils.Interface { - functions: { - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - - events: {}; -} - -export interface IStoreRead extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreReadInterface; - - 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: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - }; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - callStatic: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; -} diff --git a/packages/store/types/ethers-contracts/IStore.sol/IStoreRegistration.ts b/packages/store/types/ethers-contracts/IStore.sol/IStoreRegistration.ts deleted file mode 100644 index ef683e5037..0000000000 --- a/packages/store/types/ethers-contracts/IStore.sol/IStoreRegistration.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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export interface IStoreRegistrationInterface extends utils.Interface { - functions: { - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "registerSchema" - | "registerStoreHook" - | "setMetadata" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IStoreRegistration extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreRegistrationInterface; - - 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: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/store/types/ethers-contracts/IStore.sol/IStoreWrite.ts b/packages/store/types/ethers-contracts/IStore.sol/IStoreWrite.ts deleted file mode 100644 index e00f25cb9b..0000000000 --- a/packages/store/types/ethers-contracts/IStore.sol/IStoreWrite.ts +++ /dev/null @@ -1,462 +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 IStoreWriteInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "popFromField" - | "pushToField" - | "setField" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface IStoreWrite extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreWriteInterface; - - 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: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/store/types/ethers-contracts/IStore.sol/index.ts b/packages/store/types/ethers-contracts/IStore.sol/index.ts deleted file mode 100644 index 35cda61787..0000000000 --- a/packages/store/types/ethers-contracts/IStore.sol/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IStore } from "./IStore"; -export type { IStoreData } from "./IStoreData"; -export type { IStoreEphemeral } from "./IStoreEphemeral"; -export type { IStoreHook } from "./IStoreHook"; -export type { IStoreRead } from "./IStoreRead"; -export type { IStoreRegistration } from "./IStoreRegistration"; -export type { IStoreWrite } from "./IStoreWrite"; diff --git a/packages/store/types/ethers-contracts/IStoreErrors.ts b/packages/store/types/ethers-contracts/IStoreErrors.ts deleted file mode 100644 index 40955eb91d..0000000000 --- a/packages/store/types/ethers-contracts/IStoreErrors.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 IStoreErrorsInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface IStoreErrors extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreErrorsInterface; - - 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/packages/store/types/ethers-contracts/Schema.sol/SchemaLib.ts b/packages/store/types/ethers-contracts/Schema.sol/SchemaLib.ts deleted file mode 100644 index 4cab0fc9b5..0000000000 --- a/packages/store/types/ethers-contracts/Schema.sol/SchemaLib.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 SchemaLibInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface SchemaLib extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SchemaLibInterface; - - 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/packages/store/types/ethers-contracts/Schema.sol/index.ts b/packages/store/types/ethers-contracts/Schema.sol/index.ts deleted file mode 100644 index 78403b20a1..0000000000 --- a/packages/store/types/ethers-contracts/Schema.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { SchemaLib } from "./SchemaLib"; diff --git a/packages/store/types/ethers-contracts/Slice.sol/SliceLib.ts b/packages/store/types/ethers-contracts/Slice.sol/SliceLib.ts deleted file mode 100644 index ef462fd3f5..0000000000 --- a/packages/store/types/ethers-contracts/Slice.sol/SliceLib.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 SliceLibInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface SliceLib extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SliceLibInterface; - - 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/packages/store/types/ethers-contracts/Slice.sol/index.ts b/packages/store/types/ethers-contracts/Slice.sol/index.ts deleted file mode 100644 index 0a299b7f88..0000000000 --- a/packages/store/types/ethers-contracts/Slice.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { SliceLib } from "./SliceLib"; diff --git a/packages/store/types/ethers-contracts/StoreCore.ts b/packages/store/types/ethers-contracts/StoreCore.ts deleted file mode 100644 index d3ab94c66a..0000000000 --- a/packages/store/types/ethers-contracts/StoreCore.ts +++ /dev/null @@ -1,157 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, 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 StoreCoreInterface extends utils.Interface { - functions: {}; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - tableId: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - tableId: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - tableId: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface StoreCore extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreCoreInterface; - - 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: { - "StoreDeleteRecord(bytes32,bytes32[])"( - tableId?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(tableId?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - tableId?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - tableId?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - tableId?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - tableId?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: {}; - - populateTransaction: {}; -} diff --git a/packages/store/types/ethers-contracts/StoreMock.ts b/packages/store/types/ethers-contracts/StoreMock.ts deleted file mode 100644 index 53d08ee011..0000000000 --- a/packages/store/types/ethers-contracts/StoreMock.ts +++ /dev/null @@ -1,1013 +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 StoreMockInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "emitEphemeralRecord" - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - | "popFromField" - | "pushToField" - | "registerSchema" - | "registerStoreHook" - | "setField" - | "setMetadata" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "emitEphemeralRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "emitEphemeralRecord", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface StoreMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreMockInterface; - - 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: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/store/types/ethers-contracts/StoreRead.ts b/packages/store/types/ethers-contracts/StoreRead.ts deleted file mode 100644 index 8e2a18be6d..0000000000 --- a/packages/store/types/ethers-contracts/StoreRead.ts +++ /dev/null @@ -1,410 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface StoreReadInterface extends utils.Interface { - functions: { - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - - events: {}; -} - -export interface StoreRead extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreReadInterface; - - 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: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - }; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - callStatic: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; -} diff --git a/packages/store/types/ethers-contracts/StoreReadWithStubs.ts b/packages/store/types/ethers-contracts/StoreReadWithStubs.ts deleted file mode 100644 index cc29b6bd33..0000000000 --- a/packages/store/types/ethers-contracts/StoreReadWithStubs.ts +++ /dev/null @@ -1,1013 +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 StoreReadWithStubsInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "emitEphemeralRecord" - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - | "popFromField" - | "pushToField" - | "registerSchema" - | "registerStoreHook" - | "setField" - | "setMetadata" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "emitEphemeralRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "emitEphemeralRecord", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface StoreReadWithStubs extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreReadWithStubsInterface; - - 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: { - deleteRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - - popFromField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - arg4: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - arg4: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - emitEphemeralRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSchema( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - setRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - arg4: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - arg4: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - arg0: PromiseOrValue, - arg1: PromiseOrValue, - arg2: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - arg0: PromiseOrValue, - arg1: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - arg4: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/store/types/ethers-contracts/StoreSwitch.ts b/packages/store/types/ethers-contracts/StoreSwitch.ts deleted file mode 100644 index dab3ca2b7a..0000000000 --- a/packages/store/types/ethers-contracts/StoreSwitch.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 StoreSwitchInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface StoreSwitch extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreSwitchInterface; - - 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/packages/store/types/ethers-contracts/common.ts b/packages/store/types/ethers-contracts/common.ts deleted file mode 100644 index 4c90b08bb4..0000000000 --- a/packages/store/types/ethers-contracts/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/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts b/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts deleted file mode 100644 index ab807a02c5..0000000000 --- a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts +++ /dev/null @@ -1,464 +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 { - IStoreData, - IStoreDataInterface, -} from "../../IStore.sol/IStoreData"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreData__factory { - static readonly abi = _abi; - static createInterface(): IStoreDataInterface { - return new utils.Interface(_abi) as IStoreDataInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreData { - return new Contract(address, _abi, signerOrProvider) as IStoreData; - } -} diff --git a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreEphemeral__factory.ts b/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreEphemeral__factory.ts deleted file mode 100644 index 4c16fb5ac2..0000000000 --- a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreEphemeral__factory.ts +++ /dev/null @@ -1,74 +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 { - IStoreEphemeral, - IStoreEphemeralInterface, -} from "../../IStore.sol/IStoreEphemeral"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreEphemeral__factory { - static readonly abi = _abi; - static createInterface(): IStoreEphemeralInterface { - return new utils.Interface(_abi) as IStoreEphemeralInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreEphemeral { - return new Contract(address, _abi, signerOrProvider) as IStoreEphemeral; - } -} diff --git a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreHook__factory.ts b/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreHook__factory.ts deleted file mode 100644 index 9fee114b82..0000000000 --- a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreHook__factory.ts +++ /dev/null @@ -1,123 +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 { - IStoreHook, - IStoreHookInterface, -} from "../../IStore.sol/IStoreHook"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "onAfterSetField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "onBeforeSetField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "onDeleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "onSetRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreHook__factory { - static readonly abi = _abi; - static createInterface(): IStoreHookInterface { - return new utils.Interface(_abi) as IStoreHookInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreHook { - return new Contract(address, _abi, signerOrProvider) as IStoreHook; - } -} diff --git a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreRead__factory.ts b/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreRead__factory.ts deleted file mode 100644 index 2127a47719..0000000000 --- a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreRead__factory.ts +++ /dev/null @@ -1,231 +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 { - IStoreRead, - IStoreReadInterface, -} from "../../IStore.sol/IStoreRead"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IStoreRead__factory { - static readonly abi = _abi; - static createInterface(): IStoreReadInterface { - return new utils.Interface(_abi) as IStoreReadInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreRead { - return new Contract(address, _abi, signerOrProvider) as IStoreRead; - } -} diff --git a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreRegistration__factory.ts b/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreRegistration__factory.ts deleted file mode 100644 index 4c7a491b1c..0000000000 --- a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreRegistration__factory.ts +++ /dev/null @@ -1,90 +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 { - IStoreRegistration, - IStoreRegistrationInterface, -} from "../../IStore.sol/IStoreRegistration"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreRegistration__factory { - static readonly abi = _abi; - static createInterface(): IStoreRegistrationInterface { - return new utils.Interface(_abi) as IStoreRegistrationInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreRegistration { - return new Contract(address, _abi, signerOrProvider) as IStoreRegistration; - } -} diff --git a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts b/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts deleted file mode 100644 index 07eed482b4..0000000000 --- a/packages/store/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts +++ /dev/null @@ -1,259 +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 { - IStoreWrite, - IStoreWriteInterface, -} from "../../IStore.sol/IStoreWrite"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreWrite__factory { - static readonly abi = _abi; - static createInterface(): IStoreWriteInterface { - return new utils.Interface(_abi) as IStoreWriteInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreWrite { - return new Contract(address, _abi, signerOrProvider) as IStoreWrite; - } -} diff --git a/packages/store/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts b/packages/store/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts deleted file mode 100644 index 6b0288639b..0000000000 --- a/packages/store/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts +++ /dev/null @@ -1,660 +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 { IStore, IStoreInterface } from "../../IStore.sol/IStore"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_DataIndexOverflow", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotImplemented", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStore__factory { - static readonly abi = _abi; - static createInterface(): IStoreInterface { - return new utils.Interface(_abi) as IStoreInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IStore { - return new Contract(address, _abi, signerOrProvider) as IStore; - } -} diff --git a/packages/store/types/ethers-contracts/factories/IStore.sol/index.ts b/packages/store/types/ethers-contracts/factories/IStore.sol/index.ts deleted file mode 100644 index 9d23327002..0000000000 --- a/packages/store/types/ethers-contracts/factories/IStore.sol/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IStore__factory } from "./IStore__factory"; -export { IStoreData__factory } from "./IStoreData__factory"; -export { IStoreEphemeral__factory } from "./IStoreEphemeral__factory"; -export { IStoreHook__factory } from "./IStoreHook__factory"; -export { IStoreRead__factory } from "./IStoreRead__factory"; -export { IStoreRegistration__factory } from "./IStoreRegistration__factory"; -export { IStoreWrite__factory } from "./IStoreWrite__factory"; diff --git a/packages/store/types/ethers-contracts/factories/IStoreErrors__factory.ts b/packages/store/types/ethers-contracts/factories/IStoreErrors__factory.ts deleted file mode 100644 index b3811c8559..0000000000 --- a/packages/store/types/ethers-contracts/factories/IStoreErrors__factory.ts +++ /dev/null @@ -1,113 +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 { IStoreErrors, IStoreErrorsInterface } from "../IStoreErrors"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_DataIndexOverflow", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotImplemented", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, -] as const; - -export class IStoreErrors__factory { - static readonly abi = _abi; - static createInterface(): IStoreErrorsInterface { - return new utils.Interface(_abi) as IStoreErrorsInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreErrors { - return new Contract(address, _abi, signerOrProvider) as IStoreErrors; - } -} diff --git a/packages/store/types/ethers-contracts/factories/Schema.sol/SchemaLib__factory.ts b/packages/store/types/ethers-contracts/factories/Schema.sol/SchemaLib__factory.ts deleted file mode 100644 index e8ac46549f..0000000000 --- a/packages/store/types/ethers-contracts/factories/Schema.sol/SchemaLib__factory.ts +++ /dev/null @@ -1,76 +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 { SchemaLib, SchemaLibInterface } from "../../Schema.sol/SchemaLib"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type SchemaLibConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SchemaLibConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SchemaLib__factory extends ContractFactory { - constructor(...args: SchemaLibConstructorParams) { - 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): SchemaLib { - return super.attach(address) as SchemaLib; - } - override connect(signer: Signer): SchemaLib__factory { - return super.connect(signer) as SchemaLib__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SchemaLibInterface { - return new utils.Interface(_abi) as SchemaLibInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): SchemaLib { - return new Contract(address, _abi, signerOrProvider) as SchemaLib; - } -} diff --git a/packages/store/types/ethers-contracts/factories/Schema.sol/index.ts b/packages/store/types/ethers-contracts/factories/Schema.sol/index.ts deleted file mode 100644 index 6c05e6269f..0000000000 --- a/packages/store/types/ethers-contracts/factories/Schema.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { SchemaLib__factory } from "./SchemaLib__factory"; diff --git a/packages/store/types/ethers-contracts/factories/Slice.sol/SliceLib__factory.ts b/packages/store/types/ethers-contracts/factories/Slice.sol/SliceLib__factory.ts deleted file mode 100644 index b0bb0de566..0000000000 --- a/packages/store/types/ethers-contracts/factories/Slice.sol/SliceLib__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 { SliceLib, SliceLibInterface } from "../../Slice.sol/SliceLib"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type SliceLibConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SliceLibConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SliceLib__factory extends ContractFactory { - constructor(...args: SliceLibConstructorParams) { - 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): SliceLib { - return super.attach(address) as SliceLib; - } - override connect(signer: Signer): SliceLib__factory { - return super.connect(signer) as SliceLib__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SliceLibInterface { - return new utils.Interface(_abi) as SliceLibInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): SliceLib { - return new Contract(address, _abi, signerOrProvider) as SliceLib; - } -} diff --git a/packages/store/types/ethers-contracts/factories/Slice.sol/index.ts b/packages/store/types/ethers-contracts/factories/Slice.sol/index.ts deleted file mode 100644 index acba22baba..0000000000 --- a/packages/store/types/ethers-contracts/factories/Slice.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { SliceLib__factory } from "./SliceLib__factory"; diff --git a/packages/store/types/ethers-contracts/factories/StoreCore__factory.ts b/packages/store/types/ethers-contracts/factories/StoreCore__factory.ts deleted file mode 100644 index 400f32a540..0000000000 --- a/packages/store/types/ethers-contracts/factories/StoreCore__factory.ts +++ /dev/null @@ -1,160 +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 { StoreCore, StoreCoreInterface } from "../StoreCore"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type StoreCoreConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreCoreConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreCore__factory extends ContractFactory { - constructor(...args: StoreCoreConstructorParams) { - 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): StoreCore { - return super.attach(address) as StoreCore; - } - override connect(signer: Signer): StoreCore__factory { - return super.connect(signer) as StoreCore__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreCoreInterface { - return new utils.Interface(_abi) as StoreCoreInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreCore { - return new Contract(address, _abi, signerOrProvider) as StoreCore; - } -} diff --git a/packages/store/types/ethers-contracts/factories/StoreMock__factory.ts b/packages/store/types/ethers-contracts/factories/StoreMock__factory.ts deleted file mode 100644 index 2febc843f0..0000000000 --- a/packages/store/types/ethers-contracts/factories/StoreMock__factory.ts +++ /dev/null @@ -1,737 +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 { StoreMock, StoreMockInterface } from "../StoreMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_DataIndexOverflow", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotImplemented", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60806040523480156200001157600080fd5b50620000276200002d60201b620006c71760201c565b620027cf565b60408051676d756473746f726560c01b602082015265736368656d6160d01b6030820152620000a69101604051602081830303815290604052620000719062002273565b62000089605f806200024c60201b620008a21760201c565b620000a0605f6200031d60201b620009571760201c565b620003a0565b620000bb6200044160201b620009cf1760201c565b620000d0620004ab60201b62000a241760201c565b620000e56200050060201b62000a841760201c565b620000fa6200056e60201b62000add1760201c565b60408051600280825260608201909252600091816020015b6060815260200190600190039081620001125790505090506040518060400160405280600b81526020016a76616c7565536368656d6160a81b81525081600081518110620001645762000164620022b1565b6020026020010181905250604051806040016040528060098152602001686b6579536368656d6160b81b81525081600181518110620001a757620001a7620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b603082015281518082039093018352810190526200024990620001f79062002273565b60405180604001604052806006815260200165736368656d6160d01b8152508360405160200162000229919062002380565b604051602081830303815290604052620005b860201b62000b331760201c565b50565b604080516002808252606082018352600092839291906020830190803683370190505090508381600081518110620002885762000288620022b1565b602002602001019060c5811115620002a457620002a462002395565b908160c5811115620002ba57620002ba62002395565b815250508281600181518110620002d557620002d5620022b1565b602002602001019060c5811115620002f157620002f162002395565b908160c581111562000307576200030762002395565b905250620003158162000674565b949350505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110620003595762000359620022b1565b602002602001019060c581111562000375576200037562002395565b908160c58111156200038b576200038b62002395565b905250620003998162000674565b9392505050565b620003bb6000836200085660201b62000be41790919060201c565b620003d66001826200085660201b62000be41790919060201c565b620003e18362000a51565b15620004245782620003fe8462000a8560201b62000db71760201c565b60405163051eeee360e21b81526004016200041b929190620023ab565b60405180910390fd5b6200043c83838362000ab160201b62000de21760201c565b505050565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b6030820152620004a99101604051602081830303815290604052620004849062002273565b6200048e62000c55565b6200049862000ce4565b62000d2160201b62000f341760201c565b565b60408051676d756473746f726560c01b60208201526c53746f72654d6574616461746160981b6030820152620004a99101604051602081830303815290604052620004f69062002273565b6200048e62000db0565b6000806200050d62000e3b565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b60308201529294509092506200056a91015b604051602081830303815290604052620005579062002273565b838362000ed760201b62000fc11760201c565b5050565b6000806200057b62000f28565b60408051676d756473746f726560c01b60208201526c53746f72654d6574616461746160981b60308201529294509092506200056a91016200053d565b6000620005c6838362001026565b60408051600180825281830190925291925060009190602080830190803683370190505090508481600081518110620006035762000603620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b818401526c53746f72654d6574616461746160981b603082015281518082039093018352810190526200066d906200065a9062002273565b82846200111260201b620010191760201c565b5050505050565b6000601c82511115620006a0578151604051635318beb960e01b81526004016200041b91815260200190565b60008060008060005b8651811015620007b3576000620006fb888381518110620006ce57620006ce620022b1565b602002602001015160c5811115620006ea57620006ea62002395565b6200116360201b620010711760201c565b905061ffff8116156200073d5782156200072857604051633c795af960e21b815260040160405180910390fd5b836200073481620023dc565b94505062000742565b600192505b6200074e8186620023fe565b9450620007a7866200076284600462002427565b8a8581518110620007775762000777620022b1565b602002602001015160c581111562000793576200079362002395565b60f81b6200122a60201b620011221760201c565b955050600101620006a9565b506000828751620007c5919062002442565b905060058160ff161115620007f357604051635318beb960e01b815260ff821660048201526024016200041b565b6200080f8560008660f01b6200126060201b620011581760201c565b94506200082d8560028560f81b6200122a60201b620011221760201c565b94506200084b8560038360f81b6200122a60201b620011221760201c565b979650505050505050565b8015801562000876575062000876826200127e60201b6200118e1760201c565b156200089957604051635318beb960e01b8152600060048201526024016200041b565b6000620008b1836200128260201b620011921760201c565b60ff1690506005811115620008dd57604051635318beb960e01b8152600481018290526024016200041b565b6000620008f584620012a560201b620011a31760201c565b60ff169050601c62000908838362002427565b111562000938576200091b828262002427565b604051635318beb960e01b81526004016200041b91815260200190565b60008060005b6200094a858562002427565b811015620009fe5760006200098662000972838a620012bf60201b620011af1790919060201c565b60c5811115620006ea57620006ea62002395565b1115620009c357838110620009ae57604051633c795af960e21b815260040160405180910390fd5b82620009ba8162002468565b935050620009f5565b83811015620009e557604051633c795af960e21b815260040160405180910390fd5b81620009f18162002468565b9250505b6001016200093e565b5082821462000a2457604051635318beb960e01b8152600481018390526024016200041b565b83811462000a4957604051635318beb960e01b8152600481018290526024016200041b565b505050505050565b600062000a7e62000a6d83620012fb60201b620011db1760201c565b6200127e60201b6200118e1760201c565b1592915050565b60608160405160200162000a9b91815260200190565b6040516020818303038152906040529050919050565b60408051600180825281830190925260009160208083019080368337019050509050838160008151811062000aea5762000aea620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b6030820152815180820390930183528101905260009062000b449062000b3d9062002273565b83620013b4565b905062000b728162000b6186620013fb60201b620012601760201c565b620013fe60201b62000e7e1760201c565b62000b9962000b8382600162002427565b62000b6185620013fb60201b620012601760201c565b60408051676d756473746f726560c01b602082015265736368656d6160d01b603082015260008051602062006f27833981519152910160405160208183030381529060405262000be99062002273565b8362000c0087620013fb60201b620012601760201c565b62000c1687620013fb60201b620012601760201c565b60408051602081019390935282015260600160408051601f198184030181529082905262000c46939291620024c1565b60405180910390a15050505050565b6040805160018082528183019092526000918291906020808301908036833701905050905060c38160008151811062000c925762000c92620022b1565b602002602001019060c581111562000cae5762000cae62002395565b908160c581111562000cc45762000cc462002395565b8152505062000cde816200067460201b620012631760201c565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050605f8160008151811062000c925762000c92620022b1565b62000d2b62001402565b1562000d49576200043c838383620003a060201b620014b11760201c565b604051636ac99b4360e11b8152600481018490526024810183905260448101829052339063d5933686906064015b600060405180830381600087803b15801562000d9257600080fd5b505af115801562000da7573d6000803e3d6000fd5b50505050505050565b6040805160028082526060820183526000928392919060208301908036833701905050905060c58160008151811062000ded5762000ded620022b1565b602002602001019060c581111562000e095762000e0962002395565b908160c581111562000e1f5762000e1f62002395565b8152505060c48160018151811062000c925762000c92620022b1565b6040805160018082528183019092526060918291600091816020015b606081526020019060019003908162000e575790505090506040518060400160405280600581526020016476616c756560d81b8152508160008151811062000ea35762000ea3620022b1565b60200260200101819052508060405180604001604052806005815260200164486f6f6b7360d81b8152509092509250509091565b62000ee162001402565b1562000eff576200043c8383836200147760201b6200151e1760201c565b60405163fe86a89f60e01b8152339063fe86a89f9062000d7790869086908690600401620024fa565b60408051600280825260608281019093528291600091816020015b606081526020019060019003908162000f43579050509050604051806040016040528060098152602001687461626c654e616d6560b81b8152508160008151811062000f935762000f93620022b1565b60200260200101819052506040518060400160405280601481526020017f616269456e636f6465644669656c644e616d65730000000000000000000000008152508160018151811062000fea5762000fea620022b1565b6020026020010181905250806040518060400160405280600d81526020016c53746f72654d6574616461746160981b8152509092509250509091565b60408051600280825260608083018452926000929190602083019080368337019050509050835181600081518110620010635762001063620022b1565b602002602001019064ffffffffff16908164ffffffffff1681525050825181600181518110620010975762001097620022b1565b602002602001019064ffffffffff16908164ffffffffff16815250506000620010cb826200151060201b620015ae1760201c565b9050620010e381620013fb60201b620012601760201c565b8585604051602001620010f99392919062002529565b6040516020818303038152906040529250505092915050565b6200111c62001402565b156200113a576200043c838383620015cc60201b6200168b1760201c565b604051638ed41f2f60e01b81523390638ed41f2f9062000d7790869086908690600401620024c1565b6000808260c58111156200117b576200117b62002395565b60ff169050602081101562001197576200039981600162002427565b6040811015620011bc576020620011b082600162002427565b6200039991906200256a565b6060811015620011d5576040620011b082600162002427565b60608360c5811115620011ec57620011ec62002395565b03620011fb5750600192915050565b60618360c581111562001212576200121262002395565b03620012215750601492915050565b50600092915050565b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c6001600160f01b031990911c198416179392505050565b1590565b60006200129c8260036200185a60201b620011c01760201c565b60f81c92915050565b60006200129c8260026200185a60201b620011c01760201c565b6000620012e483620012d384600462002427565b6200185a60201b620011c01760201c565b60f81c60c581111562000399576200039962002395565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110620013375762001337620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b603082015281518082039093018352810190526000906200139c906200138a9062002273565b83620013b460201b6200186c1760201c565b905062000315816200186160201b620018c21760201c565b600060008051602062006f078339815191528383604051602001620013dc9392919062002584565b60408051601f1981840301815291905280516020909101209392505050565b90565b9055565b6000303b8082036200141657600191505090565b306001600160a01b031663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b1580156200145057600080fd5b505afa92505050801562001462575060015b6200146f57600091505090565b600191505090565b6000620014848462001865565b9050815160001480620014af5750620014a881620018d460201b620018c61760201c565b60ff168251145b620014f157620014ca81620018d460201b620018c61760201c565b825160405163f2b2755960e01b815260ff909216600483015260248201526044016200041b565b6200150a84848460405160200162000229919062002380565b50505050565b6000806000805b8451811015620015af57620015718362001533836005620025a5565b6200154090600762002427565b878481518110620015555762001555620022b1565b602002602001015160d81b620018fe60201b620018e41760201c565b9250848181518110620015885762001588620022b1565b602002602001015164ffffffffff1682620015a49190620025c7565b915060010162001517565b50620003158260008360c81b6200191c60201b6200191a1760201c565b6000620015d98462001865565b9050600080620015f583856200193a60201b620019501760201c565b9150915060008051602062006f278339815191528686866040516200161d93929190620024c1565b60405180910390a160006200163d87620019ff60201b620019ee1760201c565b905060005b8151811015620016ea576000828281518110620016635762001663620022b1565b60200260200101519050806001600160a01b03166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016200169f93929190620024c1565b600060405180830381600087803b158015620016ba57600080fd5b505af1158015620016cf573d6000803e3d6000fd5b50505050508080620016e19062002468565b91505062001642565b506000620017048888620013b460201b6200186c1760201c565b905060006200171e8762001ad360201b62001a961760201c565b90506200173a826000838862001ad960201b62001a9c1760201c565b6200174785602062002427565b62001753908262002427565b90506200176b866200128260201b620011921760201c565b60ff166000036200178157505050505050505050565b60006200179a8a8a62001bc160201b62001b5a1760201c565b9050620017b78162000b6187620013fb60201b620012601760201c565b60008060005b620017d38a6200128260201b620011921760201c565b60ff168160ff1610156200184b57620017f98d8d8362001be960201b62001b911760201c565b9250620018188160ff168962001c3360201b62001bea1790919060201c565b915062001834836000878562001ad960201b62001a9c1760201c565b62001840828662002427565b9450600101620017bd565b50505050505050505050505050565b6008021b90565b5490565b60006200187d82620012fb60201b620011db1760201c565b905062001895816200127e60201b6200118e1760201c565b15620018cf5781620018b28362000a8560201b62000db71760201c565b60405163d623a70d60e01b81526004016200041b929190620023ab565b919050565b6000620018e18262001282565b620018ec83620012a5565b620018f89190620025ec565b92915050565b6008820281811c6001600160d81b031990911c198416179392505050565b6008820281811c6001600160c81b031990911c198416179392505050565b600080620019538462001c7460201b62001c1c1760201c565b91506000829050600062001972866200128260201b620011921760201c565b60ff161115620019c75762001993848462001c7a60201b62001c221760201c565b9150620019ab8262001c8260201b62001c2a1760201c565b620019b890602062002427565b620019c4908262002427565b90505b83518114620019f757835160405163521b3d3360e01b81526200041b918391600401918252602082015260400190565b509250929050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811062001a3c5762001a3c620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015264486f6f6b7360d81b6030820152815180820390930183528101905260009062001aa29062001a8e9062002273565b83600062001c8860201b62001c301760201c565b90506200031562001ac2826000845162001d2b60201b62001cd61760201c565b62001da160201b62001d661760201c565b60200190565b60208304840193506020838162001af45762001af462002614565b069250821562001b62576000836020039050600062001b1e8362001dbf60201b62001d771760201c565b90506008850281811c91508451811c905081198754168282161787555081831162001b4b5750506200150a565b62001b5860018762002427565b9550509182019190035b6020811062001b8f578151845562001b7c60018562002427565b935060209190910190601f190162001b62565b80156200150a57600062001bae8262001dbf60201b62001d771760201c565b8554845182169119161785555050505050565b600060008051602062006f078339815191528383604051602001620013dc939291906200262a565b600060008051602062006f0783398151915284848460405160200162001c13949392919062002675565b60408051601f198184030181529190528051602090910120949350505050565b60008062001c43836005620025a5565b62001c5090600762002427565b905062001c6984826200185a60201b620011c01760201c565b60d81c949350505050565b60f01c90565b016020015190565b60c81c90565b606062001c9462001402565b1562001cba5762001cb284848462001dcc60201b62001d841760201c565b905062000399565b60405163340fb6e360e21b8152339063d03edb8c9062001ce390879087908790600401620026aa565b600060405180830381865afa15801562001d01573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001cb29190810190620026d8565b600081831115801562001d3f575083518211155b62001d65578383836040516323230fa360e01b81526004016200041b9392919062002785565b6020840162001d75848262002427565b9050600062001d8585856200256a565b6001600160801b031660809290921b9190911795945050505050565b6060600062000399836014600062001df460201b62001d9f1760201c565b60001960089091021c1990565b6060600062001ddb8562001865565b905062001deb8585858462001f3f565b95945050505050565b6060600062001e0e8562001f9f60201b62001ee21760201c565b9050600062001e288662001fa560201b62001ee81760201c565b905060008462001e535762001e3f866008620025a5565b62001e4d906101006200256a565b62001e56565b60005b9050600086838162001e6c5762001e6c62002614565b04905062001e7b8784620027ac565b1562001ef05760405162461bcd60e51b815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a6500000060648201526084016200041b565b602080820201604051955080860160405250808552600060208601855b8383101562001f31578051851c825260019290920191602090910190890162001f0d565b505050505050509392505050565b606062001f5782620012a560201b620011a31760201c565b60ff168360ff16101562001f865762001f7e8585858562001fb160201b62001efd1760201c565b905062000315565b62001f7e858585856200203660201b62001f5d1760201c565b60801c90565b6001600160801b031690565b6060600062001fd28460ff1684620012bf60201b620011af1790919060201c565b9050600062001fef8260c5811115620006ea57620006ea62002395565b9050600062001fff8888620013b4565b905060006200200f8688620020be565b9050620020298284836200211860201b62001fb61760201c565b9998505050505050505050565b606060006200205083620012a560201b620011a31760201c565b6200205c908562002442565b905060006200206d87878462001be9565b905060006200209960ff8416620020858a8a62002175565b62001c3360201b62001bea1790919060201c565b9050620020b282826200218460201b620020161760201c565b98975050505050505050565b600080805b8360ff168110156200211057620020ed620009728287620012bf60201b620011af1790919060201c565b620020f9908362002427565b915080620021078162002468565b915050620020c3565b509392505050565b6060826001600160401b038111156200213557620021356200229b565b6040519080825280601f01601f19166020018201604052801562002160576020820181803683370190505b50905060208101620021108585858462002194565b6000806200139c848462001bc1565b6060620003998383600062002118565b602082048401935060208281620021af57620021af62002614565b0691508115620022155760008260200390506000620021d98262001dbf60201b62001d771760201c565b90508554600885021b811984511682821617845250818511620021fe5750506200150a565b6200220b60018762002427565b9550509283900392015b602083106200224157835481526200222f60018562002427565b9350601f199092019160200162002215565b82156200150a576000620022608462001dbf60201b62001d771760201c565b8251865482169119161782525050505050565b8051602080830151919081101562002295576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b83811015620022e4578181015183820152602001620022ca565b838111156200150a5750506000910152565b6000815180845262002310816020860160208601620022c7565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b848110156200237357601f1986840301895262002360838351620022f6565b9884019892509083019060010162002341565b5090979650505050505050565b60208152600062000399602083018462002324565b634e487b7160e01b600052602160045260246000fd5b828152604060208201526000620003156040830184620022f6565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8103620023f557620023f5620023c6565b60010192915050565b600061ffff8083168185168083038211156200241e576200241e620023c6565b01949350505050565b600082198211156200243d576200243d620023c6565b500190565b600060ff821660ff8416808210156200245f576200245f620023c6565b90039392505050565b6000600182016200247d576200247d620023c6565b5060010190565b600081518084526020808501945080840160005b83811015620024b65781518752958201959082019060010162002498565b509495945050505050565b838152606060208201526000620024dc606083018562002484565b8281036040840152620024f08185620022f6565b9695505050505050565b838152606060208201526000620025156060830185620022f6565b8281036040840152620024f0818562002324565b8381526000835162002543816020850160208801620022c7565b808301905083516200255d816020840160208801620022c7565b0160200195945050505050565b6000828210156200257f576200257f620023c6565b500390565b83815282602082015260606040820152600062001deb606083018462002484565b6000816000190483118215151615620025c257620025c2620023c6565b500290565b600066ffffffffffffff8083168185168083038211156200241e576200241e620023c6565b600060ff821660ff84168060ff038211156200260c576200260c620023c6565b019392505050565b634e487b7160e01b600052601260045260246000fd5b8381528260208201526080604082015260006200264b608083018462002484565b828103606084015260068152650d8cadccee8d60d31b602082015260408101915050949350505050565b84815283602082015260806040820152600062002696608083018562002484565b905060ff8316606083015295945050505050565b838152606060208201526000620026c5606083018562002484565b905060ff83166040830152949350505050565b600060208284031215620026eb57600080fd5b81516001600160401b03808211156200270357600080fd5b818401915084601f8301126200271857600080fd5b8151818111156200272d576200272d6200229b565b604051601f8201601f19908116603f011681019083821181831017156200275857620027586200229b565b816040528281528760208487010111156200277257600080fd5b6200084b836020830160208801620022c7565b6060815260006200279a6060830186620022f6565b60208301949094525060400152919050565b600082620027ca57634e487b7160e01b600052601260045260246000fd5b500690565b61472880620027df6000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c8063a2ea7c6e116100b2578063d03edb8c11610081578063d4285dc211610066578063d4285dc21461026b578063d59336861461027e578063fe86a89f1461029157600080fd5b8063d03edb8c14610245578063d3a26b061461025857600080fd5b8063a2ea7c6e1461020c578063a5c2f0071461014e578063be83698c1461021f578063cc49db7e1461023257600080fd5b80636e81fd71116101095780638c1f9a54116100ee5780638c1f9a54146101c55780638ed41f2f146101d85780639f1fcf0a146101eb57600080fd5b80636e81fd711461019f578063776d4047146101b257600080fd5b80630c1a60001461013b578063114a726614610150578063419b58fd14610163578063505a181d1461018c575b600080fd5b61014e610149366004613ab3565b6102a4565b005b61014e61015e366004613ab3565b61031f565b610176610171366004613b40565b610392565b6040516101839190613beb565b60405180910390f35b61014e61019a366004613cd4565b6103dc565b61014e6101ad366004613d1b565b6103ea565b61014e6101c0366004613d64565b6103f4565b61014e6101d3366004613dfb565b610472565b61014e6101e6366004613e61565b6104ba565b6101fe6101f9366004613edb565b61052b565b604051908152602001610183565b6101fe61021a366004613f3a565b610541565b61014e61022d366004613e61565b610554565b610176610240366004613f53565b6105c5565b610176610253366004613f9f565b610604565b610176610266366004613ffd565b610645565b6101fe610279366004613f3a565b610660565b61014e61028c366004614070565b61066b565b61014e61029f36600461409c565b61067b565b6103178686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061202492505050565b505050505050565b6103178686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061225192505050565b60606103d38585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525087925061243c915050565b95945050505050565b6103e682826125a1565b5050565b6103e68282612737565b6104698787878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528a935089925090889088908190840183828082843760009201919091525061274192505050565b50505050505050565b6104b3858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508792508691506129f29050565b5050505050565b6104b38585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8901819004810282018101909252878152925087915086908190840183828082843760009201919091525061168b92505050565b60006103d385858585612c14565b949350505050565b600061054c82612c7e565b92915050565b565b6104b38585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781529250879150869081908401838280828437600092019190915250612cd392505050565b606061053984848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250612de192505050565b60606103d385858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250879250611d84915050565b6060610655878787878787612dfb565b979650505050505050565b600061054c82612e78565b6106768383836114b1565b505050565b6104b38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506106c2925086915087905061412d565b61151e565b60408051676d756473746f726560c01b602082015265736368656d6160d01b60308201526107229101604051602081830303815290604052610708906141dd565b610713605f806108a2565b61071d605f610957565b6114b1565b61072a6109cf565b610732610a24565b61073a610a84565b610742610add565b60408051600280825260608201909252600091816020015b606081526020019060019003908161075a5790505090506040518060400160405280600b81526020017f76616c7565536368656d61000000000000000000000000000000000000000000815250816000815181106107ba576107ba614204565b60200260200101819052506040518060400160405280600981526020017f6b6579536368656d6100000000000000000000000000000000000000000000008152508160018151811061080e5761080e614204565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b6030820152815180820390930183528101905261089f9061085b906141dd565b60405180604001604052806006815260200165736368656d6160d01b8152508360405160200161088b919061426f565b604051602081830303815290604052610b33565b50565b6040805160028082526060820183526000928392919060208301908036833701905050905083816000815181106108db576108db614204565b602002602001019060c58111156108f4576108f4614282565b908160c581111561090757610907614282565b81525050828160018151811061091f5761091f614204565b602002602001019060c581111561093857610938614282565b908160c581111561094b5761094b614282565b90525061053981611263565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061099057610990614204565b602002602001019060c58111156109a9576109a9614282565b908160c58111156109bc576109bc614282565b9052506109c881611263565b9392505050565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b60308201526105529101604051602081830303815290604052610a0f906141dd565b610a17612e9c565b610a1f612f14565b610f34565b60408051676d756473746f726560c01b60208201527f53746f72654d657461646174610000000000000000000000000000000000000060308201526105529101604051602081830303815290604052610a7c906141dd565b610a17612f4e565b600080610a8f612fcd565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b60308201529294509092506103e691015b604051602081830303815290604052610ad6906141dd565b8383610fc1565b600080610ae861307d565b60408051676d756473746f726560c01b60208201527f53746f72654d657461646174610000000000000000000000000000000000000060308201529294509092506103e69101610abe565b6000610b3f8383613198565b60408051600180825281830190925291925060009190602080830190803683370190505090508481600081518110610b7957610b79614204565b60209081029190910181019190915260408051676d756473746f726560c01b818401527f53746f72654d6574616461746100000000000000000000000000000000000000603082015281518082039093018352810190526104b390610bdd906141dd565b8284611019565b80158015610bf0575081155b15610c1657604051635318beb960e01b8152600060048201526024015b60405180910390fd5b6000610c2183611192565b60ff1690506005811115610c4b57604051635318beb960e01b815260048101829052602401610c0d565b6000610c56846111a3565b60ff169050601c610c6783836142ae565b1115610c9357610c7782826142ae565b604051635318beb960e01b8152600401610c0d91815260200190565b60008060005b610ca385856142ae565b811015610d70576000610ccf610cb989846111af565b60c5811115610cca57610cca614282565b611071565b1115610d2057838110610d0e576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82610d18816142c6565b935050610d68565b83811015610d5a576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81610d64816142c6565b9250505b600101610c99565b50828214610d9457604051635318beb960e01b815260048101839052602401610c0d565b83811461031757604051635318beb960e01b815260048101829052602401610c0d565b606081604051602001610dcc91815260200190565b6040516020818303038152906040529050919050565b604080516001808252818301909252600091602080830190803683370190505090508381600081518110610e1857610e18614204565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b6030830152600091610e7491015b604051602081830303815290604052610e6e906141dd565b8361186c565b8481559050610e82565b9055565b610e95610e908260016142ae565b849055565b60408051676d756473746f726560c01b602082015265736368656d6160d01b60308201527f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee329101604051602081830303815290604052610ef4906141dd565b83868660408051602081019390935282015260600160408051601f1981840301815290829052610f2593929161431b565b60405180910390a15050505050565b610f3c61325a565b15610f4c576106768383836114b1565b6040517fd5933686000000000000000000000000000000000000000000000000000000008152600481018490526024810183905260448101829052339063d5933686906064015b600060405180830381600087803b158015610fad57600080fd5b505af1158015610469573d6000803e3d6000fd5b610fc961325a565b15610fd95761067683838361151e565b6040517ffe86a89f000000000000000000000000000000000000000000000000000000008152339063fe86a89f90610f9390869086908690600401614350565b61102161325a565b156110315761067683838361168b565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f90610f939086908690869060040161431b565b6000808260c581111561108657611086614282565b60ff169050602081101561109f576109c88160016142ae565b60408110156110bf5760206110b58260016142ae565b6109c8919061437b565b60608110156110d55760406110b58260016142ae565b60608360c58111156110e9576110e9614282565b036110f75750600192915050565b60618360c581111561110b5761110b614282565b036111195750601492915050565b50600092915050565b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c7fffff00000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b1590565b6000601882901b5b60f81c92915050565b6000601082901b61119a565b60006111c7836111c08460046142ae565b6008021b90565b60f81c60c58111156109c8576109c8614282565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061121457611214614204565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b60308301526000916112569101610e56565b9050610539815490565b90565b6000601c8251111561128d578151604051635318beb960e01b8152600401610c0d91815260200190565b60008060008060005b86518110156113b45760006112cf8883815181106112b6576112b6614204565b602002602001015160c5811115610cca57610cca614282565b905061ffff811615611325578215611313576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8361131d81614392565b94505061132a565b600192505b61133481866143b1565b94506113a9866113458460046142ae565b8a858151811061135757611357614204565b602002602001015160c581111561137057611370614282565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101611296565b5060008287516113c491906143d7565b905060058160ff1611156113f057604051635318beb960e01b815260ff82166004820152602401610c0d565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b1617610655565b6114bc826000610be4565b6114c7816001610be4565b6114d0836132d8565b1561151357826114df84610db7565b6040517f147bbb8c000000000000000000000000000000000000000000000000000000008152600401610c0d9291906143fa565b610676838383610de2565b600061152984612c7e565b9050815160001480611546575061153f816118c6565b60ff168251145b61159257611553816118c6565b82516040517ff2b2755900000000000000000000000000000000000000000000000000000000815260ff90921660048301526024820152604401610c0d565b6115a884848460405160200161088b919061426f565b50505050565b6000806000805b84518110156116635761162b836115cd836005614413565b6115d89060076142ae565b8784815181106115ea576115ea614204565b602002602001015160d81b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b925084818151811061163f5761163f614204565b602002602001015164ffffffffff16826116599190614432565b91506001016115b5565b5078ffffffffffffffffffffffffffffffffffffffffffffffffff821660c882901b17610539565b600061169684612c7e565b90506000806116a58385611950565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee328686866040516116dc9392919061431b565b60405180910390a160006116ef876119ee565b905060005b815181101561179e57600082828151811061171157611711614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016117589392919061431b565b600060405180830381600087803b15801561177257600080fd5b505af1158015611786573d6000803e3d6000fd5b50505050508080611796906142c6565b9150506116f4565b5060006117ab888861186c565b9050602086016117be8260008388611a9c565b6117c98560206142ae565b6117d390826142ae565b90506117de86611192565b60ff166000036117f357505050505050505050565b60006117ff8a8a611b5a565b858155905060008060005b6118138a611192565b60ff168160ff16101561185d5761182b8d8d83611b91565b925061183a8860ff8316611bea565b91506118498360008785611a9c565b61185382866142ae565b945060010161180a565b50505050505050505050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016118a393929190614454565b60408051601f1981840301815291905280516020909101209392505050565b5490565b60006118d182611192565b6118da836111a3565b61054c9190614473565b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c7fffffffffffffff0000000000000000000000000000000000000000000000000090911c198416179392505050565b60008061195d8460f01c90565b915081600061196b86611192565b60ff16111561199f578284016020015191506119878260c81c90565b6119929060206142ae565b61199c90826142ae565b90505b835181146119e65783516040517f521b3d33000000000000000000000000000000000000000000000000000000008152610c0d918391600401918252602082015260400190565b509250929050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a2857611a28614204565b60209081029190910181019190915260408051676d756473746f726560c01b8184015264486f6f6b7360d81b60308201528151808203909301835281019052600090611a7f90611a77906141dd565b836000611c30565b9050610539611a918260008451611cd6565b611d66565b60200190565b602083048401935060208381611ab457611ab4614498565b0692508215611b0d5760208390036000600019600884021c1990506008850281811c91508451811c9050811987541682821617875550818311611af85750506115a8565b611b036001876142ae565b9550509182019190035b60208110611b365781518455611b246001856142ae565b935060209190910190601f1901611b0d565b80156115a8576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016118a3939291906144ae565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9848484604051602001611bca949392919061450e565b60408051601f198184030181529190528051602090910120949350505050565b600080611bf8836005614413565b611c039060076142ae565b9050611c1184826008021b90565b60d81c949350505050565b60f01c90565b016020015190565b60c81c90565b6060611c3a61325a565b15611c5157611c4a848484611d84565b90506109c8565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c90611c9190879087908790600401614541565b600060405180830381865afa158015611cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c4a919081019061456d565b6000818311158015611ce9575083518211155b611d25578383836040517f23230fa3000000000000000000000000000000000000000000000000000000008152600401610c0d939291906145db565b60208401611d3384826142ae565b90506000611d41858561437b565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b606060006109c88360146000611d9f565b60001960089091021c1990565b60606000611d9185612c7e565b90506103d3858585846132ed565b60606000611dad8560801c90565b90506fffffffffffffffffffffffffffffffff8516600084611de557611dd4866008614413565b611de09061010061437b565b611de8565b60005b90506000868381611dfb57611dfb614498565b049050611e088784614600565b15611e95576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401610c0d565b602080820201604051955080860160405250808552600060208601855b83831015611ed4578051851c8252600192909201916020909101908901611eb2565b505050505050509392505050565b60801c90565b6fffffffffffffffffffffffffffffffff1690565b60606000611f0e8360ff86166111af565b90506000611f278260c5811115610cca57610cca614282565b90506000611f35888861186c565b90506000611f438688613324565b9050611f50828483611fb6565b9998505050505050505050565b60606000611f6a836111a3565b611f7490856143d7565b90506000611f83878784611b91565b90506000611f9e8360ff16611f988a8a61335f565b90611bea565b9050611faa8282612016565b98975050505050505050565b60608267ffffffffffffffff811115611fd157611fd1613bfe565b6040519080825280601f01601f191660200182016040528015611ffb576020820181803683370190505b5090506020810161200e8585858461336c565b509392505050565b60606109c883836000611fb6565b600061202f85612c7e565b905061203a816111a3565b60ff168360ff161015612060576040516302860dd760e31b815260040160405180910390fd5b600061206e86868685611f5d565b83604051602001612080929190614614565b60405160208183030381529060405290507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c46868686846040516120c6949392919061463a565b60405180910390a160006120d9876119ee565b905060005b815181101561218a5760008282815181106120fb576120fb614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401612144949392919061463a565b600060405180830381600087803b15801561215e57600080fd5b505af1158015612172573d6000803e3d6000fd5b50505050508080612182906142c6565b9150506120de565b506121988787858888613421565b60005b81518110156122475760008282815181106121b8576121b8614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8a8a8a886040518563ffffffff1660e01b8152600401612201949392919061463a565b600060405180830381600087803b15801561221b57600080fd5b505af115801561222f573d6000803e3d6000fd5b5050505050808061223f906142c6565b91505061219b565b5050505050505050565b600061225c85612c7e565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4685858585604051612293949392919061463a565b60405180910390a160006122a6866119ee565b905060005b81518110156123575760008282815181106122c8576122c8614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee2898989896040518563ffffffff1660e01b8152600401612311949392919061463a565b600060405180830381600087803b15801561232b57600080fd5b505af115801561233f573d6000803e3d6000fd5b5050505050808061234f906142c6565b9150506122ab565b50612361826111a3565b60ff168460ff1610156123805761237b8686848787613491565b61238d565b61238d8686848787613537565b60005b81518110156104695760008282815181106123ad576123ad614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f898989896040518563ffffffff1660e01b81526004016123f6949392919061463a565b600060405180830381600087803b15801561241057600080fd5b505af1158015612424573d6000803e3d6000fd5b50505050508080612434906142c6565b915050612390565b6060600061244a8360f01c90565b90508060008061245986611192565b60ff16905080156124a45761246e888861335f565b9150600061247c8360c81c90565b11156124a45761248c8260c81c90565b6124979060206142ae565b6124a190846142ae565b92505b60008367ffffffffffffffff8111156124bf576124bf613bfe565b6040519080825280601f01601f1916602001820160405280156124e9576020820181803683370190505b509050602081016124fc8a8a8884613574565b6125068460c81c90565b60000361251a575094506109c89350505050565b61252486826142ae565b84815290506125346020826142ae565b905060005b838160ff1610156125925760006125518c8c84611b91565b905060006125628760ff8516611bea565b9050612571828260008761336c565b61257b81856142ae565b93505050808061258a90614392565b915050612539565b50909998505050505050505050565b60006125ac83612c7e565b90507f2cc8610b80ef19409ae51ecbdd9c137960fb22ae9ef2d817d36ec1b685d68ecd83836040516125df92919061466e565b60405180910390a160006125f2846119ee565b905060005b815181101561269f57600082828151811061261457612614614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663b51fef6c87876040518363ffffffff1660e01b815260040161265992919061466e565b600060405180830381600087803b15801561267357600080fd5b505af1158015612687573d6000803e3d6000fd5b50505050508080612697906142c6565b9150506125f7565b5060006126ac858561186c565b90506127068160006126be8660f01c90565b67ffffffffffffffff8111156126d6576126d6613bfe565b6040519080825280601f01601f191660200182016040528015612700576020820181803683370190505b50613595565b61270f83611192565b60ff16600003612720575050505050565b600061272c8686611b5a565b600081559050610317565b6103e682826135aa565b600061274c86612c7e565b9050612757816111a3565b60ff168460ff16101561277d576040516302860dd760e31b815260040160405180910390fd5b64ffffffffff8311156127ca576040517f7cd3b80700000000000000000000000000000000000000000000000000000000815264ffffffffff600482015260248101849052604401610c0d565b606060006127da88888886611f5d565b90506127f06127eb82600088611cd6565b613677565b8461280c6127eb8488518a61280591906142ae565b8651611cd6565b60405160200161281e93929190614687565b6040516020818303038152906040529150507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4687878784604051612865949392919061463a565b60405180910390a16000612878886119ee565b905060005b815181101561292957600082828151811061289a5761289a614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28b8b8b886040518563ffffffff1660e01b81526004016128e3949392919061463a565b600060405180830381600087803b1580156128fd57600080fd5b505af1158015612911573d6000803e3d6000fd5b50505050508080612921906142c6565b91505061287d565b506129388888858989896136f7565b60005b81518110156129e757600082828151811061295857612958614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8b8b8b886040518563ffffffff1660e01b81526004016129a1949392919061463a565b600060405180830381600087803b1580156129bb57600080fd5b505af11580156129cf573d6000803e3d6000fd5b505050505080806129df906142c6565b91505061293b565b505050505050505050565b60006129fd85612c7e565b9050612a08816111a3565b60ff168360ff161015612a2e576040516302860dd760e31b815260040160405180910390fd5b60606000612a3e87878786611f5d565b9050612a5b6127eb826000878551612a56919061437b565b611cd6565b9150507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4686868684604051612a93949392919061463a565b60405180910390a16000612aa6876119ee565b905060005b8151811015612b57576000828281518110612ac857612ac8614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401612b11949392919061463a565b600060405180830381600087803b158015612b2b57600080fd5b505af1158015612b3f573d6000803e3d6000fd5b50505050508080612b4f906142c6565b915050612aab565b50612b65878785888861371b565b60005b8151811015612247576000828281518110612b8557612b85614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8a8a8a886040518563ffffffff1660e01b8152600401612bce949392919061463a565b600060405180830381600087803b158015612be857600080fd5b505af1158015612bfc573d6000803e3d6000fd5b50505050508080612c0c906142c6565b915050612b68565b600080612c20836111a3565b90508060ff168460ff161015612c5f576000612c3f8460ff87166111af565b9050612c568160c5811115610cca57610cca614282565b92505050610539565b6000612c6b82866143d7565b9050612c568160ff16611f98898961335f565b6000612c89826111db565b905080612cce5781612c9a83610db7565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401610c0d9291906143fa565b919050565b6000612cde84612c7e565b9050612cea8183611950565b50507f230ea578f076e518b96d8b1b4ca2e5dc4898fd02d11e43c9f067c22d1c391d3b848484604051612d1f9392919061431b565b60405180910390a16000612d32856119ee565b905060005b8151811015610317576000828281518110612d5457612d54614204565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166382b6745f8888886040518463ffffffff1660e01b8152600401612d9b9392919061431b565b600060405180830381600087803b158015612db557600080fd5b505af1158015612dc9573d6000803e3d6000fd5b50505050508080612dd9906142c6565b915050612d37565b60606000612dee84612c7e565b905061053984848361243c565b60606000612e08856111a3565b9050612e13856111a3565b60ff168660ff161015612e39576040516302860dd760e31b815260040160405180910390fd5b6000612e4582886143d7565b90506000612e548a8a84611b91565b9050612e6a81612e64888861437b565b88611fb6565b9a9950505050505050505050565b6000612e8382613778565b9050612e8e826132d8565b612cce5781612c9a83610db7565b6040805160018082528183019092526000918291906020808301908036833701905050905060c381600081518110612ed657612ed6614204565b602002602001019060c5811115612eef57612eef614282565b908160c5811115612f0257612f02614282565b905250612f0e81611263565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050605f81600081518110612ed657612ed6614204565b6040805160028082526060820183526000928392919060208301908036833701905050905060c581600081518110612f8857612f88614204565b602002602001019060c5811115612fa157612fa1614282565b908160c5811115612fb457612fb4614282565b8152505060c481600181518110612ed657612ed6614204565b6040805160018082528183019092526060918291600091816020015b6060815260200190600190039081612fe95790505090506040518060400160405280600581526020017f76616c75650000000000000000000000000000000000000000000000000000008152508160008151811061304957613049614204565b60200260200101819052508060405180604001604052806005815260200164486f6f6b7360d81b8152509092509250509091565b60408051600280825260608281019093528291600091816020015b60608152602001906001900390816130985790505090506040518060400160405280600981526020017f7461626c654e616d650000000000000000000000000000000000000000000000815250816000815181106130f8576130f8614204565b60200260200101819052506040518060400160405280601481526020017f616269456e636f6465644669656c644e616d65730000000000000000000000008152508160018151811061314c5761314c614204565b6020026020010181905250806040518060400160405280600d81526020017f53746f72654d65746164617461000000000000000000000000000000000000008152509092509250509091565b604080516002808252606080830184529260009291906020830190803683370190505090508351816000815181106131d2576131d2614204565b602002602001019064ffffffffff16908164ffffffffff168152505082518160018151811061320357613203614204565b602002602001019064ffffffffff16908164ffffffffff1681525050600061322a826115ae565b9050808585604051602001613241939291906146ca565b6040516020818303038152906040529250505092915050565b6000303b80820361326d57600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b1580156132b357600080fd5b505afa9250505080156132c4575060015b6132d057600091505090565b600191505090565b60006132e661118e836111db565b1592915050565b60606132f8826111a3565b60ff168360ff1610156133185761331185858585611efd565b9050610539565b61331185858585611f5d565b600080805b8360ff1681101561200e57613341610cb986836111af565b61334b90836142ae565b915080613357816142c6565b915050613329565b6000806112568484611b5a565b60208204840193506020828161338457613384614498565b06915081156133d55760208290036000600019600883021c1990508554600885021b8119845116828216178452508185116133c05750506115a8565b6133cb6001876142ae565b9550509283900392015b602083106133fd57835481526133ec6001856142ae565b9350601f19909201916020016133d5565b82156115a8576000600019600885021c198251865482169119161782525050505050565b600061342c846111a3565b61343690846143d7565b905060006134448787611b5a565b90506000613450825490565b905060006134618260ff8616611bea565b905061347f8460ff1686518361347791906142ae565b849190613803565b80845591506129e789898684896138d4565b60006134a08460ff85166111af565b905081516134b98260c5811115610cca57610cca614282565b14613510576134d38160c5811115610cca57610cca614282565b82516040517f521b3d3300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401610c0d565b600061351c878761186c565b9050600061352a8686613324565b9050612247828286613595565b6000613542846111a3565b61354c90846143d7565b905061355b8686838551613914565b6000613568878784611b91565b90506104698184613946565b81156115a8576000613586858561186c565b90506104b3818460008561336c565b60006020820190506115a88484838551611a9c565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106135e0576135e0614204565b60209081029190910181019190915260408051676d756473746f726560c01b8184015264486f6f6b7360d81b603082015281518082039093018352810190526106769061362c906141dd565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086901b1660208201528390600090603401604051602081830303815290604052613952565b606060006136858360801c90565b90506fffffffffffffffffffffffffffffffff83168067ffffffffffffffff8111156136b3576136b3613bfe565b6040519080825280601f01601f1916602001820160405280156136dd576020820181803683370190505b509250602083016136ef8382846139e0565b505050919050565b6000613702856111a3565b61370c90856143d7565b905061046987878386866138d4565b6000613726846111a3565b61373090846143d7565b9050600061373e8787611b5a565b9050600061374a825490565b9050600061375b8260ff8616611bea565b905061376e60ff8516613477878461437b565b80845591506129e7565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106137b1576137b1614204565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b60308301526000916137f39101610e56565b90506105396118c28260016142ae565b600083816138118260c81c90565b90506000613822878760ff16611bea565b905080851061384657613835818661437b565b61383f90836142ae565b915061385d565b613850858261437b565b61385a908361437b565b91505b600061386a876005614413565b6138759060076142ae565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c17611faa565b60006138e1868686611b91565b90506138ee602084614707565b6138f890826142ae565b90506000613907602085614600565b9050610469828285613595565b60006139208585611b5a565b9050600061392c825490565b905061393c8160ff861685613803565b8083559050610317565b6103e682600083613595565b61395a61325a565b156139705761396b84848484612024565b6115a8565b6040517f0c1a60000000000000000000000000000000000000000000000000000000000081523390630c1a6000906139b290879087908790879060040161463a565b600060405180830381600087803b1580156139cc57600080fd5b505af1158015612247573d6000803e3d6000fd5b60208111156139f7578082828560045afa50505050565b6000600019600883021c1983518551821691191617835250505050565b60008083601f840112613a2657600080fd5b50813567ffffffffffffffff811115613a3e57600080fd5b6020830191508360208260051b8501011115613a5957600080fd5b9250929050565b803560ff81168114612cce57600080fd5b60008083601f840112613a8357600080fd5b50813567ffffffffffffffff811115613a9b57600080fd5b602083019150836020828501011115613a5957600080fd5b60008060008060008060808789031215613acc57600080fd5b86359550602087013567ffffffffffffffff80821115613aeb57600080fd5b613af78a838b01613a14565b9097509550859150613b0b60408a01613a60565b94506060890135915080821115613b2157600080fd5b50613b2e89828a01613a71565b979a9699509497509295939492505050565b60008060008060608587031215613b5657600080fd5b84359350602085013567ffffffffffffffff811115613b7457600080fd5b613b8087828801613a14565b9598909750949560400135949350505050565b60005b83811015613bae578181015183820152602001613b96565b838111156115a85750506000910152565b60008151808452613bd7816020860160208601613b93565b601f01601f19169290920160200192915050565b6020815260006109c86020830184613bbf565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613c3d57613c3d613bfe565b604052919050565b600067ffffffffffffffff821115613c5f57613c5f613bfe565b5060051b60200190565b600082601f830112613c7a57600080fd5b81356020613c8f613c8a83613c45565b613c14565b82815260059290921b84018101918181019086841115613cae57600080fd5b8286015b84811015613cc95780358352918301918301613cb2565b509695505050505050565b60008060408385031215613ce757600080fd5b82359150602083013567ffffffffffffffff811115613d0557600080fd5b613d1185828601613c69565b9150509250929050565b60008060408385031215613d2e57600080fd5b82359150602083013573ffffffffffffffffffffffffffffffffffffffff81168114613d5957600080fd5b809150509250929050565b600080600080600080600060a0888a031215613d7f57600080fd5b87359650602088013567ffffffffffffffff80821115613d9e57600080fd5b613daa8b838c01613a14565b9098509650869150613dbe60408b01613a60565b955060608a0135945060808a0135915080821115613ddb57600080fd5b50613de88a828b01613a71565b989b979a50959850939692959293505050565b600080600080600060808688031215613e1357600080fd5b85359450602086013567ffffffffffffffff811115613e3157600080fd5b613e3d88828901613a14565b9095509350613e50905060408701613a60565b949793965091946060013592915050565b600080600080600060608688031215613e7957600080fd5b85359450602086013567ffffffffffffffff80821115613e9857600080fd5b613ea489838a01613a14565b90965094506040880135915080821115613ebd57600080fd5b50613eca88828901613a71565b969995985093965092949392505050565b60008060008060808587031215613ef157600080fd5b84359350602085013567ffffffffffffffff811115613f0f57600080fd5b613f1b87828801613c69565b935050613f2a60408601613a60565b9396929550929360600135925050565b600060208284031215613f4c57600080fd5b5035919050565b600080600060408486031215613f6857600080fd5b83359250602084013567ffffffffffffffff811115613f8657600080fd5b613f9286828701613a14565b9497909650939450505050565b60008060008060608587031215613fb557600080fd5b84359350602085013567ffffffffffffffff811115613fd357600080fd5b613fdf87828801613a14565b9094509250613ff2905060408601613a60565b905092959194509250565b60008060008060008060c0878903121561401657600080fd5b86359550602087013567ffffffffffffffff81111561403457600080fd5b61404089828a01613c69565b95505061404f60408801613a60565b9350606087013592506080870135915060a087013590509295509295509295565b60008060006060848603121561408557600080fd5b505081359360208301359350604090920135919050565b6000806000806000606086880312156140b457600080fd5b85359450602086013567ffffffffffffffff808211156140d357600080fd5b6140df89838a01613a71565b909650945060408801359150808211156140f857600080fd5b50613eca88828901613a14565b600067ffffffffffffffff82111561411f5761411f613bfe565b50601f01601f191660200190565b600061413b613c8a84613c45565b80848252602080830192508560051b85013681111561415957600080fd5b855b818110156141d157803567ffffffffffffffff81111561417b5760008081fd5b870136601f82011261418d5760008081fd5b803561419b613c8a82614105565b81815236868385010111156141b05760008081fd5b8186840187830137600091810186019190915286525093820193820161415b565b50919695505050505050565b805160208083015191908110156141fe576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501808196508360051b8101915082860160005b85811015614262578284038952614250848351613bbf565b98850198935090840190600101614238565b5091979650505050505050565b6020815260006109c8602083018461421a565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156142c1576142c1614298565b500190565b600060001982036142d9576142d9614298565b5060010190565b600081518084526020808501945080840160005b83811015614310578151875295820195908201906001016142f4565b509495945050505050565b83815260606020820152600061433460608301856142e0565b82810360408401526143468185613bbf565b9695505050505050565b8381526060602082015260006143696060830185613bbf565b8281036040840152614346818561421a565b60008282101561438d5761438d614298565b500390565b600060ff821660ff81036143a8576143a8614298565b60010192915050565b600061ffff8083168185168083038211156143ce576143ce614298565b01949350505050565b600060ff821660ff8416808210156143f1576143f1614298565b90039392505050565b8281526040602082015260006105396040830184613bbf565b600081600019048311821515161561442d5761442d614298565b500290565b600066ffffffffffffff8083168185168083038211156143ce576143ce614298565b8381528260208201526060604082015260006103d360608301846142e0565b600060ff821660ff84168060ff0382111561449057614490614298565b019392505050565b634e487b7160e01b600052601260045260246000fd5b8381528260208201526080604082015260006144cd60808301846142e0565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b84815283602082015260806040820152600061452d60808301856142e0565b905060ff8316606083015295945050505050565b83815260606020820152600061455a60608301856142e0565b905060ff83166040830152949350505050565b60006020828403121561457f57600080fd5b815167ffffffffffffffff81111561459657600080fd5b8201601f810184136145a757600080fd5b80516145b5613c8a82614105565b8181528560208385010111156145ca57600080fd5b6103d3826020830160208601613b93565b6060815260006145ee6060830186613bbf565b60208301949094525060400152919050565b60008261460f5761460f614498565b500690565b60008351614626818460208801613b93565b8351908301906143ce818360208801613b93565b84815260806020820152600061465360808301866142e0565b60ff8516604084015282810360608401526106558185613bbf565b82815260406020820152600061053960408301846142e0565b60008451614699818460208901613b93565b8451908301906146ad818360208901613b93565b84519101906146c0818360208801613b93565b0195945050505050565b838152600083516146e2816020850160208801613b93565b808301905083516146fa816020840160208801613b93565b0160200195945050505050565b60008261471657614716614498565b50049056fea164736f6c634300080d000a86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee32"; - -type StoreMockConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreMockConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreMock__factory extends ContractFactory { - constructor(...args: StoreMockConstructorParams) { - 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): StoreMock { - return super.attach(address) as StoreMock; - } - override connect(signer: Signer): StoreMock__factory { - return super.connect(signer) as StoreMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreMockInterface { - return new utils.Interface(_abi) as StoreMockInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreMock { - return new Contract(address, _abi, signerOrProvider) as StoreMock; - } -} diff --git a/packages/store/types/ethers-contracts/factories/StoreReadWithStubs__factory.ts b/packages/store/types/ethers-contracts/factories/StoreReadWithStubs__factory.ts deleted file mode 100644 index a891192bab..0000000000 --- a/packages/store/types/ethers-contracts/factories/StoreReadWithStubs__factory.ts +++ /dev/null @@ -1,745 +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 { - StoreReadWithStubs, - StoreReadWithStubsInterface, -} from "../StoreReadWithStubs"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_DataIndexOverflow", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotImplemented", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [], - name: "StoreReadWithStubs_NotImplemented", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "", - type: "uint8", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "", - type: "uint8", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - { - internalType: "Schema", - name: "", - type: "bytes32", - }, - { - internalType: "Schema", - name: "", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "", - type: "uint8", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - { - internalType: "string", - name: "", - type: "string", - }, - { - internalType: "string[]", - name: "", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "", - type: "uint8", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60806040523480156200001157600080fd5b50620000276200002d60201b620003a61760201c565b620027cf565b60408051676d756473746f726560c01b602082015265736368656d6160d01b6030820152620000a69101604051602081830303815290604052620000719062002273565b62000089605f806200024c60201b620005811760201c565b620000a0605f6200031d60201b620006361760201c565b620003a0565b620000bb6200044160201b620006ae1760201c565b620000d0620004ab60201b620007031760201c565b620000e56200050060201b620007631760201c565b620000fa6200056e60201b620007c01760201c565b60408051600280825260608201909252600091816020015b6060815260200190600190039081620001125790505090506040518060400160405280600b81526020016a76616c7565536368656d6160a81b81525081600081518110620001645762000164620022b1565b6020026020010181905250604051806040016040528060098152602001686b6579536368656d6160b81b81525081600181518110620001a757620001a7620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b603082015281518082039093018352810190526200024990620001f79062002273565b60405180604001604052806006815260200165736368656d6160d01b8152508360405160200162000229919062002380565b604051602081830303815290604052620005b860201b620008161760201c565b50565b604080516002808252606082018352600092839291906020830190803683370190505090508381600081518110620002885762000288620022b1565b602002602001019060c5811115620002a457620002a462002395565b908160c5811115620002ba57620002ba62002395565b815250508281600181518110620002d557620002d5620022b1565b602002602001019060c5811115620002f157620002f162002395565b908160c581111562000307576200030762002395565b905250620003158162000674565b949350505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110620003595762000359620022b1565b602002602001019060c581111562000375576200037562002395565b908160c58111156200038b576200038b62002395565b905250620003998162000674565b9392505050565b620003bb6000836200085660201b620008ce1790919060201c565b620003d66001826200085660201b620008ce1790919060201c565b620003e18362000a51565b15620004245782620003fe8462000a8560201b62000aa91760201c565b60405163051eeee360e21b81526004016200041b929190620023ab565b60405180910390fd5b6200043c83838362000ab160201b62000ad41760201c565b505050565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b6030820152620004a99101604051602081830303815290604052620004849062002273565b6200048e62000c55565b6200049862000ce4565b62000d2160201b62000c261760201c565b565b60408051676d756473746f726560c01b60208201526c53746f72654d6574616461746160981b6030820152620004a99101604051602081830303815290604052620004f69062002273565b6200048e62000db0565b6000806200050d62000e3b565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b60308201529294509092506200056a91015b604051602081830303815290604052620005579062002273565b838362000ed760201b62000cc11760201c565b5050565b6000806200057b62000f28565b60408051676d756473746f726560c01b60208201526c53746f72654d6574616461746160981b60308201529294509092506200056a91016200053d565b6000620005c6838362001026565b60408051600180825281830190925291925060009190602080830190803683370190505090508481600081518110620006035762000603620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b818401526c53746f72654d6574616461746160981b603082015281518082039093018352810190526200066d906200065a9062002273565b82846200111260201b62000d191760201c565b5050505050565b6000601c82511115620006a0578151604051635318beb960e01b81526004016200041b91815260200190565b60008060008060005b8651811015620007b3576000620006fb888381518110620006ce57620006ce620022b1565b602002602001015160c5811115620006ea57620006ea62002395565b6200116360201b62000d711760201c565b905061ffff8116156200073d5782156200072857604051633c795af960e21b815260040160405180910390fd5b836200073481620023dc565b94505062000742565b600192505b6200074e8186620023fe565b9450620007a7866200076284600462002427565b8a8581518110620007775762000777620022b1565b602002602001015160c581111562000793576200079362002395565b60f81b6200122a60201b62000e221760201c565b955050600101620006a9565b506000828751620007c5919062002442565b905060058160ff161115620007f357604051635318beb960e01b815260ff821660048201526024016200041b565b6200080f8560008660f01b6200126060201b62000e581760201c565b94506200082d8560028560f81b6200122a60201b62000e221760201c565b94506200084b8560038360f81b6200122a60201b62000e221760201c565b979650505050505050565b8015801562000876575062000876826200127e60201b62000e8e1760201c565b156200089957604051635318beb960e01b8152600060048201526024016200041b565b6000620008b1836200128260201b62000e921760201c565b60ff1690506005811115620008dd57604051635318beb960e01b8152600481018290526024016200041b565b6000620008f584620012a560201b62000ea31760201c565b60ff169050601c62000908838362002427565b111562000938576200091b828262002427565b604051635318beb960e01b81526004016200041b91815260200190565b60008060005b6200094a858562002427565b811015620009fe5760006200098662000972838a620012bf60201b62000eaf1790919060201c565b60c5811115620006ea57620006ea62002395565b1115620009c357838110620009ae57604051633c795af960e21b815260040160405180910390fd5b82620009ba8162002468565b935050620009f5565b83811015620009e557604051633c795af960e21b815260040160405180910390fd5b81620009f18162002468565b9250505b6001016200093e565b5082821462000a2457604051635318beb960e01b8152600481018390526024016200041b565b83811462000a4957604051635318beb960e01b8152600481018290526024016200041b565b505050505050565b600062000a7e62000a6d83620012fb60201b62000edb1760201c565b6200127e60201b62000e8e1760201c565b1592915050565b60608160405160200162000a9b91815260200190565b6040516020818303038152906040529050919050565b60408051600180825281830190925260009160208083019080368337019050509050838160008151811062000aea5762000aea620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b6030820152815180820390930183528101905260009062000b449062000b3d9062002273565b83620013b4565b905062000b728162000b6186620013fb60201b62000f601760201c565b620013fe60201b62000b701760201c565b62000b9962000b8382600162002427565b62000b6185620013fb60201b62000f601760201c565b60408051676d756473746f726560c01b602082015265736368656d6160d01b603082015260008051602062005991833981519152910160405160208183030381529060405262000be99062002273565b8362000c0087620013fb60201b62000f601760201c565b62000c1687620013fb60201b62000f601760201c565b60408051602081019390935282015260600160408051601f198184030181529082905262000c46939291620024c1565b60405180910390a15050505050565b6040805160018082528183019092526000918291906020808301908036833701905050905060c38160008151811062000c925762000c92620022b1565b602002602001019060c581111562000cae5762000cae62002395565b908160c581111562000cc45762000cc462002395565b8152505062000cde816200067460201b62000f631760201c565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050605f8160008151811062000c925762000c92620022b1565b62000d2b62001402565b1562000d49576200043c838383620003a060201b620011b11760201c565b604051636ac99b4360e11b8152600481018490526024810183905260448101829052339063d5933686906064015b600060405180830381600087803b15801562000d9257600080fd5b505af115801562000da7573d6000803e3d6000fd5b50505050505050565b6040805160028082526060820183526000928392919060208301908036833701905050905060c58160008151811062000ded5762000ded620022b1565b602002602001019060c581111562000e095762000e0962002395565b908160c581111562000e1f5762000e1f62002395565b8152505060c48160018151811062000c925762000c92620022b1565b6040805160018082528183019092526060918291600091816020015b606081526020019060019003908162000e575790505090506040518060400160405280600581526020016476616c756560d81b8152508160008151811062000ea35762000ea3620022b1565b60200260200101819052508060405180604001604052806005815260200164486f6f6b7360d81b8152509092509250509091565b62000ee162001402565b1562000eff576200043c8383836200147760201b6200121e1760201c565b60405163fe86a89f60e01b8152339063fe86a89f9062000d7790869086908690600401620024fa565b60408051600280825260608281019093528291600091816020015b606081526020019060019003908162000f43579050509050604051806040016040528060098152602001687461626c654e616d6560b81b8152508160008151811062000f935762000f93620022b1565b60200260200101819052506040518060400160405280601481526020017f616269456e636f6465644669656c644e616d65730000000000000000000000008152508160018151811062000fea5762000fea620022b1565b6020026020010181905250806040518060400160405280600d81526020016c53746f72654d6574616461746160981b8152509092509250509091565b60408051600280825260608083018452926000929190602083019080368337019050509050835181600081518110620010635762001063620022b1565b602002602001019064ffffffffff16908164ffffffffff1681525050825181600181518110620010975762001097620022b1565b602002602001019064ffffffffff16908164ffffffffff16815250506000620010cb826200151060201b620012ae1760201c565b9050620010e381620013fb60201b62000f601760201c565b8585604051602001620010f99392919062002529565b6040516020818303038152906040529250505092915050565b6200111c62001402565b156200113a576200043c838383620015cc60201b6200138b1760201c565b604051638ed41f2f60e01b81523390638ed41f2f9062000d7790869086908690600401620024c1565b6000808260c58111156200117b576200117b62002395565b60ff169050602081101562001197576200039981600162002427565b6040811015620011bc576020620011b082600162002427565b6200039991906200256a565b6060811015620011d5576040620011b082600162002427565b60608360c5811115620011ec57620011ec62002395565b03620011fb5750600192915050565b60618360c581111562001212576200121262002395565b03620012215750601492915050565b50600092915050565b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c6001600160f01b031990911c198416179392505050565b1590565b60006200129c8260036200185a60201b62000ec01760201c565b60f81c92915050565b60006200129c8260026200185a60201b62000ec01760201c565b6000620012e483620012d384600462002427565b6200185a60201b62000ec01760201c565b60f81c60c581111562000399576200039962002395565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110620013375762001337620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b603082015281518082039093018352810190526000906200139c906200138a9062002273565b83620013b460201b6200156c1760201c565b905062000315816200186160201b620015c21760201c565b6000600080516020620059718339815191528383604051602001620013dc9392919062002584565b60408051601f1981840301815291905280516020909101209392505050565b90565b9055565b6000303b8082036200141657600191505090565b306001600160a01b031663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b1580156200145057600080fd5b505afa92505050801562001462575060015b6200146f57600091505090565b600191505090565b6000620014848462001865565b9050815160001480620014af5750620014a881620018d460201b620015c61760201c565b60ff168251145b620014f157620014ca81620018d460201b620015c61760201c565b825160405163f2b2755960e01b815260ff909216600483015260248201526044016200041b565b6200150a84848460405160200162000229919062002380565b50505050565b6000806000805b8451811015620015af57620015718362001533836005620025a5565b6200154090600762002427565b878481518110620015555762001555620022b1565b602002602001015160d81b620018fe60201b620015e41760201c565b9250848181518110620015885762001588620022b1565b602002602001015164ffffffffff1682620015a49190620025c7565b915060010162001517565b50620003158260008360c81b6200191c60201b6200161a1760201c565b6000620015d98462001865565b9050600080620015f583856200193a60201b620016501760201c565b91509150600080516020620059918339815191528686866040516200161d93929190620024c1565b60405180910390a160006200163d87620019ff60201b620016ee1760201c565b905060005b8151811015620016ea576000828281518110620016635762001663620022b1565b60200260200101519050806001600160a01b03166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016200169f93929190620024c1565b600060405180830381600087803b158015620016ba57600080fd5b505af1158015620016cf573d6000803e3d6000fd5b50505050508080620016e19062002468565b91505062001642565b506000620017048888620013b460201b6200156c1760201c565b905060006200171e8762001ad360201b620017961760201c565b90506200173a826000838862001ad960201b6200179c1760201c565b6200174785602062002427565b62001753908262002427565b90506200176b866200128260201b62000e921760201c565b60ff166000036200178157505050505050505050565b60006200179a8a8a62001bc160201b6200185a1760201c565b9050620017b78162000b6187620013fb60201b62000f601760201c565b60008060005b620017d38a6200128260201b62000e921760201c565b60ff168160ff1610156200184b57620017f98d8d8362001be960201b620018911760201c565b9250620018188160ff168962001c3360201b620018ea1790919060201c565b915062001834836000878562001ad960201b6200179c1760201c565b62001840828662002427565b9450600101620017bd565b50505050505050505050505050565b6008021b90565b5490565b60006200187d82620012fb60201b62000edb1760201c565b905062001895816200127e60201b62000e8e1760201c565b15620018cf5781620018b28362000a8560201b62000aa91760201c565b60405163d623a70d60e01b81526004016200041b929190620023ab565b919050565b6000620018e18262001282565b620018ec83620012a5565b620018f89190620025ec565b92915050565b6008820281811c6001600160d81b031990911c198416179392505050565b6008820281811c6001600160c81b031990911c198416179392505050565b600080620019538462001c7460201b6200191c1760201c565b91506000829050600062001972866200128260201b62000e921760201c565b60ff161115620019c75762001993848462001c7a60201b620019221760201c565b9150620019ab8262001c8260201b6200192a1760201c565b620019b890602062002427565b620019c4908262002427565b90505b83518114620019f757835160405163521b3d3360e01b81526200041b918391600401918252602082015260400190565b509250929050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811062001a3c5762001a3c620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015264486f6f6b7360d81b6030820152815180820390930183528101905260009062001aa29062001a8e9062002273565b83600062001c8860201b620019301760201c565b90506200031562001ac2826000845162001d2b60201b620019d61760201c565b62001da160201b62001a661760201c565b60200190565b60208304840193506020838162001af45762001af462002614565b069250821562001b62576000836020039050600062001b1e8362001dbf60201b62001a771760201c565b90506008850281811c91508451811c905081198754168282161787555081831162001b4b5750506200150a565b62001b5860018762002427565b9550509182019190035b6020811062001b8f578151845562001b7c60018562002427565b935060209190910190601f190162001b62565b80156200150a57600062001bae8262001dbf60201b62001a771760201c565b8554845182169119161785555050505050565b6000600080516020620059718339815191528383604051602001620013dc939291906200262a565b60006000805160206200597183398151915284848460405160200162001c13949392919062002675565b60408051601f198184030181529190528051602090910120949350505050565b60008062001c43836005620025a5565b62001c5090600762002427565b905062001c6984826200185a60201b62000ec01760201c565b60d81c949350505050565b60f01c90565b016020015190565b60c81c90565b606062001c9462001402565b1562001cba5762001cb284848462001dcc60201b62001a841760201c565b905062000399565b60405163340fb6e360e21b8152339063d03edb8c9062001ce390879087908790600401620026aa565b600060405180830381865afa15801562001d01573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001cb29190810190620026d8565b600081831115801562001d3f575083518211155b62001d65578383836040516323230fa360e01b81526004016200041b9392919062002785565b6020840162001d75848262002427565b9050600062001d8585856200256a565b6001600160801b031660809290921b9190911795945050505050565b6060600062000399836014600062001df460201b62001a9f1760201c565b60001960089091021c1990565b6060600062001ddb8562001865565b905062001deb8585858462001f3f565b95945050505050565b6060600062001e0e8562001f9f60201b62001be21760201c565b9050600062001e288662001fa560201b62001be81760201c565b905060008462001e535762001e3f866008620025a5565b62001e4d906101006200256a565b62001e56565b60005b9050600086838162001e6c5762001e6c62002614565b04905062001e7b8784620027ac565b1562001ef05760405162461bcd60e51b815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a6500000060648201526084016200041b565b602080820201604051955080860160405250808552600060208601855b8383101562001f31578051851c825260019290920191602090910190890162001f0d565b505050505050509392505050565b606062001f5782620012a560201b62000ea31760201c565b60ff168360ff16101562001f865762001f7e8585858562001fb160201b62001bfd1760201c565b905062000315565b62001f7e858585856200203660201b62001c5d1760201c565b60801c90565b6001600160801b031690565b6060600062001fd28460ff1684620012bf60201b62000eaf1790919060201c565b9050600062001fef8260c5811115620006ea57620006ea62002395565b9050600062001fff8888620013b4565b905060006200200f8688620020be565b9050620020298284836200211860201b62001cb61760201c565b9998505050505050505050565b606060006200205083620012a560201b62000ea31760201c565b6200205c908562002442565b905060006200206d87878462001be9565b905060006200209960ff8416620020858a8a62002175565b62001c3360201b620018ea1790919060201c565b9050620020b282826200218460201b62001d161760201c565b98975050505050505050565b600080805b8360ff168110156200211057620020ed620009728287620012bf60201b62000eaf1790919060201c565b620020f9908362002427565b915080620021078162002468565b915050620020c3565b509392505050565b6060826001600160401b038111156200213557620021356200229b565b6040519080825280601f01601f19166020018201604052801562002160576020820181803683370190505b50905060208101620021108585858462002194565b6000806200139c848462001bc1565b6060620003998383600062002118565b602082048401935060208281620021af57620021af62002614565b0691508115620022155760008260200390506000620021d98262001dbf60201b62001a771760201c565b90508554600885021b811984511682821617845250818511620021fe5750506200150a565b6200220b60018762002427565b9550509283900392015b602083106200224157835481526200222f60018562002427565b9350601f199092019160200162002215565b82156200150a576000620022608462001dbf60201b62001a771760201c565b8251865482169119161782525050505050565b8051602080830151919081101562002295576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b83811015620022e4578181015183820152602001620022ca565b838111156200150a5750506000910152565b6000815180845262002310816020860160208601620022c7565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b848110156200237357601f1986840301895262002360838351620022f6565b9884019892509083019060010162002341565b5090979650505050505050565b60208152600062000399602083018462002324565b634e487b7160e01b600052602160045260246000fd5b828152604060208201526000620003156040830184620022f6565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8103620023f557620023f5620023c6565b60010192915050565b600061ffff8083168185168083038211156200241e576200241e620023c6565b01949350505050565b600082198211156200243d576200243d620023c6565b500190565b600060ff821660ff8416808210156200245f576200245f620023c6565b90039392505050565b6000600182016200247d576200247d620023c6565b5060010190565b600081518084526020808501945080840160005b83811015620024b65781518752958201959082019060010162002498565b509495945050505050565b838152606060208201526000620024dc606083018562002484565b8281036040840152620024f08185620022f6565b9695505050505050565b838152606060208201526000620025156060830185620022f6565b8281036040840152620024f0818562002324565b8381526000835162002543816020850160208801620022c7565b808301905083516200255d816020840160208801620022c7565b0160200195945050505050565b6000828210156200257f576200257f620023c6565b500390565b83815282602082015260606040820152600062001deb606083018462002484565b6000816000190483118215151615620025c257620025c2620023c6565b500290565b600066ffffffffffffff8083168185168083038211156200241e576200241e620023c6565b600060ff821660ff84168060ff038211156200260c576200260c620023c6565b019392505050565b634e487b7160e01b600052601260045260246000fd5b8381528260208201526080604082015260006200264b608083018462002484565b828103606084015260068152650d8cadccee8d60d31b602082015260408101915050949350505050565b84815283602082015260806040820152600062002696608083018562002484565b905060ff8316606083015295945050505050565b838152606060208201526000620026c5606083018562002484565b905060ff83166040830152949350505050565b600060208284031215620026eb57600080fd5b81516001600160401b03808211156200270357600080fd5b818401915084601f8301126200271857600080fd5b8151818111156200272d576200272d6200229b565b604051601f8201601f19908116603f011681019083821181831017156200275857620027586200229b565b816040528281528760208487010111156200277257600080fd5b6200084b836020830160208801620022c7565b6060815260006200279a6060830186620022f6565b60208301949094525060400152919050565b600082620027ca57634e487b7160e01b600052601260045260246000fd5b500690565b61319280620027df6000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c8063a2ea7c6e116100b2578063d03edb8c11610081578063d4285dc211610066578063d4285dc21461022c578063d59336861461023f578063fe86a89f1461024d57600080fd5b8063d03edb8c14610206578063d3a26b061461021957600080fd5b8063a2ea7c6e146101e0578063a5c2f0071461014e578063be83698c146101b1578063cc49db7e146101f357600080fd5b80636e81fd71116101095780638c1f9a54116100ee5780638c1f9a54146101a35780638ed41f2f146101b15780639f1fcf0a146101bf57600080fd5b80636e81fd7114610187578063776d40471461019557600080fd5b80630c1a60001461013b578063114a72661461013b578063419b58fd14610150578063505a181d14610179575b600080fd5b61014e6101493660046126ec565b61025b565b005b61016361015e366004612779565b61028d565b6040516101709190612824565b60405180910390f35b61014e610149366004612837565b61014e610149366004612883565b61014e6101493660046128cc565b61014e610149366004612963565b61014e6101493660046129c9565b6101d26101cd366004612aff565b6102d7565b604051908152602001610170565b6101d26101ee366004612b5e565b6102ed565b610163610201366004612837565b610300565b610163610214366004612b77565b61033f565b610163610227366004612bd5565b610380565b6101d261023a366004612b5e565b61039b565b61014e610149366004612c48565b61014e610149366004612c74565b6040517f64c722f200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60606102ce85858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250879250611d24915050565b95945050505050565b60006102ce85858585611e89565b949350505050565b60006102f882611ef3565b92915050565b565b60606102e584848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611f4892505050565b60606102ce85858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250879250611a84915050565b6060610390878787878787611f62565b979650505050505050565b60006102f882611ff8565b60408051676d756473746f726560c01b602082015265736368656d6160d01b603082015261040191016040516020818303038152906040526103e790612cdd565b6103f2605f80610581565b6103fc605f610636565b6111b1565b6104096106ae565b610411610703565b610419610763565b6104216107c0565b60408051600280825260608201909252600091816020015b60608152602001906001900390816104395790505090506040518060400160405280600b81526020017f76616c7565536368656d610000000000000000000000000000000000000000008152508160008151811061049957610499612d04565b60200260200101819052506040518060400160405280600981526020017f6b6579536368656d610000000000000000000000000000000000000000000000815250816001815181106104ed576104ed612d04565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b6030820152815180820390930183528101905261057e9061053a90612cdd565b60405180604001604052806006815260200165736368656d6160d01b8152508360405160200161056a9190612d6f565b604051602081830303815290604052610816565b50565b6040805160028082526060820183526000928392919060208301908036833701905050905083816000815181106105ba576105ba612d04565b602002602001019060c58111156105d3576105d3612d82565b908160c58111156105e6576105e6612d82565b8152505082816001815181106105fe576105fe612d04565b602002602001019060c581111561061757610617612d82565b908160c581111561062a5761062a612d82565b9052506102e581610f63565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061066f5761066f612d04565b602002602001019060c581111561068857610688612d82565b908160c581111561069b5761069b612d82565b9052506106a781610f63565b9392505050565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b60308201526102fe91016040516020818303038152906040526106ee90612cdd565b6106f661201c565b6106fe612094565b610c26565b60408051676d756473746f726560c01b60208201527f53746f72654d657461646174610000000000000000000000000000000000000060308201526102fe910160405160208183030381529060405261075b90612cdd565b6106f66120ce565b60008061076e61214d565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b60308201529294509092506107bc91015b6040516020818303038152906040526107b590612cdd565b8383610cc1565b5050565b6000806107cb6121fd565b60408051676d756473746f726560c01b60208201527f53746f72654d657461646174610000000000000000000000000000000000000060308201529294509092506107bc910161079d565b60006108228383612318565b6040805160018082528183019092529192506000919060208083019080368337019050509050848160008151811061085c5761085c612d04565b60209081029190910181019190915260408051676d756473746f726560c01b818401527f53746f72654d6574616461746100000000000000000000000000000000000000603082015281518082039093018352810190526108c7906108c090612cdd565b8284610d19565b5050505050565b801580156108da575081155b1561090057604051635318beb960e01b8152600060048201526024015b60405180910390fd5b600061090b83610e92565b60ff169050600581111561093557604051635318beb960e01b8152600481018290526024016108f7565b600061094084610ea3565b60ff169050601c6109518383612dae565b111561097d576109618282612dae565b604051635318beb960e01b81526004016108f791815260200190565b60008060005b61098d8585612dae565b811015610a5a5760006109b96109a38984610eaf565b60c58111156109b4576109b4612d82565b610d71565b1115610a0a578381106109f8576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82610a0281612dc6565b935050610a52565b83811015610a44576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81610a4e81612dc6565b9250505b600101610983565b50828214610a7e57604051635318beb960e01b8152600481018390526024016108f7565b838114610aa157604051635318beb960e01b8152600481018290526024016108f7565b505050505050565b606081604051602001610abe91815260200190565b6040516020818303038152906040529050919050565b604080516001808252818301909252600091602080830190803683370190505090508381600081518110610b0a57610b0a612d04565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b6030830152600091610b6691015b604051602081830303815290604052610b6090612cdd565b8361156c565b8481559050610b74565b9055565b610b87610b82826001612dae565b849055565b60408051676d756473746f726560c01b602082015265736368656d6160d01b60308201527f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee329101604051602081830303815290604052610be690612cdd565b83868660408051602081019390935282015260600160408051601f1981840301815290829052610c17939291612e1b565b60405180910390a15050505050565b610c2e6123da565b15610c4357610c3e8383836111b1565b505050565b6040517fd5933686000000000000000000000000000000000000000000000000000000008152600481018490526024810183905260448101829052339063d5933686906064015b600060405180830381600087803b158015610ca457600080fd5b505af1158015610cb8573d6000803e3d6000fd5b50505050505050565b610cc96123da565b15610cd957610c3e83838361121e565b6040517ffe86a89f000000000000000000000000000000000000000000000000000000008152339063fe86a89f90610c8a90869086908690600401612e50565b610d216123da565b15610d3157610c3e83838361138b565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f90610c8a90869086908690600401612e1b565b6000808260c5811115610d8657610d86612d82565b60ff1690506020811015610d9f576106a7816001612dae565b6040811015610dbf576020610db5826001612dae565b6106a79190612e7b565b6060811015610dd5576040610db5826001612dae565b60608360c5811115610de957610de9612d82565b03610df75750600192915050565b60618360c5811115610e0b57610e0b612d82565b03610e195750601492915050565b50600092915050565b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c7fffff00000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b1590565b6000601882901b5b60f81c92915050565b6000601082901b610e9a565b6000610ec783610ec0846004612dae565b6008021b90565b60f81c60c58111156106a7576106a7612d82565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610f1457610f14612d04565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b6030830152600091610f569101610b48565b90506102e5815490565b90565b6000601c82511115610f8d578151604051635318beb960e01b81526004016108f791815260200190565b60008060008060005b86518110156110b4576000610fcf888381518110610fb657610fb6612d04565b602002602001015160c58111156109b4576109b4612d82565b905061ffff811615611025578215611013576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8361101d81612e92565b94505061102a565b600192505b6110348186612eb1565b94506110a986611045846004612dae565b8a858151811061105757611057612d04565b602002602001015160c581111561107057611070612d82565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101610f96565b5060008287516110c49190612ed7565b905060058160ff1611156110f057604051635318beb960e01b815260ff821660048201526024016108f7565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b1617610390565b6111bc8260006108ce565b6111c78160016108ce565b6111d083612458565b1561121357826111df84610aa9565b6040517f147bbb8c0000000000000000000000000000000000000000000000000000000081526004016108f7929190612efa565b610c3e838383610ad4565b600061122984611ef3565b9050815160001480611246575061123f816115c6565b60ff168251145b61129257611253816115c6565b82516040517ff2b2755900000000000000000000000000000000000000000000000000000000815260ff909216600483015260248201526044016108f7565b6112a884848460405160200161056a9190612d6f565b50505050565b6000806000805b84518110156113635761132b836112cd836005612f13565b6112d8906007612dae565b8784815181106112ea576112ea612d04565b602002602001015160d81b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b925084818151811061133f5761133f612d04565b602002602001015164ffffffffff16826113599190612f32565b91506001016112b5565b5078ffffffffffffffffffffffffffffffffffffffffffffffffff821660c882901b176102e5565b600061139684611ef3565b90506000806113a58385611650565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee328686866040516113dc93929190612e1b565b60405180910390a160006113ef876116ee565b905060005b815181101561149e57600082828151811061141157611411612d04565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166382b6745f8a8a8a6040518463ffffffff1660e01b815260040161145893929190612e1b565b600060405180830381600087803b15801561147257600080fd5b505af1158015611486573d6000803e3d6000fd5b5050505050808061149690612dc6565b9150506113f4565b5060006114ab888861156c565b9050602086016114be826000838861179c565b6114c9856020612dae565b6114d39082612dae565b90506114de86610e92565b60ff166000036114f357505050505050505050565b60006114ff8a8a61185a565b858155905060008060005b6115138a610e92565b60ff168160ff16101561155d5761152b8d8d83611891565b925061153a8860ff83166118ea565b9150611549836000878561179c565b6115538286612dae565b945060010161150a565b50505050505050505050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016115a393929190612f54565b60408051601f1981840301815291905280516020909101209392505050565b5490565b60006115d182610e92565b6115da83610ea3565b6102f89190612f73565b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c7fffffffffffffff0000000000000000000000000000000000000000000000000090911c198416179392505050565b60008061165d8460f01c90565b915081600061166b86610e92565b60ff16111561169f578284016020015191506116878260c81c90565b611692906020612dae565b61169c9082612dae565b90505b835181146116e65783516040517f521b3d330000000000000000000000000000000000000000000000000000000081526108f7918391600401918252602082015260400190565b509250929050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061172857611728612d04565b60209081029190910181019190915260408051676d756473746f726560c01b8184015264486f6f6b7360d81b6030820152815180820390930183528101905260009061177f9061177790612cdd565b836000611930565b90506102e561179182600084516119d6565b611a66565b60200190565b6020830484019350602083816117b4576117b4612f98565b069250821561180d5760208390036000600019600884021c1990506008850281811c91508451811c90508119875416828216178755508183116117f85750506112a8565b611803600187612dae565b9550509182019190035b602081106118365781518455611824600185612dae565b935060209190910190601f190161180d565b80156112a8576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016115a393929190612fae565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98484846040516020016118ca949392919061300e565b60408051601f198184030181529190528051602090910120949350505050565b6000806118f8836005612f13565b611903906007612dae565b905061191184826008021b90565b60d81c949350505050565b60f01c90565b016020015190565b60c81c90565b606061193a6123da565b156119515761194a848484611a84565b90506106a7565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c9061199190879087908790600401613041565b600060405180830381865afa1580156119ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261194a919081019061306d565b60008183111580156119e9575083518211155b611a25578383836040517f23230fa30000000000000000000000000000000000000000000000000000000081526004016108f793929190613101565b60208401611a338482612dae565b90506000611a418585612e7b565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b606060006106a78360146000611a9f565b60001960089091021c1990565b60606000611a9185611ef3565b90506102ce8585858461246d565b60606000611aad8560801c90565b90506fffffffffffffffffffffffffffffffff8516600084611ae557611ad4866008612f13565b611ae090610100612e7b565b611ae8565b60005b90506000868381611afb57611afb612f98565b049050611b088784613126565b15611b95576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a6500000060648201526084016108f7565b602080820201604051955080860160405250808552600060208601855b83831015611bd4578051851c8252600192909201916020909101908901611bb2565b505050505050509392505050565b60801c90565b6fffffffffffffffffffffffffffffffff1690565b60606000611c0e8360ff8616610eaf565b90506000611c278260c58111156109b4576109b4612d82565b90506000611c35888861156c565b90506000611c4386886124a4565b9050611c50828483611cb6565b9998505050505050505050565b60606000611c6a83610ea3565b611c749085612ed7565b90506000611c83878784611891565b90506000611c9e8360ff16611c988a8a6124df565b906118ea565b9050611caa8282611d16565b98975050505050505050565b60608267ffffffffffffffff811115611cd157611cd1612a43565b6040519080825280601f01601f191660200182016040528015611cfb576020820181803683370190505b50905060208101611d0e858585846124ec565b509392505050565b60606106a783836000611cb6565b60606000611d328360f01c90565b905080600080611d4186610e92565b60ff1690508015611d8c57611d5688886124df565b91506000611d648360c81c90565b1115611d8c57611d748260c81c90565b611d7f906020612dae565b611d899084612dae565b92505b60008367ffffffffffffffff811115611da757611da7612a43565b6040519080825280601f01601f191660200182016040528015611dd1576020820181803683370190505b50905060208101611de48a8a88846125a1565b611dee8460c81c90565b600003611e02575094506106a79350505050565b611e0c8682612dae565b8481529050611e1c602082612dae565b905060005b838160ff161015611e7a576000611e398c8c84611891565b90506000611e4a8760ff85166118ea565b9050611e5982826000876124ec565b611e638185612dae565b935050508080611e7290612e92565b915050611e21565b50909998505050505050505050565b600080611e9583610ea3565b90508060ff168460ff161015611ed4576000611eb48460ff8716610eaf565b9050611ecb8160c58111156109b4576109b4612d82565b925050506102e5565b6000611ee08286612ed7565b9050611ecb8160ff16611c9889896124df565b6000611efe82610edb565b905080611f435781611f0f83610aa9565b6040517fd623a70d0000000000000000000000000000000000000000000000000000000081526004016108f7929190612efa565b919050565b60606000611f5584611ef3565b90506102e5848483611d24565b60606000611f6f85610ea3565b9050611f7a85610ea3565b60ff168660ff161015611fb9576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611fc58288612ed7565b90506000611fd48a8a84611891565b9050611fea81611fe48888612e7b565b88611cb6565b9a9950505050505050505050565b6000612003826125c2565b905061200e82612458565b611f435781611f0f83610aa9565b6040805160018082528183019092526000918291906020808301908036833701905050905060c38160008151811061205657612056612d04565b602002602001019060c581111561206f5761206f612d82565b908160c581111561208257612082612d82565b90525061208e81610f63565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050605f8160008151811061205657612056612d04565b6040805160028082526060820183526000928392919060208301908036833701905050905060c58160008151811061210857612108612d04565b602002602001019060c581111561212157612121612d82565b908160c581111561213457612134612d82565b8152505060c48160018151811061205657612056612d04565b6040805160018082528183019092526060918291600091816020015b60608152602001906001900390816121695790505090506040518060400160405280600581526020017f76616c7565000000000000000000000000000000000000000000000000000000815250816000815181106121c9576121c9612d04565b60200260200101819052508060405180604001604052806005815260200164486f6f6b7360d81b8152509092509250509091565b60408051600280825260608281019093528291600091816020015b60608152602001906001900390816122185790505090506040518060400160405280600981526020017f7461626c654e616d6500000000000000000000000000000000000000000000008152508160008151811061227857612278612d04565b60200260200101819052506040518060400160405280601481526020017f616269456e636f6465644669656c644e616d6573000000000000000000000000815250816001815181106122cc576122cc612d04565b6020026020010181905250806040518060400160405280600d81526020017f53746f72654d65746164617461000000000000000000000000000000000000008152509092509250509091565b6040805160028082526060808301845292600092919060208301908036833701905050905083518160008151811061235257612352612d04565b602002602001019064ffffffffff16908164ffffffffff168152505082518160018151811061238357612383612d04565b602002602001019064ffffffffff16908164ffffffffff168152505060006123aa826112ae565b90508085856040516020016123c193929190613148565b6040516020818303038152906040529250505092915050565b6000303b8082036123ed57600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561243357600080fd5b505afa925050508015612444575060015b61245057600091505090565b600191505090565b6000612466610e8e83610edb565b1592915050565b606061247882610ea3565b60ff168360ff1610156124985761249185858585611bfd565b90506102e5565b61249185858585611c5d565b600080805b8360ff16811015611d0e576124c16109a38683610eaf565b6124cb9083612dae565b9150806124d781612dc6565b9150506124a9565b600080610f56848461185a565b60208204840193506020828161250457612504612f98565b06915081156125555760208290036000600019600883021c1990508554600885021b8119845116828216178452508185116125405750506112a8565b61254b600187612dae565b9550509283900392015b6020831061257d578354815261256c600185612dae565b9350601f1990920191602001612555565b82156112a8576000600019600885021c198251865482169119161782525050505050565b81156112a85760006125b3858561156c565b90506108c781846000856124ec565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106125fb576125fb612d04565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b603083015260009161263d9101610b48565b90506102e56115c2826001612dae565b60008083601f84011261265f57600080fd5b50813567ffffffffffffffff81111561267757600080fd5b6020830191508360208260051b850101111561269257600080fd5b9250929050565b803560ff81168114611f4357600080fd5b60008083601f8401126126bc57600080fd5b50813567ffffffffffffffff8111156126d457600080fd5b60208301915083602082850101111561269257600080fd5b6000806000806000806080878903121561270557600080fd5b86359550602087013567ffffffffffffffff8082111561272457600080fd5b6127308a838b0161264d565b909750955085915061274460408a01612699565b9450606089013591508082111561275a57600080fd5b5061276789828a016126aa565b979a9699509497509295939492505050565b6000806000806060858703121561278f57600080fd5b84359350602085013567ffffffffffffffff8111156127ad57600080fd5b6127b98782880161264d565b9598909750949560400135949350505050565b60005b838110156127e75781810151838201526020016127cf565b838111156112a85750506000910152565b600081518084526128108160208601602086016127cc565b601f01601f19169290920160200192915050565b6020815260006106a760208301846127f8565b60008060006040848603121561284c57600080fd5b83359250602084013567ffffffffffffffff81111561286a57600080fd5b6128768682870161264d565b9497909650939450505050565b6000806040838503121561289657600080fd5b82359150602083013573ffffffffffffffffffffffffffffffffffffffff811681146128c157600080fd5b809150509250929050565b600080600080600080600060a0888a0312156128e757600080fd5b87359650602088013567ffffffffffffffff8082111561290657600080fd5b6129128b838c0161264d565b909850965086915061292660408b01612699565b955060608a0135945060808a013591508082111561294357600080fd5b506129508a828b016126aa565b989b979a50959850939692959293505050565b60008060008060006080868803121561297b57600080fd5b85359450602086013567ffffffffffffffff81111561299957600080fd5b6129a58882890161264d565b90955093506129b8905060408701612699565b949793965091946060013592915050565b6000806000806000606086880312156129e157600080fd5b85359450602086013567ffffffffffffffff80821115612a0057600080fd5b612a0c89838a0161264d565b90965094506040880135915080821115612a2557600080fd5b50612a32888289016126aa565b969995985093965092949392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612a8257612a82612a43565b604052919050565b600082601f830112612a9b57600080fd5b8135602067ffffffffffffffff821115612ab757612ab7612a43565b8160051b612ac6828201612a59565b9283528481018201928281019087851115612ae057600080fd5b83870192505b8483101561039057823582529183019190830190612ae6565b60008060008060808587031215612b1557600080fd5b84359350602085013567ffffffffffffffff811115612b3357600080fd5b612b3f87828801612a8a565b935050612b4e60408601612699565b9396929550929360600135925050565b600060208284031215612b7057600080fd5b5035919050565b60008060008060608587031215612b8d57600080fd5b84359350602085013567ffffffffffffffff811115612bab57600080fd5b612bb78782880161264d565b9094509250612bca905060408601612699565b905092959194509250565b60008060008060008060c08789031215612bee57600080fd5b86359550602087013567ffffffffffffffff811115612c0c57600080fd5b612c1889828a01612a8a565b955050612c2760408801612699565b9350606087013592506080870135915060a087013590509295509295509295565b600080600060608486031215612c5d57600080fd5b505081359360208301359350604090920135919050565b600080600080600060608688031215612c8c57600080fd5b85359450602086013567ffffffffffffffff80821115612cab57600080fd5b612cb789838a016126aa565b90965094506040880135915080821115612cd057600080fd5b50612a328882890161264d565b80516020808301519190811015612cfe576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501808196508360051b8101915082860160005b85811015612d62578284038952612d508483516127f8565b98850198935090840190600101612d38565b5091979650505050505050565b6020815260006106a76020830184612d1a565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115612dc157612dc1612d98565b500190565b60006000198203612dd957612dd9612d98565b5060010190565b600081518084526020808501945080840160005b83811015612e1057815187529582019590820190600101612df4565b509495945050505050565b838152606060208201526000612e346060830185612de0565b8281036040840152612e4681856127f8565b9695505050505050565b838152606060208201526000612e6960608301856127f8565b8281036040840152612e468185612d1a565b600082821015612e8d57612e8d612d98565b500390565b600060ff821660ff8103612ea857612ea8612d98565b60010192915050565b600061ffff808316818516808303821115612ece57612ece612d98565b01949350505050565b600060ff821660ff841680821015612ef157612ef1612d98565b90039392505050565b8281526040602082015260006102e560408301846127f8565b6000816000190483118215151615612f2d57612f2d612d98565b500290565b600066ffffffffffffff808316818516808303821115612ece57612ece612d98565b8381528260208201526060604082015260006102ce6060830184612de0565b600060ff821660ff84168060ff03821115612f9057612f90612d98565b019392505050565b634e487b7160e01b600052601260045260246000fd5b838152826020820152608060408201526000612fcd6080830184612de0565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b84815283602082015260806040820152600061302d6080830185612de0565b905060ff8316606083015295945050505050565b83815260606020820152600061305a6060830185612de0565b905060ff83166040830152949350505050565b60006020828403121561307f57600080fd5b815167ffffffffffffffff8082111561309757600080fd5b818401915084601f8301126130ab57600080fd5b8151818111156130bd576130bd612a43565b6130d06020601f19601f84011601612a59565b91508082528560208285010111156130e757600080fd5b6130f88160208401602086016127cc565b50949350505050565b60608152600061311460608301866127f8565b60208301949094525060400152919050565b60008261314357634e487b7160e01b600052601260045260246000fd5b500690565b838152600083516131608160208501602088016127cc565b808301905083516131788160208401602088016127cc565b016020019594505050505056fea164736f6c634300080d000a86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee32"; - -type StoreReadWithStubsConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreReadWithStubsConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreReadWithStubs__factory extends ContractFactory { - constructor(...args: StoreReadWithStubsConstructorParams) { - 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): StoreReadWithStubs { - return super.attach(address) as StoreReadWithStubs; - } - override connect(signer: Signer): StoreReadWithStubs__factory { - return super.connect(signer) as StoreReadWithStubs__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreReadWithStubsInterface { - return new utils.Interface(_abi) as StoreReadWithStubsInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreReadWithStubs { - return new Contract(address, _abi, signerOrProvider) as StoreReadWithStubs; - } -} diff --git a/packages/store/types/ethers-contracts/factories/StoreRead__factory.ts b/packages/store/types/ethers-contracts/factories/StoreRead__factory.ts deleted file mode 100644 index afd0e1a7a0..0000000000 --- a/packages/store/types/ethers-contracts/factories/StoreRead__factory.ts +++ /dev/null @@ -1,376 +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 { StoreRead, StoreReadInterface } from "../StoreRead"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60806040523480156200001157600080fd5b50620000276200002d60201b620002511760201c565b620027cf565b60408051676d756473746f726560c01b602082015265736368656d6160d01b6030820152620000a69101604051602081830303815290604052620000719062002273565b62000089605f806200024c60201b6200042c1760201c565b620000a0605f6200031d60201b620004e11760201c565b620003a0565b620000bb6200044160201b620005591760201c565b620000d0620004ab60201b620005ae1760201c565b620000e56200050060201b6200060e1760201c565b620000fa6200056e60201b6200066b1760201c565b60408051600280825260608201909252600091816020015b6060815260200190600190039081620001125790505090506040518060400160405280600b81526020016a76616c7565536368656d6160a81b81525081600081518110620001645762000164620022b1565b6020026020010181905250604051806040016040528060098152602001686b6579536368656d6160b81b81525081600181518110620001a757620001a7620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b603082015281518082039093018352810190526200024990620001f79062002273565b60405180604001604052806006815260200165736368656d6160d01b8152508360405160200162000229919062002380565b604051602081830303815290604052620005b860201b620006c11760201c565b50565b604080516002808252606082018352600092839291906020830190803683370190505090508381600081518110620002885762000288620022b1565b602002602001019060c5811115620002a457620002a462002395565b908160c5811115620002ba57620002ba62002395565b815250508281600181518110620002d557620002d5620022b1565b602002602001019060c5811115620002f157620002f162002395565b908160c581111562000307576200030762002395565b905250620003158162000674565b949350505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110620003595762000359620022b1565b602002602001019060c581111562000375576200037562002395565b908160c58111156200038b576200038b62002395565b905250620003998162000674565b9392505050565b620003bb6000836200085660201b620007791790919060201c565b620003d66001826200085660201b620007791790919060201c565b620003e18362000a51565b15620004245782620003fe8462000a8560201b620009541760201c565b60405163051eeee360e21b81526004016200041b929190620023ab565b60405180910390fd5b6200043c83838362000ab160201b6200097f1760201c565b505050565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b6030820152620004a99101604051602081830303815290604052620004849062002273565b6200048e62000c55565b6200049862000ce4565b62000d2160201b62000ad11760201c565b565b60408051676d756473746f726560c01b60208201526c53746f72654d6574616461746160981b6030820152620004a99101604051602081830303815290604052620004f69062002273565b6200048e62000db0565b6000806200050d62000e3b565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b60308201529294509092506200056a91015b604051602081830303815290604052620005579062002273565b838362000ed760201b62000b6c1760201c565b5050565b6000806200057b62000f28565b60408051676d756473746f726560c01b60208201526c53746f72654d6574616461746160981b60308201529294509092506200056a91016200053d565b6000620005c6838362001026565b60408051600180825281830190925291925060009190602080830190803683370190505090508481600081518110620006035762000603620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b818401526c53746f72654d6574616461746160981b603082015281518082039093018352810190526200066d906200065a9062002273565b82846200111260201b62000bc41760201c565b5050505050565b6000601c82511115620006a0578151604051635318beb960e01b81526004016200041b91815260200190565b60008060008060005b8651811015620007b3576000620006fb888381518110620006ce57620006ce620022b1565b602002602001015160c5811115620006ea57620006ea62002395565b6200116360201b62000c1c1760201c565b905061ffff8116156200073d5782156200072857604051633c795af960e21b815260040160405180910390fd5b836200073481620023dc565b94505062000742565b600192505b6200074e8186620023fe565b9450620007a7866200076284600462002427565b8a8581518110620007775762000777620022b1565b602002602001015160c581111562000793576200079362002395565b60f81b6200122a60201b62000ccd1760201c565b955050600101620006a9565b506000828751620007c5919062002442565b905060058160ff161115620007f357604051635318beb960e01b815260ff821660048201526024016200041b565b6200080f8560008660f01b6200126060201b62000d031760201c565b94506200082d8560028560f81b6200122a60201b62000ccd1760201c565b94506200084b8560038360f81b6200122a60201b62000ccd1760201c565b979650505050505050565b8015801562000876575062000876826200127e60201b62000d391760201c565b156200089957604051635318beb960e01b8152600060048201526024016200041b565b6000620008b1836200128260201b62000d3d1760201c565b60ff1690506005811115620008dd57604051635318beb960e01b8152600481018290526024016200041b565b6000620008f584620012a560201b62000d4e1760201c565b60ff169050601c62000908838362002427565b111562000938576200091b828262002427565b604051635318beb960e01b81526004016200041b91815260200190565b60008060005b6200094a858562002427565b811015620009fe5760006200098662000972838a620012bf60201b62000d5a1790919060201c565b60c5811115620006ea57620006ea62002395565b1115620009c357838110620009ae57604051633c795af960e21b815260040160405180910390fd5b82620009ba8162002468565b935050620009f5565b83811015620009e557604051633c795af960e21b815260040160405180910390fd5b81620009f18162002468565b9250505b6001016200093e565b5082821462000a2457604051635318beb960e01b8152600481018390526024016200041b565b83811462000a4957604051635318beb960e01b8152600481018290526024016200041b565b505050505050565b600062000a7e62000a6d83620012fb60201b62000d861760201c565b6200127e60201b62000d391760201c565b1592915050565b60608160405160200162000a9b91815260200190565b6040516020818303038152906040529050919050565b60408051600180825281830190925260009160208083019080368337019050509050838160008151811062000aea5762000aea620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b6030820152815180820390930183528101905260009062000b449062000b3d9062002273565b83620013b4565b905062000b728162000b6186620013fb60201b62000e0b1760201c565b620013fe60201b62000a1b1760201c565b62000b9962000b8382600162002427565b62000b6185620013fb60201b62000e0b1760201c565b60408051676d756473746f726560c01b602082015265736368656d6160d01b603082015260008051602062005515833981519152910160405160208183030381529060405262000be99062002273565b8362000c0087620013fb60201b62000e0b1760201c565b62000c1687620013fb60201b62000e0b1760201c565b60408051602081019390935282015260600160408051601f198184030181529082905262000c46939291620024c1565b60405180910390a15050505050565b6040805160018082528183019092526000918291906020808301908036833701905050905060c38160008151811062000c925762000c92620022b1565b602002602001019060c581111562000cae5762000cae62002395565b908160c581111562000cc45762000cc462002395565b8152505062000cde816200067460201b62000e0e1760201c565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050605f8160008151811062000c925762000c92620022b1565b62000d2b62001402565b1562000d49576200043c838383620003a060201b6200105c1760201c565b604051636ac99b4360e11b8152600481018490526024810183905260448101829052339063d5933686906064015b600060405180830381600087803b15801562000d9257600080fd5b505af115801562000da7573d6000803e3d6000fd5b50505050505050565b6040805160028082526060820183526000928392919060208301908036833701905050905060c58160008151811062000ded5762000ded620022b1565b602002602001019060c581111562000e095762000e0962002395565b908160c581111562000e1f5762000e1f62002395565b8152505060c48160018151811062000c925762000c92620022b1565b6040805160018082528183019092526060918291600091816020015b606081526020019060019003908162000e575790505090506040518060400160405280600581526020016476616c756560d81b8152508160008151811062000ea35762000ea3620022b1565b60200260200101819052508060405180604001604052806005815260200164486f6f6b7360d81b8152509092509250509091565b62000ee162001402565b1562000eff576200043c8383836200147760201b620010c91760201c565b60405163fe86a89f60e01b8152339063fe86a89f9062000d7790869086908690600401620024fa565b60408051600280825260608281019093528291600091816020015b606081526020019060019003908162000f43579050509050604051806040016040528060098152602001687461626c654e616d6560b81b8152508160008151811062000f935762000f93620022b1565b60200260200101819052506040518060400160405280601481526020017f616269456e636f6465644669656c644e616d65730000000000000000000000008152508160018151811062000fea5762000fea620022b1565b6020026020010181905250806040518060400160405280600d81526020016c53746f72654d6574616461746160981b8152509092509250509091565b60408051600280825260608083018452926000929190602083019080368337019050509050835181600081518110620010635762001063620022b1565b602002602001019064ffffffffff16908164ffffffffff1681525050825181600181518110620010975762001097620022b1565b602002602001019064ffffffffff16908164ffffffffff16815250506000620010cb826200151060201b620011591760201c565b9050620010e381620013fb60201b62000e0b1760201c565b8585604051602001620010f99392919062002529565b6040516020818303038152906040529250505092915050565b6200111c62001402565b156200113a576200043c838383620015cc60201b620012361760201c565b604051638ed41f2f60e01b81523390638ed41f2f9062000d7790869086908690600401620024c1565b6000808260c58111156200117b576200117b62002395565b60ff169050602081101562001197576200039981600162002427565b6040811015620011bc576020620011b082600162002427565b6200039991906200256a565b6060811015620011d5576040620011b082600162002427565b60608360c5811115620011ec57620011ec62002395565b03620011fb5750600192915050565b60618360c581111562001212576200121262002395565b03620012215750601492915050565b50600092915050565b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c6001600160f01b031990911c198416179392505050565b1590565b60006200129c8260036200185a60201b62000d6b1760201c565b60f81c92915050565b60006200129c8260026200185a60201b62000d6b1760201c565b6000620012e483620012d384600462002427565b6200185a60201b62000d6b1760201c565b60f81c60c581111562000399576200039962002395565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110620013375762001337620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b603082015281518082039093018352810190526000906200139c906200138a9062002273565b83620013b460201b620014171760201c565b905062000315816200186160201b6200146d1760201c565b6000600080516020620054f58339815191528383604051602001620013dc9392919062002584565b60408051601f1981840301815291905280516020909101209392505050565b90565b9055565b6000303b8082036200141657600191505090565b306001600160a01b031663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b1580156200145057600080fd5b505afa92505050801562001462575060015b6200146f57600091505090565b600191505090565b6000620014848462001865565b9050815160001480620014af5750620014a881620018d460201b620014711760201c565b60ff168251145b620014f157620014ca81620018d460201b620014711760201c565b825160405163f2b2755960e01b815260ff909216600483015260248201526044016200041b565b6200150a84848460405160200162000229919062002380565b50505050565b6000806000805b8451811015620015af57620015718362001533836005620025a5565b6200154090600762002427565b878481518110620015555762001555620022b1565b602002602001015160d81b620018fe60201b6200148f1760201c565b9250848181518110620015885762001588620022b1565b602002602001015164ffffffffff1682620015a49190620025c7565b915060010162001517565b50620003158260008360c81b6200191c60201b620014c51760201c565b6000620015d98462001865565b9050600080620015f583856200193a60201b620014fb1760201c565b91509150600080516020620055158339815191528686866040516200161d93929190620024c1565b60405180910390a160006200163d87620019ff60201b620015991760201c565b905060005b8151811015620016ea576000828281518110620016635762001663620022b1565b60200260200101519050806001600160a01b03166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016200169f93929190620024c1565b600060405180830381600087803b158015620016ba57600080fd5b505af1158015620016cf573d6000803e3d6000fd5b50505050508080620016e19062002468565b91505062001642565b506000620017048888620013b460201b620014171760201c565b905060006200171e8762001ad360201b620016411760201c565b90506200173a826000838862001ad960201b620016471760201c565b6200174785602062002427565b62001753908262002427565b90506200176b866200128260201b62000d3d1760201c565b60ff166000036200178157505050505050505050565b60006200179a8a8a62001bc160201b620017051760201c565b9050620017b78162000b6187620013fb60201b62000e0b1760201c565b60008060005b620017d38a6200128260201b62000d3d1760201c565b60ff168160ff1610156200184b57620017f98d8d8362001be960201b6200173c1760201c565b9250620018188160ff168962001c3360201b620017951790919060201c565b915062001834836000878562001ad960201b620016471760201c565b62001840828662002427565b9450600101620017bd565b50505050505050505050505050565b6008021b90565b5490565b60006200187d82620012fb60201b62000d861760201c565b905062001895816200127e60201b62000d391760201c565b15620018cf5781620018b28362000a8560201b620009541760201c565b60405163d623a70d60e01b81526004016200041b929190620023ab565b919050565b6000620018e18262001282565b620018ec83620012a5565b620018f89190620025ec565b92915050565b6008820281811c6001600160d81b031990911c198416179392505050565b6008820281811c6001600160c81b031990911c198416179392505050565b600080620019538462001c7460201b620017c71760201c565b91506000829050600062001972866200128260201b62000d3d1760201c565b60ff161115620019c75762001993848462001c7a60201b620017cd1760201c565b9150620019ab8262001c8260201b620017d51760201c565b620019b890602062002427565b620019c4908262002427565b90505b83518114620019f757835160405163521b3d3360e01b81526200041b918391600401918252602082015260400190565b509250929050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811062001a3c5762001a3c620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015264486f6f6b7360d81b6030820152815180820390930183528101905260009062001aa29062001a8e9062002273565b83600062001c8860201b620017db1760201c565b90506200031562001ac2826000845162001d2b60201b620018811760201c565b62001da160201b620019111760201c565b60200190565b60208304840193506020838162001af45762001af462002614565b069250821562001b62576000836020039050600062001b1e8362001dbf60201b620019221760201c565b90506008850281811c91508451811c905081198754168282161787555081831162001b4b5750506200150a565b62001b5860018762002427565b9550509182019190035b6020811062001b8f578151845562001b7c60018562002427565b935060209190910190601f190162001b62565b80156200150a57600062001bae8262001dbf60201b620019221760201c565b8554845182169119161785555050505050565b6000600080516020620054f58339815191528383604051602001620013dc939291906200262a565b6000600080516020620054f583398151915284848460405160200162001c13949392919062002675565b60408051601f198184030181529190528051602090910120949350505050565b60008062001c43836005620025a5565b62001c5090600762002427565b905062001c6984826200185a60201b62000d6b1760201c565b60d81c949350505050565b60f01c90565b016020015190565b60c81c90565b606062001c9462001402565b1562001cba5762001cb284848462001dcc60201b6200192f1760201c565b905062000399565b60405163340fb6e360e21b8152339063d03edb8c9062001ce390879087908790600401620026aa565b600060405180830381865afa15801562001d01573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001cb29190810190620026d8565b600081831115801562001d3f575083518211155b62001d65578383836040516323230fa360e01b81526004016200041b9392919062002785565b6020840162001d75848262002427565b9050600062001d8585856200256a565b6001600160801b031660809290921b9190911795945050505050565b6060600062000399836014600062001df460201b6200194a1760201c565b60001960089091021c1990565b6060600062001ddb8562001865565b905062001deb8585858462001f3f565b95945050505050565b6060600062001e0e8562001f9f60201b62001a8d1760201c565b9050600062001e288662001fa560201b62001a931760201c565b905060008462001e535762001e3f866008620025a5565b62001e4d906101006200256a565b62001e56565b60005b9050600086838162001e6c5762001e6c62002614565b04905062001e7b8784620027ac565b1562001ef05760405162461bcd60e51b815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a6500000060648201526084016200041b565b602080820201604051955080860160405250808552600060208601855b8383101562001f31578051851c825260019290920191602090910190890162001f0d565b505050505050509392505050565b606062001f5782620012a560201b62000d4e1760201c565b60ff168360ff16101562001f865762001f7e8585858562001fb160201b62001aa81760201c565b905062000315565b62001f7e858585856200203660201b62001b081760201c565b60801c90565b6001600160801b031690565b6060600062001fd28460ff1684620012bf60201b62000d5a1790919060201c565b9050600062001fef8260c5811115620006ea57620006ea62002395565b9050600062001fff8888620013b4565b905060006200200f8688620020be565b9050620020298284836200211860201b62001b611760201c565b9998505050505050505050565b606060006200205083620012a560201b62000d4e1760201c565b6200205c908562002442565b905060006200206d87878462001be9565b905060006200209960ff8416620020858a8a62002175565b62001c3360201b620017951790919060201c565b9050620020b282826200218460201b62001bc11760201c565b98975050505050505050565b600080805b8360ff168110156200211057620020ed620009728287620012bf60201b62000d5a1790919060201c565b620020f9908362002427565b915080620021078162002468565b915050620020c3565b509392505050565b6060826001600160401b038111156200213557620021356200229b565b6040519080825280601f01601f19166020018201604052801562002160576020820181803683370190505b50905060208101620021108585858462002194565b6000806200139c848462001bc1565b6060620003998383600062002118565b602082048401935060208281620021af57620021af62002614565b0691508115620022155760008260200390506000620021d98262001dbf60201b620019221760201c565b90508554600885021b811984511682821617845250818511620021fe5750506200150a565b6200220b60018762002427565b9550509283900392015b602083106200224157835481526200222f60018562002427565b9350601f199092019160200162002215565b82156200150a576000620022608462001dbf60201b620019221760201c565b8251865482169119161782525050505050565b8051602080830151919081101562002295576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b83811015620022e4578181015183820152602001620022ca565b838111156200150a5750506000910152565b6000815180845262002310816020860160208601620022c7565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b848110156200237357601f1986840301895262002360838351620022f6565b9884019892509083019060010162002341565b5090979650505050505050565b60208152600062000399602083018462002324565b634e487b7160e01b600052602160045260246000fd5b828152604060208201526000620003156040830184620022f6565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8103620023f557620023f5620023c6565b60010192915050565b600061ffff8083168185168083038211156200241e576200241e620023c6565b01949350505050565b600082198211156200243d576200243d620023c6565b500190565b600060ff821660ff8416808210156200245f576200245f620023c6565b90039392505050565b6000600182016200247d576200247d620023c6565b5060010190565b600081518084526020808501945080840160005b83811015620024b65781518752958201959082019060010162002498565b509495945050505050565b838152606060208201526000620024dc606083018562002484565b8281036040840152620024f08185620022f6565b9695505050505050565b838152606060208201526000620025156060830185620022f6565b8281036040840152620024f0818562002324565b8381526000835162002543816020850160208801620022c7565b808301905083516200255d816020840160208801620022c7565b0160200195945050505050565b6000828210156200257f576200257f620023c6565b500390565b83815282602082015260606040820152600062001deb606083018462002484565b6000816000190483118215151615620025c257620025c2620023c6565b500290565b600066ffffffffffffff8083168185168083038211156200241e576200241e620023c6565b600060ff821660ff84168060ff038211156200260c576200260c620023c6565b019392505050565b634e487b7160e01b600052601260045260246000fd5b8381528260208201526080604082015260006200264b608083018462002484565b828103606084015260068152650d8cadccee8d60d31b602082015260408101915050949350505050565b84815283602082015260806040820152600062002696608083018562002484565b905060ff8316606083015295945050505050565b838152606060208201526000620026c5606083018562002484565b905060ff83166040830152949350505050565b600060208284031215620026eb57600080fd5b81516001600160401b03808211156200270357600080fd5b818401915084601f8301126200271857600080fd5b8151818111156200272d576200272d6200229b565b604051601f8201601f19908116603f011681019083821181831017156200275857620027586200229b565b816040528281528760208487010111156200277257600080fd5b6200084b836020830160208801620022c7565b6060815260006200279a6060830186620022f6565b60208301949094525060400152919050565b600082620027ca57634e487b7160e01b600052601260045260246000fd5b500690565b612d1680620027df6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063cc49db7e1161005b578063cc49db7e146100ec578063d03edb8c146100ff578063d3a26b0614610112578063d4285dc21461012557600080fd5b8063419b58fd1461008d5780639f1fcf0a146100b6578063a2ea7c6e146100d7578063a5c2f007146100ea575b600080fd5b6100a061009b366004612544565b610138565b6040516100ad91906125ef565b60405180910390f35b6100c96100c43660046126cf565b610182565b6040519081526020016100ad565b6100c96100e536600461272e565b610198565b005b6100a06100fa366004612747565b6101ab565b6100a061010d366004612793565b6101ea565b6100a06101203660046127f1565b61022b565b6100c961013336600461272e565b610246565b606061017985858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250879250611bcf915050565b95945050505050565b600061017985858585611d34565b949350505050565b60006101a382611d9e565b92915050565b565b606061019084848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611df392505050565b60606101798585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525087925061192f915050565b606061023b878787878787611e0d565b979650505050505050565b60006101a382611ea3565b60408051676d756473746f726560c01b602082015265736368656d6160d01b60308201526102ac910160405160208183030381529060405261029290612864565b61029d605f8061042c565b6102a7605f6104e1565b61105c565b6102b4610559565b6102bc6105ae565b6102c461060e565b6102cc61066b565b60408051600280825260608201909252600091816020015b60608152602001906001900390816102e45790505090506040518060400160405280600b81526020017f76616c7565536368656d61000000000000000000000000000000000000000000815250816000815181106103445761034461288b565b60200260200101819052506040518060400160405280600981526020017f6b6579536368656d610000000000000000000000000000000000000000000000815250816001815181106103985761039861288b565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b60308201528151808203909301835281019052610429906103e590612864565b60405180604001604052806006815260200165736368656d6160d01b8152508360405160200161041591906128f3565b6040516020818303038152906040526106c1565b50565b6040805160028082526060820183526000928392919060208301908036833701905050905083816000815181106104655761046561288b565b602002602001019060c581111561047e5761047e612906565b908160c581111561049157610491612906565b8152505082816001815181106104a9576104a961288b565b602002602001019060c58111156104c2576104c2612906565b908160c58111156104d5576104d5612906565b90525061019081610e0e565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061051a5761051a61288b565b602002602001019060c581111561053357610533612906565b908160c581111561054657610546612906565b90525061055281610e0e565b9392505050565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b60308201526101a9910160405160208183030381529060405261059990612864565b6105a1611ec7565b6105a9611f3f565b610ad1565b60408051676d756473746f726560c01b60208201527f53746f72654d657461646174610000000000000000000000000000000000000060308201526101a9910160405160208183030381529060405261060690612864565b6105a1611f79565b600080610619611ff8565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b603082015292945090925061066791015b60405160208183030381529060405261066090612864565b8383610b6c565b5050565b6000806106766120a8565b60408051676d756473746f726560c01b60208201527f53746f72654d657461646174610000000000000000000000000000000000000060308201529294509092506106679101610648565b60006106cd83836121c3565b604080516001808252818301909252919250600091906020808301908036833701905050905084816000815181106107075761070761288b565b60209081029190910181019190915260408051676d756473746f726560c01b818401527f53746f72654d6574616461746100000000000000000000000000000000000000603082015281518082039093018352810190526107729061076b90612864565b8284610bc4565b5050505050565b80158015610785575081155b156107ab57604051635318beb960e01b8152600060048201526024015b60405180910390fd5b60006107b683610d3d565b60ff16905060058111156107e057604051635318beb960e01b8152600481018290526024016107a2565b60006107eb84610d4e565b60ff169050601c6107fc8383612932565b11156108285761080c8282612932565b604051635318beb960e01b81526004016107a291815260200190565b60008060005b6108388585612932565b81101561090557600061086461084e8984610d5a565b60c581111561085f5761085f612906565b610c1c565b11156108b5578381106108a3576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826108ad8161294a565b9350506108fd565b838110156108ef576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816108f98161294a565b9250505b60010161082e565b5082821461092957604051635318beb960e01b8152600481018390526024016107a2565b83811461094c57604051635318beb960e01b8152600481018290526024016107a2565b505050505050565b60608160405160200161096991815260200190565b6040516020818303038152906040529050919050565b6040805160018082528183019092526000916020808301908036833701905050905083816000815181106109b5576109b561288b565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b6030830152600091610a1191015b604051602081830303815290604052610a0b90612864565b83611417565b8481559050610a1f565b9055565b610a32610a2d826001612932565b849055565b60408051676d756473746f726560c01b602082015265736368656d6160d01b60308201527f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee329101604051602081830303815290604052610a9190612864565b83868660408051602081019390935282015260600160408051601f1981840301815290829052610ac293929161299f565b60405180910390a15050505050565b610ad9612285565b15610aee57610ae983838361105c565b505050565b6040517fd5933686000000000000000000000000000000000000000000000000000000008152600481018490526024810183905260448101829052339063d5933686906064015b600060405180830381600087803b158015610b4f57600080fd5b505af1158015610b63573d6000803e3d6000fd5b50505050505050565b610b74612285565b15610b8457610ae98383836110c9565b6040517ffe86a89f000000000000000000000000000000000000000000000000000000008152339063fe86a89f90610b35908690869086906004016129d4565b610bcc612285565b15610bdc57610ae9838383611236565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f90610b359086908690869060040161299f565b6000808260c5811115610c3157610c31612906565b60ff1690506020811015610c4a57610552816001612932565b6040811015610c6a576020610c60826001612932565b61055291906129ff565b6060811015610c80576040610c60826001612932565b60608360c5811115610c9457610c94612906565b03610ca25750600192915050565b60618360c5811115610cb657610cb6612906565b03610cc45750601492915050565b50600092915050565b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c7fffff00000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b1590565b6000601882901b5b60f81c92915050565b6000601082901b610d45565b6000610d7283610d6b846004612932565b6008021b90565b60f81c60c581111561055257610552612906565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610dbf57610dbf61288b565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b6030830152600091610e0191016109f3565b9050610190815490565b90565b6000601c82511115610e38578151604051635318beb960e01b81526004016107a291815260200190565b60008060008060005b8651811015610f5f576000610e7a888381518110610e6157610e6161288b565b602002602001015160c581111561085f5761085f612906565b905061ffff811615610ed0578215610ebe576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83610ec881612a16565b945050610ed5565b600192505b610edf8186612a35565b9450610f5486610ef0846004612932565b8a8581518110610f0257610f0261288b565b602002602001015160c5811115610f1b57610f1b612906565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101610e41565b506000828751610f6f9190612a5b565b905060058160ff161115610f9b57604051635318beb960e01b815260ff821660048201526024016107a2565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b161761023b565b611067826000610779565b611072816001610779565b61107b83612303565b156110be578261108a84610954565b6040517f147bbb8c0000000000000000000000000000000000000000000000000000000081526004016107a2929190612a7e565b610ae983838361097f565b60006110d484611d9e565b90508151600014806110f157506110ea81611471565b60ff168251145b61113d576110fe81611471565b82516040517ff2b2755900000000000000000000000000000000000000000000000000000000815260ff909216600483015260248201526044016107a2565b61115384848460405160200161041591906128f3565b50505050565b6000806000805b845181101561120e576111d683611178836005612a97565b611183906007612932565b8784815181106111955761119561288b565b602002602001015160d81b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b92508481815181106111ea576111ea61288b565b602002602001015164ffffffffff16826112049190612ab6565b9150600101611160565b5078ffffffffffffffffffffffffffffffffffffffffffffffffff821660c882901b17610190565b600061124184611d9e565b905060008061125083856114fb565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee328686866040516112879392919061299f565b60405180910390a1600061129a87611599565b905060005b81518110156113495760008282815181106112bc576112bc61288b565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016113039392919061299f565b600060405180830381600087803b15801561131d57600080fd5b505af1158015611331573d6000803e3d6000fd5b505050505080806113419061294a565b91505061129f565b5060006113568888611417565b9050602086016113698260008388611647565b611374856020612932565b61137e9082612932565b905061138986610d3d565b60ff1660000361139e57505050505050505050565b60006113aa8a8a611705565b858155905060008060005b6113be8a610d3d565b60ff168160ff161015611408576113d68d8d8361173c565b92506113e58860ff8316611795565b91506113f48360008785611647565b6113fe8286612932565b94506001016113b5565b50505050505050505050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9838360405160200161144e93929190612ad8565b60408051601f1981840301815291905280516020909101209392505050565b5490565b600061147c82610d3d565b61148583610d4e565b6101a39190612af7565b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c7fffffffffffffff0000000000000000000000000000000000000000000000000090911c198416179392505050565b6000806115088460f01c90565b915081600061151686610d3d565b60ff16111561154a578284016020015191506115328260c81c90565b61153d906020612932565b6115479082612932565b90505b835181146115915783516040517f521b3d330000000000000000000000000000000000000000000000000000000081526107a2918391600401918252602082015260400190565b509250929050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106115d3576115d361288b565b60209081029190910181019190915260408051676d756473746f726560c01b8184015264486f6f6b7360d81b6030820152815180820390930183528101905260009061162a9061162290612864565b8360006117db565b905061019061163c8260008451611881565b611911565b60200190565b60208304840193506020838161165f5761165f612b1c565b06925082156116b85760208390036000600019600884021c1990506008850281811c91508451811c90508119875416828216178755508183116116a3575050611153565b6116ae600187612932565b9550509182019190035b602081106116e157815184556116cf600185612932565b935060209190910190601f19016116b8565b8015611153576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9838360405160200161144e93929190612b32565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98484846040516020016117759493929190612b92565b60408051601f198184030181529190528051602090910120949350505050565b6000806117a3836005612a97565b6117ae906007612932565b90506117bc84826008021b90565b60d81c949350505050565b60f01c90565b016020015190565b60c81c90565b60606117e5612285565b156117fc576117f584848461192f565b9050610552565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c9061183c90879087908790600401612bc5565b600060405180830381865afa158015611859573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117f59190810190612bf1565b6000818311158015611894575083518211155b6118d0578383836040517f23230fa30000000000000000000000000000000000000000000000000000000081526004016107a293929190612c85565b602084016118de8482612932565b905060006118ec85856129ff565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b60606000610552836014600061194a565b60001960089091021c1990565b6060600061193c85611d9e565b905061017985858584612318565b606060006119588560801c90565b90506fffffffffffffffffffffffffffffffff85166000846119905761197f866008612a97565b61198b906101006129ff565b611993565b60005b905060008683816119a6576119a6612b1c565b0490506119b38784612caa565b15611a40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a6500000060648201526084016107a2565b602080820201604051955080860160405250808552600060208601855b83831015611a7f578051851c8252600192909201916020909101908901611a5d565b505050505050509392505050565b60801c90565b6fffffffffffffffffffffffffffffffff1690565b60606000611ab98360ff8616610d5a565b90506000611ad28260c581111561085f5761085f612906565b90506000611ae08888611417565b90506000611aee868861234f565b9050611afb828483611b61565b9998505050505050505050565b60606000611b1583610d4e565b611b1f9085612a5b565b90506000611b2e87878461173c565b90506000611b498360ff16611b438a8a61238a565b90611795565b9050611b558282611bc1565b98975050505050505050565b60608267ffffffffffffffff811115611b7c57611b7c612602565b6040519080825280601f01601f191660200182016040528015611ba6576020820181803683370190505b50905060208101611bb985858584612397565b509392505050565b606061055283836000611b61565b60606000611bdd8360f01c90565b905080600080611bec86610d3d565b60ff1690508015611c3757611c01888861238a565b91506000611c0f8360c81c90565b1115611c3757611c1f8260c81c90565b611c2a906020612932565b611c349084612932565b92505b60008367ffffffffffffffff811115611c5257611c52612602565b6040519080825280601f01601f191660200182016040528015611c7c576020820181803683370190505b50905060208101611c8f8a8a888461244c565b611c998460c81c90565b600003611cad575094506105529350505050565b611cb78682612932565b8481529050611cc7602082612932565b905060005b838160ff161015611d25576000611ce48c8c8461173c565b90506000611cf58760ff8516611795565b9050611d048282600087612397565b611d0e8185612932565b935050508080611d1d90612a16565b915050611ccc565b50909998505050505050505050565b600080611d4083610d4e565b90508060ff168460ff161015611d7f576000611d5f8460ff8716610d5a565b9050611d768160c581111561085f5761085f612906565b92505050610190565b6000611d8b8286612a5b565b9050611d768160ff16611b43898961238a565b6000611da982610d86565b905080611dee5781611dba83610954565b6040517fd623a70d0000000000000000000000000000000000000000000000000000000081526004016107a2929190612a7e565b919050565b60606000611e0084611d9e565b9050610190848483611bcf565b60606000611e1a85610d4e565b9050611e2585610d4e565b60ff168660ff161015611e64576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e708288612a5b565b90506000611e7f8a8a8461173c565b9050611e9581611e8f88886129ff565b88611b61565b9a9950505050505050505050565b6000611eae8261246d565b9050611eb982612303565b611dee5781611dba83610954565b6040805160018082528183019092526000918291906020808301908036833701905050905060c381600081518110611f0157611f0161288b565b602002602001019060c5811115611f1a57611f1a612906565b908160c5811115611f2d57611f2d612906565b905250611f3981610e0e565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050605f81600081518110611f0157611f0161288b565b6040805160028082526060820183526000928392919060208301908036833701905050905060c581600081518110611fb357611fb361288b565b602002602001019060c5811115611fcc57611fcc612906565b908160c5811115611fdf57611fdf612906565b8152505060c481600181518110611f0157611f0161288b565b6040805160018082528183019092526060918291600091816020015b60608152602001906001900390816120145790505090506040518060400160405280600581526020017f76616c7565000000000000000000000000000000000000000000000000000000815250816000815181106120745761207461288b565b60200260200101819052508060405180604001604052806005815260200164486f6f6b7360d81b8152509092509250509091565b60408051600280825260608281019093528291600091816020015b60608152602001906001900390816120c35790505090506040518060400160405280600981526020017f7461626c654e616d650000000000000000000000000000000000000000000000815250816000815181106121235761212361288b565b60200260200101819052506040518060400160405280601481526020017f616269456e636f6465644669656c644e616d6573000000000000000000000000815250816001815181106121775761217761288b565b6020026020010181905250806040518060400160405280600d81526020017f53746f72654d65746164617461000000000000000000000000000000000000008152509092509250509091565b604080516002808252606080830184529260009291906020830190803683370190505090508351816000815181106121fd576121fd61288b565b602002602001019064ffffffffff16908164ffffffffff168152505082518160018151811061222e5761222e61288b565b602002602001019064ffffffffff16908164ffffffffff1681525050600061225582611159565b905080858560405160200161226c93929190612ccc565b6040516020818303038152906040529250505092915050565b6000303b80820361229857600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b1580156122de57600080fd5b505afa9250505080156122ef575060015b6122fb57600091505090565b600191505090565b6000612311610d3983610d86565b1592915050565b606061232382610d4e565b60ff168360ff1610156123435761233c85858585611aa8565b9050610190565b61233c85858585611b08565b600080805b8360ff16811015611bb95761236c61084e8683610d5a565b6123769083612932565b9150806123828161294a565b915050612354565b600080610e018484611705565b6020820484019350602082816123af576123af612b1c565b06915081156124005760208290036000600019600883021c1990508554600885021b8119845116828216178452508185116123eb575050611153565b6123f6600187612932565b9550509283900392015b602083106124285783548152612417600185612932565b9350601f1990920191602001612400565b8215611153576000600019600885021c198251865482169119161782525050505050565b811561115357600061245e8585611417565b90506107728184600085612397565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106124a6576124a661288b565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b60308301526000916124e891016109f3565b905061019061146d826001612932565b60008083601f84011261250a57600080fd5b50813567ffffffffffffffff81111561252257600080fd5b6020830191508360208260051b850101111561253d57600080fd5b9250929050565b6000806000806060858703121561255a57600080fd5b84359350602085013567ffffffffffffffff81111561257857600080fd5b612584878288016124f8565b9598909750949560400135949350505050565b60005b838110156125b257818101518382015260200161259a565b838111156111535750506000910152565b600081518084526125db816020860160208601612597565b601f01601f19169290920160200192915050565b60208152600061055260208301846125c3565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561264157612641612602565b604052919050565b600082601f83011261265a57600080fd5b8135602067ffffffffffffffff82111561267657612676612602565b8160051b612685828201612618565b928352848101820192828101908785111561269f57600080fd5b83870192505b8483101561023b578235825291830191908301906126a5565b803560ff81168114611dee57600080fd5b600080600080608085870312156126e557600080fd5b84359350602085013567ffffffffffffffff81111561270357600080fd5b61270f87828801612649565b93505061271e604086016126be565b9396929550929360600135925050565b60006020828403121561274057600080fd5b5035919050565b60008060006040848603121561275c57600080fd5b83359250602084013567ffffffffffffffff81111561277a57600080fd5b612786868287016124f8565b9497909650939450505050565b600080600080606085870312156127a957600080fd5b84359350602085013567ffffffffffffffff8111156127c757600080fd5b6127d3878288016124f8565b90945092506127e69050604086016126be565b905092959194509250565b60008060008060008060c0878903121561280a57600080fd5b86359550602087013567ffffffffffffffff81111561282857600080fd5b61283489828a01612649565b955050612843604088016126be565b9350606087013592506080870135915060a087013590509295509295509295565b80516020808301519190811015612885576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052603260045260246000fd5b6000815180845260208085019450848260051b860182860160005b858110156128e65783830389526128d48383516125c3565b988501989250908401906001016128bc565b5090979650505050505050565b60208152600061055260208301846128a1565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156129455761294561291c565b500190565b6000600019820361295d5761295d61291c565b5060010190565b600081518084526020808501945080840160005b8381101561299457815187529582019590820190600101612978565b509495945050505050565b8381526060602082015260006129b86060830185612964565b82810360408401526129ca81856125c3565b9695505050505050565b8381526060602082015260006129ed60608301856125c3565b82810360408401526129ca81856128a1565b600082821015612a1157612a1161291c565b500390565b600060ff821660ff8103612a2c57612a2c61291c565b60010192915050565b600061ffff808316818516808303821115612a5257612a5261291c565b01949350505050565b600060ff821660ff841680821015612a7557612a7561291c565b90039392505050565b82815260406020820152600061019060408301846125c3565b6000816000190483118215151615612ab157612ab161291c565b500290565b600066ffffffffffffff808316818516808303821115612a5257612a5261291c565b8381528260208201526060604082015260006101796060830184612964565b600060ff821660ff84168060ff03821115612b1457612b1461291c565b019392505050565b634e487b7160e01b600052601260045260246000fd5b838152826020820152608060408201526000612b516080830184612964565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b848152836020820152608060408201526000612bb16080830185612964565b905060ff8316606083015295945050505050565b838152606060208201526000612bde6060830185612964565b905060ff83166040830152949350505050565b600060208284031215612c0357600080fd5b815167ffffffffffffffff80821115612c1b57600080fd5b818401915084601f830112612c2f57600080fd5b815181811115612c4157612c41612602565b612c546020601f19601f84011601612618565b9150808252856020828501011115612c6b57600080fd5b612c7c816020840160208601612597565b50949350505050565b606081526000612c9860608301866125c3565b60208301949094525060400152919050565b600082612cc757634e487b7160e01b600052601260045260246000fd5b500690565b83815260008351612ce4816020850160208801612597565b80830190508351612cfc816020840160208801612597565b016020019594505050505056fea164736f6c634300080d000a86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee32"; - -type StoreReadConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreReadConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreRead__factory extends ContractFactory { - constructor(...args: StoreReadConstructorParams) { - 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): StoreRead { - return super.attach(address) as StoreRead; - } - override connect(signer: Signer): StoreRead__factory { - return super.connect(signer) as StoreRead__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreReadInterface { - return new utils.Interface(_abi) as StoreReadInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreRead { - return new Contract(address, _abi, signerOrProvider) as StoreRead; - } -} diff --git a/packages/store/types/ethers-contracts/factories/StoreSwitch__factory.ts b/packages/store/types/ethers-contracts/factories/StoreSwitch__factory.ts deleted file mode 100644 index aa07cb8832..0000000000 --- a/packages/store/types/ethers-contracts/factories/StoreSwitch__factory.ts +++ /dev/null @@ -1,65 +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 { StoreSwitch, StoreSwitchInterface } from "../StoreSwitch"; - -const _abi = [ - { - inputs: [], - name: "StoreSwitch_InvalidInsideConstructor", - type: "error", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type StoreSwitchConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreSwitchConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreSwitch__factory extends ContractFactory { - constructor(...args: StoreSwitchConstructorParams) { - 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): StoreSwitch { - return super.attach(address) as StoreSwitch; - } - override connect(signer: Signer): StoreSwitch__factory { - return super.connect(signer) as StoreSwitch__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreSwitchInterface { - return new utils.Interface(_abi) as StoreSwitchInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreSwitch { - return new Contract(address, _abi, signerOrProvider) as StoreSwitch; - } -} diff --git a/packages/store/types/ethers-contracts/factories/index.ts b/packages/store/types/ethers-contracts/factories/index.ts deleted file mode 100644 index 6347f52947..0000000000 --- a/packages/store/types/ethers-contracts/factories/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as iStoreSol from "./IStore.sol"; -export * as schemaSol from "./Schema.sol"; -export * as sliceSol from "./Slice.sol"; -export { IStoreErrors__factory } from "./IStoreErrors__factory"; -export { StoreCore__factory } from "./StoreCore__factory"; -export { StoreMock__factory } from "./StoreMock__factory"; -export { StoreRead__factory } from "./StoreRead__factory"; -export { StoreReadWithStubs__factory } from "./StoreReadWithStubs__factory"; -export { StoreSwitch__factory } from "./StoreSwitch__factory"; diff --git a/packages/store/types/ethers-contracts/index.ts b/packages/store/types/ethers-contracts/index.ts deleted file mode 100644 index 53854eef05..0000000000 --- a/packages/store/types/ethers-contracts/index.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as iStoreSol from "./IStore.sol"; -export type { iStoreSol }; -import type * as schemaSol from "./Schema.sol"; -export type { schemaSol }; -import type * as sliceSol from "./Slice.sol"; -export type { sliceSol }; -export type { IStoreErrors } from "./IStoreErrors"; -export type { StoreCore } from "./StoreCore"; -export type { StoreMock } from "./StoreMock"; -export type { StoreRead } from "./StoreRead"; -export type { StoreReadWithStubs } from "./StoreReadWithStubs"; -export type { StoreSwitch } from "./StoreSwitch"; -export * as factories from "./factories"; -export type { IStore } from "./IStore.sol/IStore"; -export { IStore__factory } from "./factories/IStore.sol/IStore__factory"; -export type { IStoreData } from "./IStore.sol/IStoreData"; -export { IStoreData__factory } from "./factories/IStore.sol/IStoreData__factory"; -export type { IStoreEphemeral } from "./IStore.sol/IStoreEphemeral"; -export { IStoreEphemeral__factory } from "./factories/IStore.sol/IStoreEphemeral__factory"; -export type { IStoreHook } from "./IStore.sol/IStoreHook"; -export { IStoreHook__factory } from "./factories/IStore.sol/IStoreHook__factory"; -export type { IStoreRead } from "./IStore.sol/IStoreRead"; -export { IStoreRead__factory } from "./factories/IStore.sol/IStoreRead__factory"; -export type { IStoreRegistration } from "./IStore.sol/IStoreRegistration"; -export { IStoreRegistration__factory } from "./factories/IStore.sol/IStoreRegistration__factory"; -export type { IStoreWrite } from "./IStore.sol/IStoreWrite"; -export { IStoreWrite__factory } from "./factories/IStore.sol/IStoreWrite__factory"; -export { IStoreErrors__factory } from "./factories/IStoreErrors__factory"; -export type { SchemaLib } from "./Schema.sol/SchemaLib"; -export { SchemaLib__factory } from "./factories/Schema.sol/SchemaLib__factory"; -export type { SliceLib } from "./Slice.sol/SliceLib"; -export { SliceLib__factory } from "./factories/Slice.sol/SliceLib__factory"; -export { StoreCore__factory } from "./factories/StoreCore__factory"; -export { StoreMock__factory } from "./factories/StoreMock__factory"; -export { StoreRead__factory } from "./factories/StoreRead__factory"; -export { StoreReadWithStubs__factory } from "./factories/StoreReadWithStubs__factory"; -export { StoreSwitch__factory } from "./factories/StoreSwitch__factory"; diff --git a/packages/world/.gitignore b/packages/world/.gitignore index dff3cffa0f..9275a56b74 100644 --- a/packages/world/.gitignore +++ b/packages/world/.gitignore @@ -7,6 +7,7 @@ artifacts yarn-error.log API dist +types/ethers-contracts # only check in ABIs abi/**/*.json diff --git a/packages/world/types/ethers-contracts/AccessManagementSystem.ts b/packages/world/types/ethers-contracts/AccessManagementSystem.ts deleted file mode 100644 index cb5eafcc1a..0000000000 --- a/packages/world/types/ethers-contracts/AccessManagementSystem.ts +++ /dev/null @@ -1,169 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface AccessManagementSystemInterface extends utils.Interface { - functions: { - "grantAccess(bytes16,bytes16,address)": FunctionFragment; - "revokeAccess(bytes16,bytes16,address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "grantAccess" | "revokeAccess" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "grantAccess", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revokeAccess", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "grantAccess", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "revokeAccess", - data: BytesLike - ): Result; - - events: {}; -} - -export interface AccessManagementSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: AccessManagementSystemInterface; - - 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: { - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/CoreModule.ts b/packages/world/types/ethers-contracts/CoreModule.ts deleted file mode 100644 index b3d7249fca..0000000000 --- a/packages/world/types/ethers-contracts/CoreModule.ts +++ /dev/null @@ -1,115 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface CoreModuleInterface extends utils.Interface { - functions: { - "getName()": FunctionFragment; - "install(bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "getName" | "install"): FunctionFragment; - - encodeFunctionData(functionFragment: "getName", values?: undefined): string; - encodeFunctionData( - functionFragment: "install", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "getName", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "install", data: BytesLike): Result; - - events: {}; -} - -export interface CoreModule extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: CoreModuleInterface; - - 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: { - getName(overrides?: CallOverrides): Promise<[string]>; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/CoreSystem.ts b/packages/world/types/ethers-contracts/CoreSystem.ts deleted file mode 100644 index f3bf941bce..0000000000 --- a/packages/world/types/ethers-contracts/CoreSystem.ts +++ /dev/null @@ -1,942 +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 CoreSystemInterface extends utils.Interface { - functions: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)": FunctionFragment; - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "grantAccess(bytes16,bytes16,address)": FunctionFragment; - "installModule(address,bytes)": FunctionFragment; - "registerFunctionSelector(bytes16,bytes16,string,string)": FunctionFragment; - "registerHook(bytes16,bytes16,address)": FunctionFragment; - "registerNamespace(bytes16)": FunctionFragment; - "registerRootFunctionSelector(bytes16,bytes16,bytes4,bytes4)": FunctionFragment; - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "registerSystem(bytes16,bytes16,address,bool)": FunctionFragment; - "registerSystemHook(bytes16,bytes16,address)": FunctionFragment; - "registerTable(bytes16,bytes16,bytes32,bytes32)": FunctionFragment; - "registerTableHook(bytes16,bytes16,address)": FunctionFragment; - "revokeAccess(bytes16,bytes16,address)": FunctionFragment; - "setMetadata(bytes16,bytes16,string,string[])": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)" - | "emitEphemeralRecord(bytes32,bytes32[],bytes)" - | "grantAccess" - | "installModule" - | "registerFunctionSelector" - | "registerHook" - | "registerNamespace" - | "registerRootFunctionSelector" - | "registerSchema" - | "registerStoreHook" - | "registerSystem" - | "registerSystemHook" - | "registerTable" - | "registerTableHook" - | "revokeAccess" - | "setMetadata(bytes16,bytes16,string,string[])" - | "setMetadata(bytes32,string,string[])" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "emitEphemeralRecord(bytes32,bytes32[],bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "grantAccess", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "installModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "registerFunctionSelector", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerNamespace", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "registerRootFunctionSelector", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "registerSystem", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSystemHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerTable", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerTableHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revokeAccess", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata(bytes16,bytes16,string,string[])", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata(bytes32,string,string[])", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - - decodeFunctionResult( - functionFragment: "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "emitEphemeralRecord(bytes32,bytes32[],bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "grantAccess", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "installModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerFunctionSelector", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerNamespace", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerRootFunctionSelector", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSystem", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSystemHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerTable", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerTableHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "revokeAccess", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata(bytes16,bytes16,string,string[])", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata(bytes32,string,string[])", - data: BytesLike - ): Result; - - events: { - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; -} - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface CoreSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: CoreSystemInterface; - - 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: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes16,bytes16,string,string[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes32,string,string[])"( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes16,bytes16,string,string[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes32,string,string[])"( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setMetadata(bytes16,bytes16,string,string[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - "setMetadata(bytes32,string,string[])"( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - }; - - estimateGas: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes16,bytes16,string,string[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes32,string,string[])"( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes16,bytes16,string,string[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes32,string,string[])"( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/EphemeralRecordSystem.ts b/packages/world/types/ethers-contracts/EphemeralRecordSystem.ts deleted file mode 100644 index 05a37114f8..0000000000 --- a/packages/world/types/ethers-contracts/EphemeralRecordSystem.ts +++ /dev/null @@ -1,209 +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 EphemeralRecordSystemInterface extends utils.Interface { - functions: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)": FunctionFragment; - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)" - | "emitEphemeralRecord(bytes32,bytes32[],bytes)" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "emitEphemeralRecord(bytes32,bytes32[],bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "emitEphemeralRecord(bytes32,bytes32[],bytes)", - data: BytesLike - ): Result; - - events: { - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; -} - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface EphemeralRecordSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: EphemeralRecordSystemInterface; - - 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: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - }; - - estimateGas: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IAccessManagementSystem.ts b/packages/world/types/ethers-contracts/IAccessManagementSystem.ts deleted file mode 100644 index fd033da41f..0000000000 --- a/packages/world/types/ethers-contracts/IAccessManagementSystem.ts +++ /dev/null @@ -1,169 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface IAccessManagementSystemInterface extends utils.Interface { - functions: { - "grantAccess(bytes16,bytes16,address)": FunctionFragment; - "revokeAccess(bytes16,bytes16,address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "grantAccess" | "revokeAccess" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "grantAccess", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revokeAccess", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "grantAccess", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "revokeAccess", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IAccessManagementSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IAccessManagementSystemInterface; - - 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: { - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IBaseWorld.ts b/packages/world/types/ethers-contracts/IBaseWorld.ts deleted file mode 100644 index c2287d013e..0000000000 --- a/packages/world/types/ethers-contracts/IBaseWorld.ts +++ /dev/null @@ -1,2120 +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 IBaseWorldInterface extends utils.Interface { - functions: { - "call(bytes16,bytes16,bytes)": FunctionFragment; - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "deleteRecord(bytes16,bytes16,bytes32[])": FunctionFragment; - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)": FunctionFragment; - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "grantAccess(bytes16,bytes16,address)": FunctionFragment; - "installModule(address,bytes)": FunctionFragment; - "installRootModule(address,bytes)": FunctionFragment; - "isStore()": FunctionFragment; - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)": FunctionFragment; - "registerFunctionSelector(bytes16,bytes16,string,string)": FunctionFragment; - "registerHook(bytes16,bytes16,address)": FunctionFragment; - "registerNamespace(bytes16)": FunctionFragment; - "registerRootFunctionSelector(bytes16,bytes16,bytes4,bytes4)": FunctionFragment; - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "registerSystem(bytes16,bytes16,address,bool)": FunctionFragment; - "registerSystemHook(bytes16,bytes16,address)": FunctionFragment; - "registerTable(bytes16,bytes16,bytes32,bytes32)": FunctionFragment; - "registerTableHook(bytes16,bytes16,address)": FunctionFragment; - "revokeAccess(bytes16,bytes16,address)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes16,bytes16,bytes32[],uint8,bytes)": FunctionFragment; - "setMetadata(bytes16,bytes16,string,string[])": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - "setRecord(bytes16,bytes16,bytes32[],bytes)": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "call" - | "deleteRecord(bytes32,bytes32[])" - | "deleteRecord(bytes16,bytes16,bytes32[])" - | "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)" - | "emitEphemeralRecord(bytes32,bytes32[],bytes)" - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "grantAccess" - | "installModule" - | "installRootModule" - | "isStore" - | "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)" - | "popFromField(bytes32,bytes32[],uint8,uint256)" - | "pushToField(bytes32,bytes32[],uint8,bytes)" - | "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)" - | "registerFunctionSelector" - | "registerHook" - | "registerNamespace" - | "registerRootFunctionSelector" - | "registerSchema" - | "registerStoreHook" - | "registerSystem" - | "registerSystemHook" - | "registerTable" - | "registerTableHook" - | "revokeAccess" - | "setField(bytes32,bytes32[],uint8,bytes)" - | "setField(bytes16,bytes16,bytes32[],uint8,bytes)" - | "setMetadata(bytes16,bytes16,string,string[])" - | "setMetadata(bytes32,string,string[])" - | "setRecord(bytes16,bytes16,bytes32[],bytes)" - | "setRecord(bytes32,bytes32[],bytes)" - | "updateInField(bytes32,bytes32[],uint8,uint256,bytes)" - | "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "call", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "deleteRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "deleteRecord(bytes16,bytes16,bytes32[])", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "emitEphemeralRecord(bytes32,bytes32[],bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "grantAccess", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "installModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "installRootModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - encodeFunctionData( - functionFragment: "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "popFromField(bytes32,bytes32[],uint8,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField(bytes32,bytes32[],uint8,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerFunctionSelector", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerNamespace", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "registerRootFunctionSelector", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "registerSystem", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSystemHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerTable", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerTableHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "revokeAccess", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField(bytes32,bytes32[],uint8,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField(bytes16,bytes16,bytes32[],uint8,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata(bytes16,bytes16,string,string[])", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata(bytes32,string,string[])", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord(bytes16,bytes16,bytes32[],bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord(bytes32,bytes32[],bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField(bytes32,bytes32[],uint8,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "call", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "deleteRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "deleteRecord(bytes16,bytes16,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "emitEphemeralRecord(bytes32,bytes32[],bytes)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "grantAccess", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "installModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "installRootModule", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "popFromField(bytes32,bytes32[],uint8,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField(bytes32,bytes32[],uint8,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerFunctionSelector", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerNamespace", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerRootFunctionSelector", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSystem", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSystemHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerTable", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerTableHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "revokeAccess", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setField(bytes32,bytes32[],uint8,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setField(bytes16,bytes16,bytes32[],uint8,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata(bytes16,bytes16,string,string[])", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata(bytes32,string,string[])", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setRecord(bytes16,bytes16,bytes32[],bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setRecord(bytes32,bytes32[],bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "updateInField(bytes32,bytes32[],uint8,uint256,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)", - data: BytesLike - ): Result; - - events: { - "HelloWorld()": EventFragment; - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "HelloWorld"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface HelloWorldEventObject {} -export type HelloWorldEvent = TypedEvent<[], HelloWorldEventObject>; - -export type HelloWorldEventFilter = TypedEventFilter; - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface IBaseWorld extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IBaseWorldInterface; - - 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: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes16,bytes16,bytes32[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isStore(overrides?: CallOverrides): Promise<[void]>; - - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "popFromField(bytes32,bytes32[],uint8,uint256)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes32,bytes32[],uint8,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes32,bytes32[],uint8,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes16,bytes16,string,string[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes32,string,string[])"( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes32,bytes32[],bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes16,bytes16,bytes32[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "popFromField(bytes32,bytes32[],uint8,uint256)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes32,bytes32[],uint8,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes32,bytes32[],uint8,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes16,bytes16,string,string[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes32,string,string[])"( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes32,bytes32[],bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "deleteRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - "deleteRecord(bytes16,bytes16,bytes32[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "popFromField(bytes32,bytes32[],uint8,uint256)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "pushToField(bytes32,bytes32[],uint8,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setField(bytes32,bytes32[],uint8,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setMetadata(bytes16,bytes16,string,string[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - "setMetadata(bytes32,string,string[])"( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - "setRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setRecord(bytes32,bytes32[],bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "HelloWorld()"(): HelloWorldEventFilter; - HelloWorld(): HelloWorldEventFilter; - - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes16,bytes16,bytes32[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "popFromField(bytes32,bytes32[],uint8,uint256)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes32,bytes32[],uint8,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes32,bytes32[],uint8,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes16,bytes16,string,string[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes32,string,string[])"( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes32,bytes32[],bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes16,bytes16,bytes32[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "emitEphemeralRecord(bytes32,bytes32[],bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - grantAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "popFromField(bytes32,bytes32[],uint8,uint256)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes32,bytes32[],uint8,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeAccess( - namespace: PromiseOrValue, - name: PromiseOrValue, - grantee: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes32,bytes32[],uint8,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes16,bytes16,string,string[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMetadata(bytes32,string,string[])"( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes32,bytes32[],bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IModule.ts b/packages/world/types/ethers-contracts/IModule.ts deleted file mode 100644 index 7770e2f8f6..0000000000 --- a/packages/world/types/ethers-contracts/IModule.ts +++ /dev/null @@ -1,115 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface IModuleInterface extends utils.Interface { - functions: { - "getName()": FunctionFragment; - "install(bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "getName" | "install"): FunctionFragment; - - encodeFunctionData(functionFragment: "getName", values?: undefined): string; - encodeFunctionData( - functionFragment: "install", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "getName", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "install", data: BytesLike): Result; - - events: {}; -} - -export interface IModule extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IModuleInterface; - - 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: { - getName(overrides?: CallOverrides): Promise<[string] & { name: string }>; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IModuleInstallationSystem.ts b/packages/world/types/ethers-contracts/IModuleInstallationSystem.ts deleted file mode 100644 index b130c870d1..0000000000 --- a/packages/world/types/ethers-contracts/IModuleInstallationSystem.ts +++ /dev/null @@ -1,110 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface IModuleInstallationSystemInterface extends utils.Interface { - functions: { - "installModule(address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "installModule"): FunctionFragment; - - encodeFunctionData( - functionFragment: "installModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "installModule", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IModuleInstallationSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IModuleInstallationSystemInterface; - - 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: { - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IStore.sol/IStore.ts b/packages/world/types/ethers-contracts/IStore.sol/IStore.ts deleted file mode 100644 index d6b6b1444e..0000000000 --- a/packages/world/types/ethers-contracts/IStore.sol/IStore.ts +++ /dev/null @@ -1,1013 +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 IStoreInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "emitEphemeralRecord" - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - | "popFromField" - | "pushToField" - | "registerSchema" - | "registerStoreHook" - | "setField" - | "setMetadata" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "emitEphemeralRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "emitEphemeralRecord", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface IStore extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreInterface; - - 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: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IStore.sol/IStoreData.ts b/packages/world/types/ethers-contracts/IStore.sol/IStoreData.ts deleted file mode 100644 index f1f38c26c0..0000000000 --- a/packages/world/types/ethers-contracts/IStore.sol/IStoreData.ts +++ /dev/null @@ -1,800 +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 IStoreDataInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - | "popFromField" - | "pushToField" - | "setField" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface IStoreData extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreDataInterface; - - 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: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IStore.sol/IStoreEphemeral.ts b/packages/world/types/ethers-contracts/IStore.sol/IStoreEphemeral.ts deleted file mode 100644 index 22a4f3591a..0000000000 --- a/packages/world/types/ethers-contracts/IStore.sol/IStoreEphemeral.ts +++ /dev/null @@ -1,151 +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 IStoreEphemeralInterface extends utils.Interface { - functions: { - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "emitEphemeralRecord"): FunctionFragment; - - encodeFunctionData( - functionFragment: "emitEphemeralRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "emitEphemeralRecord", - data: BytesLike - ): Result; - - events: { - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; -} - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface IStoreEphemeral extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreEphemeralInterface; - - 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: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - }; - - estimateGas: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IStore.sol/IStoreHook.ts b/packages/world/types/ethers-contracts/IStore.sol/IStoreHook.ts deleted file mode 100644 index 8971465a2b..0000000000 --- a/packages/world/types/ethers-contracts/IStore.sol/IStoreHook.ts +++ /dev/null @@ -1,273 +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 IStoreHookInterface extends utils.Interface { - functions: { - "onAfterSetField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "onBeforeSetField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "onDeleteRecord(bytes32,bytes32[])": FunctionFragment; - "onSetRecord(bytes32,bytes32[],bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "onAfterSetField" - | "onBeforeSetField" - | "onDeleteRecord" - | "onSetRecord" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "onAfterSetField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onBeforeSetField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onDeleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "onSetRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "onAfterSetField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onBeforeSetField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onDeleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onSetRecord", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IStoreHook extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreHookInterface; - - 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: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IStore.sol/IStoreRead.ts b/packages/world/types/ethers-contracts/IStore.sol/IStoreRead.ts deleted file mode 100644 index fd5413f179..0000000000 --- a/packages/world/types/ethers-contracts/IStore.sol/IStoreRead.ts +++ /dev/null @@ -1,410 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export interface IStoreReadInterface extends utils.Interface { - functions: { - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - - events: {}; -} - -export interface IStoreRead extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreReadInterface; - - 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: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - }; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - callStatic: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IStore.sol/IStoreRegistration.ts b/packages/world/types/ethers-contracts/IStore.sol/IStoreRegistration.ts deleted file mode 100644 index ef683e5037..0000000000 --- a/packages/world/types/ethers-contracts/IStore.sol/IStoreRegistration.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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export interface IStoreRegistrationInterface extends utils.Interface { - functions: { - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "registerSchema" - | "registerStoreHook" - | "setMetadata" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IStoreRegistration extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreRegistrationInterface; - - 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: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IStore.sol/IStoreWrite.ts b/packages/world/types/ethers-contracts/IStore.sol/IStoreWrite.ts deleted file mode 100644 index e00f25cb9b..0000000000 --- a/packages/world/types/ethers-contracts/IStore.sol/IStoreWrite.ts +++ /dev/null @@ -1,462 +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 IStoreWriteInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "popFromField" - | "pushToField" - | "setField" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface IStoreWrite extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreWriteInterface; - - 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: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IStore.sol/index.ts b/packages/world/types/ethers-contracts/IStore.sol/index.ts deleted file mode 100644 index 35cda61787..0000000000 --- a/packages/world/types/ethers-contracts/IStore.sol/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IStore } from "./IStore"; -export type { IStoreData } from "./IStoreData"; -export type { IStoreEphemeral } from "./IStoreEphemeral"; -export type { IStoreHook } from "./IStoreHook"; -export type { IStoreRead } from "./IStoreRead"; -export type { IStoreRegistration } from "./IStoreRegistration"; -export type { IStoreWrite } from "./IStoreWrite"; diff --git a/packages/world/types/ethers-contracts/IStoreErrors.ts b/packages/world/types/ethers-contracts/IStoreErrors.ts deleted file mode 100644 index 40955eb91d..0000000000 --- a/packages/world/types/ethers-contracts/IStoreErrors.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 IStoreErrorsInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface IStoreErrors extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreErrorsInterface; - - 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/packages/world/types/ethers-contracts/IStoreRegistrationSystem.ts b/packages/world/types/ethers-contracts/IStoreRegistrationSystem.ts deleted file mode 100644 index 32fc336a3c..0000000000 --- a/packages/world/types/ethers-contracts/IStoreRegistrationSystem.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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface IStoreRegistrationSystemInterface extends utils.Interface { - functions: { - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "registerSchema" - | "registerStoreHook" - | "setMetadata" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IStoreRegistrationSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreRegistrationSystemInterface; - - 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: { - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/ISystemHook.ts b/packages/world/types/ethers-contracts/ISystemHook.ts deleted file mode 100644 index 9b68a2ec0e..0000000000 --- a/packages/world/types/ethers-contracts/ISystemHook.ts +++ /dev/null @@ -1,169 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface ISystemHookInterface extends utils.Interface { - functions: { - "onAfterCallSystem(address,address,bytes)": FunctionFragment; - "onBeforeCallSystem(address,address,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "onAfterCallSystem" | "onBeforeCallSystem" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "onAfterCallSystem", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onBeforeCallSystem", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "onAfterCallSystem", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onBeforeCallSystem", - data: BytesLike - ): Result; - - events: {}; -} - -export interface ISystemHook extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ISystemHookInterface; - - 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: { - onAfterCallSystem( - msgSender: PromiseOrValue, - systemAddress: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeCallSystem( - msgSender: PromiseOrValue, - systemAddress: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - onAfterCallSystem( - msgSender: PromiseOrValue, - systemAddress: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeCallSystem( - msgSender: PromiseOrValue, - systemAddress: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - onAfterCallSystem( - msgSender: PromiseOrValue, - systemAddress: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onBeforeCallSystem( - msgSender: PromiseOrValue, - systemAddress: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - onAfterCallSystem( - msgSender: PromiseOrValue, - systemAddress: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeCallSystem( - msgSender: PromiseOrValue, - systemAddress: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - onAfterCallSystem( - msgSender: PromiseOrValue, - systemAddress: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeCallSystem( - msgSender: PromiseOrValue, - systemAddress: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IUniqueEntitySystem.ts b/packages/world/types/ethers-contracts/IUniqueEntitySystem.ts deleted file mode 100644 index 7ea39c4b5d..0000000000 --- a/packages/world/types/ethers-contracts/IUniqueEntitySystem.ts +++ /dev/null @@ -1,102 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface IUniqueEntitySystemInterface extends utils.Interface { - functions: { - "uniqueEntity_system_getUniqueEntity()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "uniqueEntity_system_getUniqueEntity" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "uniqueEntity_system_getUniqueEntity", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "uniqueEntity_system_getUniqueEntity", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IUniqueEntitySystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IUniqueEntitySystemInterface; - - 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: { - uniqueEntity_system_getUniqueEntity( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - uniqueEntity_system_getUniqueEntity( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - uniqueEntity_system_getUniqueEntity( - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - uniqueEntity_system_getUniqueEntity( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - uniqueEntity_system_getUniqueEntity( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IWorldEphemeral.ts b/packages/world/types/ethers-contracts/IWorldEphemeral.ts deleted file mode 100644 index 896e0b8a16..0000000000 --- a/packages/world/types/ethers-contracts/IWorldEphemeral.ts +++ /dev/null @@ -1,125 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface IWorldEphemeralInterface extends utils.Interface { - functions: { - "emitEphemeralRecord(bytes16,bytes16,bytes32[],bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "emitEphemeralRecord"): FunctionFragment; - - encodeFunctionData( - functionFragment: "emitEphemeralRecord", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "emitEphemeralRecord", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IWorldEphemeral extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IWorldEphemeralInterface; - - 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: { - emitEphemeralRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - emitEphemeralRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - emitEphemeralRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - emitEphemeralRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - emitEphemeralRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IWorldErrors.ts b/packages/world/types/ethers-contracts/IWorldErrors.ts deleted file mode 100644 index fa694fbb5b..0000000000 --- a/packages/world/types/ethers-contracts/IWorldErrors.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 IWorldErrorsInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface IWorldErrors extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IWorldErrorsInterface; - - 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/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldCall.ts b/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldCall.ts deleted file mode 100644 index 851961dc14..0000000000 --- a/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldCall.ts +++ /dev/null @@ -1,116 +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 IWorldCallInterface extends utils.Interface { - functions: { - "call(bytes16,bytes16,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "call"): FunctionFragment; - - encodeFunctionData( - functionFragment: "call", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "call", data: BytesLike): Result; - - events: {}; -} - -export interface IWorldCall extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IWorldCallInterface; - - 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: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts b/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts deleted file mode 100644 index 9160f5bc3f..0000000000 --- a/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts +++ /dev/null @@ -1,422 +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 IWorldDataInterface extends utils.Interface { - functions: { - "deleteRecord(bytes16,bytes16,bytes32[])": FunctionFragment; - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes16,bytes16,bytes32[],uint8,bytes)": FunctionFragment; - "setRecord(bytes16,bytes16,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "popFromField" - | "pushToField" - | "setField" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IWorldData extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IWorldDataInterface; - - 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: { - deleteRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - popFromField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - deleteRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts b/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts deleted file mode 100644 index b4d3e7c72e..0000000000 --- a/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts +++ /dev/null @@ -1,525 +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 IWorldKernelInterface extends utils.Interface { - functions: { - "call(bytes16,bytes16,bytes)": FunctionFragment; - "deleteRecord(bytes16,bytes16,bytes32[])": FunctionFragment; - "installRootModule(address,bytes)": FunctionFragment; - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes16,bytes16,bytes32[],uint8,bytes)": FunctionFragment; - "setRecord(bytes16,bytes16,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "call" - | "deleteRecord" - | "installRootModule" - | "popFromField" - | "pushToField" - | "setField" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "call", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "deleteRecord", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "installRootModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "call", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "installRootModule", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "HelloWorld()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "HelloWorld"): EventFragment; -} - -export interface HelloWorldEventObject {} -export type HelloWorldEvent = TypedEvent<[], HelloWorldEventObject>; - -export type HelloWorldEventFilter = TypedEventFilter; - -export interface IWorldKernel extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IWorldKernelInterface; - - 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: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - deleteRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - deleteRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - deleteRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - popFromField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "HelloWorld()"(): HelloWorldEventFilter; - HelloWorld(): HelloWorldEventFilter; - }; - - estimateGas: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - deleteRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - deleteRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldModuleInstallation.ts b/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldModuleInstallation.ts deleted file mode 100644 index 67e82d8407..0000000000 --- a/packages/world/types/ethers-contracts/IWorldKernel.sol/IWorldModuleInstallation.ts +++ /dev/null @@ -1,110 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../common"; - -export interface IWorldModuleInstallationInterface extends utils.Interface { - functions: { - "installRootModule(address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "installRootModule"): FunctionFragment; - - encodeFunctionData( - functionFragment: "installRootModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "installRootModule", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IWorldModuleInstallation extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IWorldModuleInstallationInterface; - - 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: { - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/IWorldKernel.sol/index.ts b/packages/world/types/ethers-contracts/IWorldKernel.sol/index.ts deleted file mode 100644 index 73c8b209c9..0000000000 --- a/packages/world/types/ethers-contracts/IWorldKernel.sol/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IWorldCall } from "./IWorldCall"; -export type { IWorldData } from "./IWorldData"; -export type { IWorldKernel } from "./IWorldKernel"; -export type { IWorldModuleInstallation } from "./IWorldModuleInstallation"; diff --git a/packages/world/types/ethers-contracts/IWorldRegistrationSystem.ts b/packages/world/types/ethers-contracts/IWorldRegistrationSystem.ts deleted file mode 100644 index 8bf15236cb..0000000000 --- a/packages/world/types/ethers-contracts/IWorldRegistrationSystem.ts +++ /dev/null @@ -1,530 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface IWorldRegistrationSystemInterface extends utils.Interface { - functions: { - "registerFunctionSelector(bytes16,bytes16,string,string)": FunctionFragment; - "registerHook(bytes16,bytes16,address)": FunctionFragment; - "registerNamespace(bytes16)": FunctionFragment; - "registerRootFunctionSelector(bytes16,bytes16,bytes4,bytes4)": FunctionFragment; - "registerSystem(bytes16,bytes16,address,bool)": FunctionFragment; - "registerSystemHook(bytes16,bytes16,address)": FunctionFragment; - "registerTable(bytes16,bytes16,bytes32,bytes32)": FunctionFragment; - "registerTableHook(bytes16,bytes16,address)": FunctionFragment; - "setMetadata(bytes16,bytes16,string,string[])": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "registerFunctionSelector" - | "registerHook" - | "registerNamespace" - | "registerRootFunctionSelector" - | "registerSystem" - | "registerSystemHook" - | "registerTable" - | "registerTableHook" - | "setMetadata" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "registerFunctionSelector", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerNamespace", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "registerRootFunctionSelector", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSystem", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSystemHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerTable", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerTableHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - - decodeFunctionResult( - functionFragment: "registerFunctionSelector", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerNamespace", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerRootFunctionSelector", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSystem", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSystemHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerTable", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerTableHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IWorldRegistrationSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IWorldRegistrationSystemInterface; - - 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: { - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/KeysInTableHook.ts b/packages/world/types/ethers-contracts/KeysInTableHook.ts deleted file mode 100644 index 6d4aaa2a39..0000000000 --- a/packages/world/types/ethers-contracts/KeysInTableHook.ts +++ /dev/null @@ -1,273 +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 KeysInTableHookInterface extends utils.Interface { - functions: { - "onAfterSetField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "onBeforeSetField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "onDeleteRecord(bytes32,bytes32[])": FunctionFragment; - "onSetRecord(bytes32,bytes32[],bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "onAfterSetField" - | "onBeforeSetField" - | "onDeleteRecord" - | "onSetRecord" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "onAfterSetField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onBeforeSetField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onDeleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "onSetRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "onAfterSetField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onBeforeSetField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onDeleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onSetRecord", - data: BytesLike - ): Result; - - events: {}; -} - -export interface KeysInTableHook extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: KeysInTableHookInterface; - - 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: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - tableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - tableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onDeleteRecord( - tableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - tableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - tableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/KeysInTableModule.ts b/packages/world/types/ethers-contracts/KeysInTableModule.ts deleted file mode 100644 index af3cecc3e0..0000000000 --- a/packages/world/types/ethers-contracts/KeysInTableModule.ts +++ /dev/null @@ -1,115 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface KeysInTableModuleInterface extends utils.Interface { - functions: { - "getName()": FunctionFragment; - "install(bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "getName" | "install"): FunctionFragment; - - encodeFunctionData(functionFragment: "getName", values?: undefined): string; - encodeFunctionData( - functionFragment: "install", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "getName", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "install", data: BytesLike): Result; - - events: {}; -} - -export interface KeysInTableModule extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: KeysInTableModuleInterface; - - 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: { - getName(overrides?: CallOverrides): Promise<[string]>; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/KeysWithValueHook.ts b/packages/world/types/ethers-contracts/KeysWithValueHook.ts deleted file mode 100644 index 261465deac..0000000000 --- a/packages/world/types/ethers-contracts/KeysWithValueHook.ts +++ /dev/null @@ -1,273 +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 KeysWithValueHookInterface extends utils.Interface { - functions: { - "onAfterSetField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "onBeforeSetField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "onDeleteRecord(bytes32,bytes32[])": FunctionFragment; - "onSetRecord(bytes32,bytes32[],bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "onAfterSetField" - | "onBeforeSetField" - | "onDeleteRecord" - | "onSetRecord" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "onAfterSetField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onBeforeSetField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onDeleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "onSetRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "onAfterSetField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onBeforeSetField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onDeleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onSetRecord", - data: BytesLike - ): Result; - - events: {}; -} - -export interface KeysWithValueHook extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: KeysWithValueHookInterface; - - 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: { - onAfterSetField( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - onAfterSetField( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - onAfterSetField( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onBeforeSetField( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onDeleteRecord( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - onSetRecord( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - onAfterSetField( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - onAfterSetField( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - arg2: PromiseOrValue, - arg3: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - sourceTableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/KeysWithValueModule.ts b/packages/world/types/ethers-contracts/KeysWithValueModule.ts deleted file mode 100644 index 1e8fe4528a..0000000000 --- a/packages/world/types/ethers-contracts/KeysWithValueModule.ts +++ /dev/null @@ -1,115 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface KeysWithValueModuleInterface extends utils.Interface { - functions: { - "getName()": FunctionFragment; - "install(bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "getName" | "install"): FunctionFragment; - - encodeFunctionData(functionFragment: "getName", values?: undefined): string; - encodeFunctionData( - functionFragment: "install", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "getName", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "install", data: BytesLike): Result; - - events: {}; -} - -export interface KeysWithValueModule extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: KeysWithValueModuleInterface; - - 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: { - getName(overrides?: CallOverrides): Promise<[string]>; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getName(overrides?: CallOverrides): Promise; - - install( - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/ModuleInstallationSystem.ts b/packages/world/types/ethers-contracts/ModuleInstallationSystem.ts deleted file mode 100644 index 7942210fc9..0000000000 --- a/packages/world/types/ethers-contracts/ModuleInstallationSystem.ts +++ /dev/null @@ -1,110 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface ModuleInstallationSystemInterface extends utils.Interface { - functions: { - "installModule(address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "installModule"): FunctionFragment; - - encodeFunctionData( - functionFragment: "installModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult( - functionFragment: "installModule", - data: BytesLike - ): Result; - - events: {}; -} - -export interface ModuleInstallationSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ModuleInstallationSystemInterface; - - 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: { - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - installModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/Schema.sol/SchemaLib.ts b/packages/world/types/ethers-contracts/Schema.sol/SchemaLib.ts deleted file mode 100644 index 4cab0fc9b5..0000000000 --- a/packages/world/types/ethers-contracts/Schema.sol/SchemaLib.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 SchemaLibInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface SchemaLib extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SchemaLibInterface; - - 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/packages/world/types/ethers-contracts/Schema.sol/index.ts b/packages/world/types/ethers-contracts/Schema.sol/index.ts deleted file mode 100644 index 78403b20a1..0000000000 --- a/packages/world/types/ethers-contracts/Schema.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { SchemaLib } from "./SchemaLib"; diff --git a/packages/world/types/ethers-contracts/Slice.sol/SliceLib.ts b/packages/world/types/ethers-contracts/Slice.sol/SliceLib.ts deleted file mode 100644 index ef462fd3f5..0000000000 --- a/packages/world/types/ethers-contracts/Slice.sol/SliceLib.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 SliceLibInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface SliceLib extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SliceLibInterface; - - 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/packages/world/types/ethers-contracts/Slice.sol/index.ts b/packages/world/types/ethers-contracts/Slice.sol/index.ts deleted file mode 100644 index 0a299b7f88..0000000000 --- a/packages/world/types/ethers-contracts/Slice.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { SliceLib } from "./SliceLib"; diff --git a/packages/world/types/ethers-contracts/SnapSyncModule.ts b/packages/world/types/ethers-contracts/SnapSyncModule.ts deleted file mode 100644 index d8e89df930..0000000000 --- a/packages/world/types/ethers-contracts/SnapSyncModule.ts +++ /dev/null @@ -1,115 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface SnapSyncModuleInterface extends utils.Interface { - functions: { - "getName()": FunctionFragment; - "install(bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "getName" | "install"): FunctionFragment; - - encodeFunctionData(functionFragment: "getName", values?: undefined): string; - encodeFunctionData( - functionFragment: "install", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "getName", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "install", data: BytesLike): Result; - - events: {}; -} - -export interface SnapSyncModule extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SnapSyncModuleInterface; - - 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: { - getName(overrides?: CallOverrides): Promise<[string]>; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/SnapSyncSystem.ts b/packages/world/types/ethers-contracts/SnapSyncSystem.ts deleted file mode 100644 index 1edc32ae1c..0000000000 --- a/packages/world/types/ethers-contracts/SnapSyncSystem.ts +++ /dev/null @@ -1,165 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export type SyncRecordStruct = { - tableId: PromiseOrValue; - keyTuple: PromiseOrValue[]; - value: PromiseOrValue; -}; - -export type SyncRecordStructOutput = [string, string[], string] & { - tableId: string; - keyTuple: string[]; - value: string; -}; - -export interface SnapSyncSystemInterface extends utils.Interface { - functions: { - "getNumKeysInTable(bytes32)": FunctionFragment; - "getRecords(bytes32,uint256,uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "getNumKeysInTable" | "getRecords" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "getNumKeysInTable", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecords", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "getNumKeysInTable", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getRecords", data: BytesLike): Result; - - events: {}; -} - -export interface SnapSyncSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SnapSyncSystemInterface; - - 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: { - getNumKeysInTable( - tableId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getRecords( - tableId: PromiseOrValue, - limit: PromiseOrValue, - offset: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [SyncRecordStructOutput[]] & { records: SyncRecordStructOutput[] } - >; - }; - - getNumKeysInTable( - tableId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRecords( - tableId: PromiseOrValue, - limit: PromiseOrValue, - offset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - getNumKeysInTable( - tableId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRecords( - tableId: PromiseOrValue, - limit: PromiseOrValue, - offset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - getNumKeysInTable( - tableId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRecords( - tableId: PromiseOrValue, - limit: PromiseOrValue, - offset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - getNumKeysInTable( - tableId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRecords( - tableId: PromiseOrValue, - limit: PromiseOrValue, - offset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/StoreCore.ts b/packages/world/types/ethers-contracts/StoreCore.ts deleted file mode 100644 index d3ab94c66a..0000000000 --- a/packages/world/types/ethers-contracts/StoreCore.ts +++ /dev/null @@ -1,157 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, 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 StoreCoreInterface extends utils.Interface { - functions: {}; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - tableId: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - tableId: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - tableId: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface StoreCore extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreCoreInterface; - - 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: { - "StoreDeleteRecord(bytes32,bytes32[])"( - tableId?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(tableId?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - tableId?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - tableId?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - tableId?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - tableId?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: {}; - - populateTransaction: {}; -} diff --git a/packages/world/types/ethers-contracts/StoreRead.ts b/packages/world/types/ethers-contracts/StoreRead.ts deleted file mode 100644 index 8e2a18be6d..0000000000 --- a/packages/world/types/ethers-contracts/StoreRead.ts +++ /dev/null @@ -1,410 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface StoreReadInterface extends utils.Interface { - functions: { - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - - events: {}; -} - -export interface StoreRead extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreReadInterface; - - 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: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - }; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - callStatic: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/StoreRegistrationSystem.ts b/packages/world/types/ethers-contracts/StoreRegistrationSystem.ts deleted file mode 100644 index 398dc120e4..0000000000 --- a/packages/world/types/ethers-contracts/StoreRegistrationSystem.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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface StoreRegistrationSystemInterface extends utils.Interface { - functions: { - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "registerSchema" - | "registerStoreHook" - | "setMetadata" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - - events: {}; -} - -export interface StoreRegistrationSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreRegistrationSystemInterface; - - 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: { - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - registerSchema( - tableId: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - tableId: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - tableId: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/StoreSwitch.ts b/packages/world/types/ethers-contracts/StoreSwitch.ts deleted file mode 100644 index dab3ca2b7a..0000000000 --- a/packages/world/types/ethers-contracts/StoreSwitch.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 StoreSwitchInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface StoreSwitch extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreSwitchInterface; - - 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/packages/world/types/ethers-contracts/UniqueEntityModule.ts b/packages/world/types/ethers-contracts/UniqueEntityModule.ts deleted file mode 100644 index e90e25bd52..0000000000 --- a/packages/world/types/ethers-contracts/UniqueEntityModule.ts +++ /dev/null @@ -1,115 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface UniqueEntityModuleInterface extends utils.Interface { - functions: { - "getName()": FunctionFragment; - "install(bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "getName" | "install"): FunctionFragment; - - encodeFunctionData(functionFragment: "getName", values?: undefined): string; - encodeFunctionData( - functionFragment: "install", - values: [PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "getName", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "install", data: BytesLike): Result; - - events: {}; -} - -export interface UniqueEntityModule extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: UniqueEntityModuleInterface; - - 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: { - getName(overrides?: CallOverrides): Promise<[string]>; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getName(overrides?: CallOverrides): Promise; - - install( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/UniqueEntitySystem.ts b/packages/world/types/ethers-contracts/UniqueEntitySystem.ts deleted file mode 100644 index a690d688f5..0000000000 --- a/packages/world/types/ethers-contracts/UniqueEntitySystem.ts +++ /dev/null @@ -1,98 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface UniqueEntitySystemInterface extends utils.Interface { - functions: { - "getUniqueEntity()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "getUniqueEntity"): FunctionFragment; - - encodeFunctionData( - functionFragment: "getUniqueEntity", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "getUniqueEntity", - data: BytesLike - ): Result; - - events: {}; -} - -export interface UniqueEntitySystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: UniqueEntitySystemInterface; - - 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: { - getUniqueEntity( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - getUniqueEntity( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - getUniqueEntity(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - getUniqueEntity( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - getUniqueEntity( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/World.ts b/packages/world/types/ethers-contracts/World.ts deleted file mode 100644 index 66a24d137a..0000000000 --- a/packages/world/types/ethers-contracts/World.ts +++ /dev/null @@ -1,1257 +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 WorldInterface extends utils.Interface { - functions: { - "call(bytes16,bytes16,bytes)": FunctionFragment; - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "deleteRecord(bytes16,bytes16,bytes32[])": FunctionFragment; - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "installRootModule(address,bytes)": FunctionFragment; - "isStore()": FunctionFragment; - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes16,bytes16,bytes32[],uint8,bytes)": FunctionFragment; - "setRecord(bytes16,bytes16,bytes32[],bytes)": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "call" - | "deleteRecord(bytes32,bytes32[])" - | "deleteRecord(bytes16,bytes16,bytes32[])" - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "installRootModule" - | "isStore" - | "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)" - | "popFromField(bytes32,bytes32[],uint8,uint256)" - | "pushToField(bytes32,bytes32[],uint8,bytes)" - | "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)" - | "setField(bytes32,bytes32[],uint8,bytes)" - | "setField(bytes16,bytes16,bytes32[],uint8,bytes)" - | "setRecord(bytes16,bytes16,bytes32[],bytes)" - | "setRecord(bytes32,bytes32[],bytes)" - | "updateInField(bytes32,bytes32[],uint8,uint256,bytes)" - | "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "call", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "deleteRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "deleteRecord(bytes16,bytes16,bytes32[])", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "installRootModule", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - encodeFunctionData( - functionFragment: "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "popFromField(bytes32,bytes32[],uint8,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField(bytes32,bytes32[],uint8,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField(bytes32,bytes32[],uint8,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField(bytes16,bytes16,bytes32[],uint8,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord(bytes16,bytes16,bytes32[],bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord(bytes32,bytes32[],bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField(bytes32,bytes32[],uint8,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "call", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "deleteRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "deleteRecord(bytes16,bytes16,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "installRootModule", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "popFromField(bytes32,bytes32[],uint8,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField(bytes32,bytes32[],uint8,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setField(bytes32,bytes32[],uint8,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setField(bytes16,bytes16,bytes32[],uint8,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setRecord(bytes16,bytes16,bytes32[],bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setRecord(bytes32,bytes32[],bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "updateInField(bytes32,bytes32[],uint8,uint256,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)", - data: BytesLike - ): Result; - - events: { - "HelloWorld()": EventFragment; - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "HelloWorld"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface HelloWorldEventObject {} -export type HelloWorldEvent = TypedEvent<[], HelloWorldEventObject>; - -export type HelloWorldEventFilter = TypedEventFilter; - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface World extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: WorldInterface; - - 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: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes32,bytes32[])"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes16,bytes16,bytes32[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isStore(overrides?: CallOverrides): Promise<[void]>; - - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "popFromField(bytes32,bytes32[],uint8,uint256)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes32,bytes32[],uint8,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes32,bytes32[],uint8,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes32,bytes32[])"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes16,bytes16,bytes32[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "popFromField(bytes32,bytes32[],uint8,uint256)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes32,bytes32[],uint8,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes32,bytes32[],uint8,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "deleteRecord(bytes32,bytes32[])"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - "deleteRecord(bytes16,bytes16,bytes32[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "popFromField(bytes32,bytes32[],uint8,uint256)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "pushToField(bytes32,bytes32[],uint8,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setField(bytes32,bytes32[],uint8,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "HelloWorld()"(): HelloWorldEventFilter; - HelloWorld(): HelloWorldEventFilter; - - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes32,bytes32[])"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes16,bytes16,bytes32[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "popFromField(bytes32,bytes32[],uint8,uint256)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes32,bytes32[],uint8,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes32,bytes32[],uint8,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - call( - namespace: PromiseOrValue, - name: PromiseOrValue, - funcSelectorAndArgs: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes32,bytes32[])"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deleteRecord(bytes16,bytes16,bytes32[])"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - installRootModule( - module: PromiseOrValue, - args: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - "popFromField(bytes16,bytes16,bytes32[],uint8,uint256)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "popFromField(bytes32,bytes32[],uint8,uint256)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes32,bytes32[],uint8,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pushToField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes32,bytes32[],uint8,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setField(bytes16,bytes16,bytes32[],uint8,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes16,bytes16,bytes32[],bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setRecord(bytes32,bytes32[],bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)"( - tableId: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)"( - namespace: PromiseOrValue, - name: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/WorldRegistrationSystem.ts b/packages/world/types/ethers-contracts/WorldRegistrationSystem.ts deleted file mode 100644 index a174d8d445..0000000000 --- a/packages/world/types/ethers-contracts/WorldRegistrationSystem.ts +++ /dev/null @@ -1,530 +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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface WorldRegistrationSystemInterface extends utils.Interface { - functions: { - "registerFunctionSelector(bytes16,bytes16,string,string)": FunctionFragment; - "registerHook(bytes16,bytes16,address)": FunctionFragment; - "registerNamespace(bytes16)": FunctionFragment; - "registerRootFunctionSelector(bytes16,bytes16,bytes4,bytes4)": FunctionFragment; - "registerSystem(bytes16,bytes16,address,bool)": FunctionFragment; - "registerSystemHook(bytes16,bytes16,address)": FunctionFragment; - "registerTable(bytes16,bytes16,bytes32,bytes32)": FunctionFragment; - "registerTableHook(bytes16,bytes16,address)": FunctionFragment; - "setMetadata(bytes16,bytes16,string,string[])": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "registerFunctionSelector" - | "registerHook" - | "registerNamespace" - | "registerRootFunctionSelector" - | "registerSystem" - | "registerSystemHook" - | "registerTable" - | "registerTableHook" - | "setMetadata" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "registerFunctionSelector", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerNamespace", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "registerRootFunctionSelector", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSystem", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSystemHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerTable", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerTableHook", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - - decodeFunctionResult( - functionFragment: "registerFunctionSelector", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerNamespace", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerRootFunctionSelector", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSystem", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSystemHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerTable", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerTableHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - - events: {}; -} - -export interface WorldRegistrationSystem extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: WorldRegistrationSystemInterface; - - 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: { - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - registerFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - systemFunctionName: PromiseOrValue, - systemFunctionArguments: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerNamespace( - namespace: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerRootFunctionSelector( - namespace: PromiseOrValue, - name: PromiseOrValue, - worldFunctionSelector: PromiseOrValue, - systemFunctionSelector: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystem( - namespace: PromiseOrValue, - name: PromiseOrValue, - system: PromiseOrValue, - publicAccess: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSystemHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTable( - namespace: PromiseOrValue, - name: PromiseOrValue, - valueSchema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerTableHook( - namespace: PromiseOrValue, - name: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - namespace: PromiseOrValue, - name: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/common.ts b/packages/world/types/ethers-contracts/common.ts deleted file mode 100644 index 4c90b08bb4..0000000000 --- a/packages/world/types/ethers-contracts/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/packages/world/types/ethers-contracts/factories/AccessManagementSystem__factory.ts b/packages/world/types/ethers-contracts/factories/AccessManagementSystem__factory.ts deleted file mode 100644 index ca33e24541..0000000000 --- a/packages/world/types/ethers-contracts/factories/AccessManagementSystem__factory.ts +++ /dev/null @@ -1,182 +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 { - AccessManagementSystem, - AccessManagementSystemInterface, -} from "../AccessManagementSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - { - internalType: "address", - name: "caller", - type: "address", - }, - ], - name: "AccessDenied", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "grantee", - type: "address", - }, - ], - name: "grantAccess", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "grantee", - type: "address", - }, - ], - name: "revokeAccess", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b50611afc806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80631e42269e1461003b578063f227e65314610050575b600080fd5b61004e61004936600461166c565b610063565b005b61004e61005e36600461166c565b610089565b600061007784846100726100a6565b6100d8565b9050610083818361019f565b50505050565b600061009884846100726100a6565b905061008381836001610272565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec36013560601c806100d55750335b90565b608082901c6fffffffffffffffffffffffffffffffff1984161773ffffffffffffffffffffffffffffffffffffffff8216301480159061014c57508173ffffffffffffffffffffffffffffffffffffffff1661013385610369565b73ffffffffffffffffffffffffffffffffffffffff1614155b156101985761015a8161042b565b826040517fe64c034800000000000000000000000000000000000000000000000000000000815260040161018f929190611724565b60405180910390fd5b9392505050565b60408051600280825260608201835260009260208301908036833701905050905082816000815181106101d4576101d4611772565b6020026020010181815250508173ffffffffffffffffffffffffffffffffffffffff1660001b8160018151811061020d5761020d611772565b602090810291909101810191909152604080516000818401527f5265736f757263654163636573730000000000000000000000000000000000006030820152815180820390930183528101905261026d9061026790611788565b8261051a565b505050565b60408051600280825260608201835260009260208301908036833701905050905083816000815181106102a7576102a7611772565b6020026020010181815250508273ffffffffffffffffffffffffffffffffffffffff1660001b816001815181106102e0576102e0611772565b602090810291909101810191909152604080516000818401527f5265736f75726365416363657373000000000000000000000000000000000000603082015281518082039093018352810190526100839061033a90611788565b8260008560405160200161035591151560f81b815260010190565b6040516020818303038152906040526105a9565b60408051600180825281830190925260009182919060208083019080368337019050509050826fffffffffffffffffffffffffffffffff1916816000815181106103b5576103b5611772565b6020908102919091018101919091526040805160009281018390527f4e616d6573706163654f776e6572000000000000000000000000000000000000603082015261041c91015b60405160208183030381529060405261041490611788565b836000610641565b6020015160601c949350505050565b606081608081901b6fffffffffffffffffffffffffffffffff198216156104525781610474565b7f524f4f545f4e414d4553504143450000000000000000000000000000000000005b6fffffffffffffffffffffffffffffffff1982161561049357816104b5565b7f524f4f545f4e414d4500000000000000000000000000000000000000000000005b6040516fffffffffffffffffffffffffffffffff1992831660208201527f2f0000000000000000000000000000000000000000000000000000000000000060308201529116603182015260410160405160208183030381529060405292505050919050565b6105226106e7565b15610535576105318282610765565b5050565b6040517f505a181d000000000000000000000000000000000000000000000000000000008152339063505a181d9061057390859085906004016117ea565b600060405180830381600087803b15801561058d57600080fd5b505af11580156105a1573d6000803e3d6000fd5b505050505050565b6105b16106e7565b156105c7576105c2848484846108fb565b610083565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a726690610609908790879087908790600401611803565b600060405180830381600087803b15801561062357600080fd5b505af1158015610637573d6000803e3d6000fd5b5050505050505050565b606061064b6106e7565b156106625761065b848484610aef565b9050610198565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c906106a290879087908790600401611842565b600060405180830381865afa1580156106bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261065b919081019061186e565b6000303b8082036106fa57600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561074057600080fd5b505afa925050508015610751575060015b61075d57600091505090565b600191505090565b600061077083610b13565b90507f2cc8610b80ef19409ae51ecbdd9c137960fb22ae9ef2d817d36ec1b685d68ecd83836040516107a39291906117ea565b60405180910390a160006107b684610b68565b905060005b81518110156108635760008282815181106107d8576107d8611772565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663b51fef6c87876040518363ffffffff1660e01b815260040161081d9291906117ea565b600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b5050505050808061085b90611926565b9150506107bb565b5060006108708585610c2f565b90506108ca8160006108828660f01c90565b67ffffffffffffffff81111561089a5761089a61175c565b6040519080825280601f01601f1916602001820160405280156108c4576020820181803683370190505b50610c85565b6108d383610c9a565b60ff166000036108e4575050505050565b60006108f08686610cab565b6000815590506105a1565b600061090685610b13565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c468585858560405161093d9493929190611803565b60405180910390a1600061095086610b68565b905060005b8151811015610a0157600082828151811061097257610972611772565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee2898989896040518563ffffffff1660e01b81526004016109bb9493929190611803565b600060405180830381600087803b1580156109d557600080fd5b505af11580156109e9573d6000803e3d6000fd5b505050505080806109f990611926565b915050610955565b50610a0b82610ce2565b60ff168460ff161015610a2a57610a258686848787610cee565b610a37565b610a378686848787610d99565b60005b8151811015610ae6576000828281518110610a5757610a57611772565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f898989896040518563ffffffff1660e01b8152600401610aa09493929190611803565b600060405180830381600087803b158015610aba57600080fd5b505af1158015610ace573d6000803e3d6000fd5b50505050508080610ade90611926565b915050610a3a565b50505050505050565b60606000610afc85610b13565b9050610b0a85858584610dd6565b95945050505050565b6000610b1e82610e0d565b905080610b635781610b2f83610ed2565b6040517fd623a70d00000000000000000000000000000000000000000000000000000000815260040161018f929190611940565b919050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610ba257610ba2611772565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000928101929092527f486f6f6b730000000000000000000000000000000000000000000000000000006030830152600091610c1091016103fc565b9050610c27610c228260008451610efd565b610f8d565b949350505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001610c6693929190611959565b60408051601f1981840301815291905280516020909101209392505050565b60006020820190506100838484838551610f9e565b6000601882901b5b60f81c92915050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001610c6693929190611978565b6000601082901b610ca2565b6000610cfd8460ff851661105c565b90508151610d1b8260c5811115610d1657610d166119d8565b611088565b14610d7257610d358160c5811115610d1657610d166119d8565b82516040517f521b3d330000000000000000000000000000000000000000000000000000000081526004810192909252602482015260440161018f565b6000610d7e8787610c2f565b90506000610d8c8686611139565b9050610637828286610c85565b6000610da484610ce2565b610dae90846119ee565b9050610dbd868683855161118d565b6000610dca8787846111bf565b9050610ae68184611218565b6060610de182610ce2565b60ff168360ff161015610e0157610dfa85858585611224565b9050610c27565b610dfa85858585611284565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610e4657610e46611772565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d61000000000000000000000000000000000000000000000000000060308201528151808203909301835281019052600090610ec890610ec290611788565b83610c2f565b9050610c27815490565b606081604051602001610ee791815260200190565b6040516020818303038152906040529050919050565b6000818311158015610f10575083518211155b610f4c578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161018f93929190611a11565b60208401610f5a8482611a36565b90506000610f688585611a4e565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b6060600061019883601460006112dd565b602083048401935060208381610fb657610fb6611a65565b069250821561100f5760208390036000600019600884021c1990506008850281811c91508451811c9050811987541682821617875550818311610ffa575050610083565b611005600187611a36565b9550509182019190035b602081106110385781518455611026600185611a36565b935060209190910190601f190161100f565b8015610083576000600019600883021c198554845182169119161785555050505050565b60006110748361106d846004611a36565b6008021b90565b60f81c60c5811115610198576101986119d8565b6000808260c581111561109d5761109d6119d8565b60ff16905060208110156110b657610198816001611a36565b60408110156110d65760206110cc826001611a36565b6101989190611a4e565b60608110156110ec5760406110cc826001611a36565b60608360c5811115611100576111006119d8565b0361110e5750600192915050565b60618360c5811115611122576111226119d8565b036111305750601492915050565b50600092915050565b600080805b8360ff1681101561118557611167611156868361105c565b60c5811115610d1657610d166119d8565b6111719083611a36565b91508061117d81611926565b91505061113e565b509392505050565b60006111998585610cab565b905060006111a5825490565b90506111b58160ff861685611420565b80835590506105a1565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98484846040516020016111f89493929190611a7b565b60408051601f198184030181529190528051602090910120949350505050565b61053182600083610c85565b606060006112358360ff861661105c565b9050600061124e8260c5811115610d1657610d166119d8565b9050600061125c8888610c2f565b9050600061126a8688611139565b90506112778284836114f1565b9998505050505050505050565b6060600061129183610ce2565b61129b90856119ee565b905060006112aa8787846111bf565b905060006112c58360ff166112bf8a8a611549565b90611556565b90506112d18282611588565b98975050505050505050565b606060006112eb8560801c90565b90506fffffffffffffffffffffffffffffffff851660008461132357611312866008611aae565b61131e90610100611a4e565b611326565b60005b9050600086838161133957611339611a65565b0490506113468784611acd565b156113d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a65000000606482015260840161018f565b602080820201604051955080860160405250808552600060208601855b83831015611412578051851c82526001929092019160209091019089016113f0565b505050505050509392505050565b6000838161142e8260c81c90565b9050600061143f878760ff16611556565b9050808510611463576114528186611a4e565b61145c9083611a36565b915061147a565b61146d8582611a4e565b6114779083611a4e565b91505b6000611487876005611aae565b611492906007611a36565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c176112d1565b60608267ffffffffffffffff81111561150c5761150c61175c565b6040519080825280601f01601f191660200182016040528015611536576020820181803683370190505b5090506020810161118585858584611596565b600080610ec88484610cab565b600080611564836005611aae565b61156f906007611a36565b905061157d84826008021b90565b60d81c949350505050565b6060610198838360006114f1565b6020820484019350602082816115ae576115ae611a65565b06915081156115ff5760208290036000600019600883021c1990508554600885021b8119845116828216178452508185116115ea575050610083565b6115f5600187611a36565b9550509283900392015b602083106116275783548152611616600185611a36565b9350601f19909201916020016115ff565b8215610083576000600019600885021c198251865482169119161782525050505050565b80356fffffffffffffffffffffffffffffffff1981168114610b6357600080fd5b60008060006060848603121561168157600080fd5b61168a8461164b565b92506116986020850161164b565b9150604084013573ffffffffffffffffffffffffffffffffffffffff811681146116c157600080fd5b809150509250925092565b60005b838110156116e75781810151838201526020016116cf565b838111156100835750506000910152565b600081518084526117108160208601602086016116cc565b601f01601f19169290920160200192915050565b60408152600061173760408301856116f8565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b805160208083015191908110156117a9576000198160200360031b1b821691505b50919050565b600081518084526020808501945080840160005b838110156117df578151875295820195908201906001016117c3565b509495945050505050565b828152604060208201526000610c2760408301846117af565b84815260806020820152600061181c60808301866117af565b60ff85166040840152828103606084015261183781856116f8565b979650505050505050565b83815260606020820152600061185b60608301856117af565b905060ff83166040830152949350505050565b60006020828403121561188057600080fd5b815167ffffffffffffffff8082111561189857600080fd5b818401915084601f8301126118ac57600080fd5b8151818111156118be576118be61175c565b604051601f8201601f19908116603f011681019083821181831017156118e6576118e661175c565b816040528281528760208487010111156118ff57600080fd5b6118378360208301602088016116cc565b634e487b7160e01b600052601160045260246000fd5b6000600019820361193957611939611910565b5060010190565b828152604060208201526000610c2760408301846116f8565b838152826020820152606060408201526000610b0a60608301846117af565b83815282602082015260806040820152600061199760808301846117af565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b634e487b7160e01b600052602160045260246000fd5b600060ff821660ff841680821015611a0857611a08611910565b90039392505050565b606081526000611a2460608301866116f8565b60208301949094525060400152919050565b60008219821115611a4957611a49611910565b500190565b600082821015611a6057611a60611910565b500390565b634e487b7160e01b600052601260045260246000fd5b848152836020820152608060408201526000611a9a60808301856117af565b905060ff8316606083015295945050505050565b6000816000190483118215151615611ac857611ac8611910565b500290565b600082611aea57634e487b7160e01b600052601260045260246000fd5b50069056fea164736f6c634300080d000a"; - -type AccessManagementSystemConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: AccessManagementSystemConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class AccessManagementSystem__factory extends ContractFactory { - constructor(...args: AccessManagementSystemConstructorParams) { - 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): AccessManagementSystem { - return super.attach(address) as AccessManagementSystem; - } - override connect(signer: Signer): AccessManagementSystem__factory { - return super.connect(signer) as AccessManagementSystem__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): AccessManagementSystemInterface { - return new utils.Interface(_abi) as AccessManagementSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): AccessManagementSystem { - return new Contract( - address, - _abi, - signerOrProvider - ) as AccessManagementSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/CoreModule__factory.ts b/packages/world/types/ethers-contracts/factories/CoreModule__factory.ts deleted file mode 100644 index b601bf4abf..0000000000 --- a/packages/world/types/ethers-contracts/factories/CoreModule__factory.ts +++ /dev/null @@ -1,198 +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 { CoreModule, CoreModuleInterface } from "../CoreModule"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resourceSelector", - type: "string", - }, - ], - name: "RequiredModuleNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [], - name: "getName", - outputs: [ - { - internalType: "bytes16", - name: "", - type: "bytes16", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "install", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a0604052604051620000129062000050565b604051809103906000f0801580156200002f573d6000803e3d6000fd5b506001600160a01b03166080523480156200004957600080fd5b506200005e565b614f4b8062003c2383390190565b608051613ba2620000816000396000818161017501526104f80152613ba26000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806313861fb51461003b57806317d7de7c14610050575b600080fd5b61004e6100493660046135a1565b610083565b005b604080517f636f72652e6d0000000000000000000000000000000000000000000000000000815290519081900360200190f35b61008b61009e565b610093610138565b61009b610246565b50565b6100a661060c565b6100ae610673565b6100b66106d6565b6100be610722565b6100c6610780565b6100da60006100d36107cc565b60016107fe565b6100e26108fb565b6100ea610959565b6100f26109a5565b6100fa610a03565b610102610a4f565b61010a610aa5565b610112610af1565b61011a610b4f565b610122610b9b565b61012a610bf1565b61013660006001610c3d565b565b61009b6101436107cc565b604051600060248201527f636f72652e73000000000000000000000000000000000000000000000000000060448201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8116606483015260016084830152907f4c9e9f11000000000000000000000000000000000000000000000000000000009060a4015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915260016000610d22565b60408051610220810182527fa886545e0000000000000000000000000000000000000000000000000000000081527f31b99d890000000000000000000000000000000000000000000000000000000060208201527f096fcaa900000000000000000000000000000000000000000000000000000000918101919091527f7a58dce40000000000000000000000000000000000000000000000000000000060608201527f8ae710e90000000000000000000000000000000000000000000000000000000060808201527f3ca90f220000000000000000000000000000000000000000000000000000000060a08201527f4c9e9f110000000000000000000000000000000000000000000000000000000060c08201527fca4c1f5e0000000000000000000000000000000000000000000000000000000060e08201527f56f55a97000000000000000000000000000000000000000000000000000000006101008201527fd5933686000000000000000000000000000000000000000000000000000000006101208201527ffe86a89f000000000000000000000000000000000000000000000000000000006101408201527f6e81fd71000000000000000000000000000000000000000000000000000000006101608201527f8da798da000000000000000000000000000000000000000000000000000000006101808201527ff227e653000000000000000000000000000000000000000000000000000000006101a08201527f1e42269e000000000000000000000000000000000000000000000000000000006101c08201527fbe83698c000000000000000000000000000000000000000000000000000000006101e08201527fab7404bb0000000000000000000000000000000000000000000000000000000061020082015260005b6011811015610608576105f56104f66107cc565b7f00000000000000000000000000000000000000000000000000000000000000007f56f55a970000000000000000000000000000000000000000000000000000000060007f636f72652e73000000000000000000000000000000000000000000000000000087876011811061056d5761056d613621565b602002015188886011811061058457610584613621565b60200201516040517fffffffffffffffffffffffffffffffff0000000000000000000000000000000094851660248201529390921660448401527fffffffff00000000000000000000000000000000000000000000000000000000908116606484015216608482015260a4016101de565b50806106008161364d565b9150506104e2565b5050565b600080610617610e4c565b60408051600060208201527f4e616d6573706163654f776e6572000000000000000000000000000000000000603082015292945090925061060891015b60405160208183030381529060405261066c90613667565b8383610f14565b60408051600060208201527f496e7374616c6c65644d6f64756c657300000000000000000000000000000000603082015261013691016040516020818303038152906040526106c190613667565b6106c9610fa3565b6106d161101b565b61109a565b6000806106e16110fd565b60408051600060208201527f496e7374616c6c65644d6f64756c65730000000000000000000000000000000060308201529294509092506106089101610654565b60408051600060208201527f5265736f757263654163636573730000000000000000000000000000000000006030820152610136910160405160208183030381529060405261077090613667565b6107786111c5565b6106d16111ff565b60008061078b61127e565b60408051600060208201527f5265736f7572636541636365737300000000000000000000000000000000000060308201529294509092506106089101610654565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec36013560601c806107fb5750335b90565b604080516002808252606082018352600092602083019080368337019050509050838160008151811061083357610833613621565b6020026020010181815250508273ffffffffffffffffffffffffffffffffffffffff1660001b8160018151811061086c5761086c613621565b602090810291909101810191909152604080516000818401527f5265736f75726365416363657373000000000000000000000000000000000000603082015281518082039093018352810190526108f5906108c690613667565b826000856040516020016108e191151560f81b815260010190565b604051602081830303815290604052611346565b50505050565b60408051600060208201527f53797374656d73000000000000000000000000000000000000000000000000006030820152610136910160405160208183030381529060405261094990613667565b6109516113de565b6106d161145d565b600080610964611497565b60408051600060208201527f53797374656d730000000000000000000000000000000000000000000000000060308201529294509092506106089101610654565b60408051600060208201527f46756e6374696f6e53656c6563746f7200000000000000000000000000000000603082015261013691016040516020818303038152906040526109f390613667565b6109fb6115b2565b6106d1611677565b600080610a0e6116b1565b60408051600060208201527f46756e6374696f6e53656c6563746f720000000000000000000000000000000060308201529294509092506106089101610654565b60408051600060208201527f53797374656d486f6f6b7300000000000000000000000000000000000000000060308201526101369101604051602081830303815290604052610a9d90613667565b610951611822565b600080610ab061185c565b60408051600060208201527f53797374656d486f6f6b7300000000000000000000000000000000000000000060308201529294509092506106089101610654565b60408051600060208201527f53797374656d526567697374727900000000000000000000000000000000000060308201526101369101604051602081830303815290604052610b3f90613667565b610b4761145d565b6106d1610fa3565b600080610b5a611924565b60408051600060208201527f53797374656d526567697374727900000000000000000000000000000000000060308201529294509092506106089101610654565b60408051600060208201527f5265736f7572636554797065000000000000000000000000000000000000000060308201526101369101604051602081830303815290604052610be990613667565b6109516119ec565b600080610bfc611a26565b60408051600060208201527f5265736f7572636554797065000000000000000000000000000000000000000060308201529294509092506106089101610654565b604080516001808252818301909252600091602080830190803683370190505090508281600081518110610c7357610c73613621565b602090810291909101810191909152604080516000818401527f5265736f7572636554797065000000000000000000000000000000000000000060308201528151808203909301835281019052610d1d90610ccd90613667565b826000856003811115610ce257610ce261368e565b6040516020016108e1919060f89190911b7fff0000000000000000000000000000000000000000000000000000000000000016815260010190565b505050565b606060008487604051602001610d399291906136d0565b604051602081830303815290604052905060008085610dc0578773ffffffffffffffffffffffffffffffffffffffff168584604051610d78919061371a565b60006040518083038185875af1925050503d8060008114610db5576040519150601f19603f3d011682016040523d82523d6000602084013e610dba565b606091505b50610e27565b8773ffffffffffffffffffffffffffffffffffffffff1683604051610de5919061371a565b600060405180830381855af49150503d8060008114610e20576040519150601f19603f3d011682016040523d82523d6000602084013e610e25565b606091505b505b915091508115610e3b579250610e43915050565b805160208201fd5b95945050505050565b6040805160018082528183019092526060918291600091816020015b6060815260200190600190039081610e685790505090506040518060400160405280600581526020017f6f776e657200000000000000000000000000000000000000000000000000000081525081600081518110610ec857610ec8613621565b6020026020010181905250806040518060400160405280600e81526020017f4e616d6573706163654f776e65720000000000000000000000000000000000008152509092509250509091565b610f1c611aee565b15610f2c57610d1d838383611b6c565b6040517ffe86a89f000000000000000000000000000000000000000000000000000000008152339063fe86a89f90610f6c908690869086906004016137b7565b600060405180830381600087803b158015610f8657600080fd5b505af1158015610f9a573d6000803e3d6000fd5b50505050505050565b60408051600180825281830190925260009182919060208083019080368337019050509050606181600081518110610fdd57610fdd613621565b602002602001019060c5811115610ff657610ff661368e565b908160c58111156110095761100961368e565b90525061101581611c0f565b91505090565b60408051600280825260608201835260009283929190602083019080368337019050509050604f8160008151811061105557611055613621565b602002602001019060c581111561106e5761106e61368e565b908160c58111156110815761108161368e565b81525050605f81600181518110610fdd57610fdd613621565b6110a2611aee565b156110b257610d1d838383611e69565b6040517fd5933686000000000000000000000000000000000000000000000000000000008152600481018490526024810183905260448101829052339063d593368690606401610f6c565b6040805160018082528183019092526060918291600091816020015b60608152602001906001900390816111195790505090506040518060400160405280600d81526020017f6d6f64756c6541646472657373000000000000000000000000000000000000008152508160008151811061117957611179613621565b6020026020010181905250806040518060400160405280601081526020017f496e7374616c6c65644d6f64756c6573000000000000000000000000000000008152509092509250509091565b60408051600180825281830190925260009182919060208083019080368337019050509050606081600081518110610fdd57610fdd613621565b60408051600280825260608201835260009283929190602083019080368337019050509050605f8160008151811061123957611239613621565b602002602001019060c58111156112525761125261368e565b908160c58111156112655761126561368e565b81525050606181600181518110610fdd57610fdd613621565b6040805160018082528183019092526060918291600091816020015b606081526020019060019003908161129a5790505090506040518060400160405280600681526020017f6163636573730000000000000000000000000000000000000000000000000000815250816000815181106112fa576112fa613621565b6020026020010181905250806040518060400160405280600e81526020017f5265736f757263654163636573730000000000000000000000000000000000008152509092509250509091565b61134e611aee565b156113645761135f84848484611ed6565b6108f5565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a7266906113a6908790879087908790600401613827565b600060405180830381600087803b1580156113c057600080fd5b505af11580156113d4573d6000803e3d6000fd5b5050505050505050565b6040805160028082526060820183526000928392919060208301908036833701905050905060618160008151811061141857611418613621565b602002602001019060c58111156114315761143161368e565b908160c58111156114445761144461368e565b81525050606081600181518110610fdd57610fdd613621565b60408051600180825281830190925260009182919060208083019080368337019050509050605f81600081518110610fdd57610fdd613621565b60408051600280825260608281019093528291600091816020015b60608152602001906001900390816114b25790505090506040518060400160405280600681526020017f73797374656d00000000000000000000000000000000000000000000000000008152508160008151811061151257611512613621565b60200260200101819052506040518060400160405280600c81526020017f7075626c696341636365737300000000000000000000000000000000000000008152508160018151811061156657611566613621565b6020026020010181905250806040518060400160405280600781526020017f53797374656d73000000000000000000000000000000000000000000000000008152509092509250509091565b6040805160038082526080820190925260009182919060208201606080368337019050509050604f816000815181106115ed576115ed613621565b602002602001019060c58111156116065761160661368e565b908160c58111156116195761161961368e565b81525050604f8160018151811061163257611632613621565b602002602001019060c581111561164b5761164b61368e565b908160c581111561165e5761165e61368e565b81525050604381600281518110610fdd57610fdd613621565b60408051600180825281830190925260009182919060208083019080368337019050509050604381600081518110610fdd57610fdd613621565b604080516003808252608082019092526060918291600091816020015b60608152602001906001900390816116ce5790505090506040518060400160405280600981526020017f6e616d65737061636500000000000000000000000000000000000000000000008152508160008151811061172e5761172e613621565b60200260200101819052506040518060400160405280600481526020017f6e616d65000000000000000000000000000000000000000000000000000000008152508160018151811061178257611782613621565b60200260200101819052506040518060400160405280601681526020017f73797374656d46756e6374696f6e53656c6563746f7200000000000000000000815250816002815181106117d6576117d6613621565b6020026020010181905250806040518060400160405280601181526020017f46756e6374696f6e53656c6563746f72730000000000000000000000000000008152509092509250509091565b6040805160018082528183019092526000918291906020808301908036833701905050905060c381600081518110610fdd57610fdd613621565b6040805160018082528183019092526060918291600091816020015b60608152602001906001900390816118785790505090506040518060400160405280600581526020017f76616c7565000000000000000000000000000000000000000000000000000000815250816000815181106118d8576118d8613621565b6020026020010181905250806040518060400160405280600b81526020017f53797374656d486f6f6b730000000000000000000000000000000000000000008152509092509250509091565b6040805160018082528183019092526060918291600091816020015b60608152602001906001900390816119405790505090506040518060400160405280601081526020017f7265736f7572636553656c6563746f7200000000000000000000000000000000815250816000815181106119a0576119a0613621565b6020026020010181905250806040518060400160405280600e81526020017f53797374656d52656769737472790000000000000000000000000000000000008152509092509250509091565b60408051600180825281830190925260009182919060208083019080368337019050509050600081600081518110610fdd57610fdd613621565b6040805160018082528183019092526060918291600091816020015b6060815260200190600190039081611a425790505090506040518060400160405280600c81526020017f7265736f7572636554797065000000000000000000000000000000000000000081525081600081518110611aa257611aa2613621565b6020026020010181905250806040518060400160405280600c81526020017f5265736f757263655479706500000000000000000000000000000000000000008152509092509250509091565b6000303b808203611b0157600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b158015611b4757600080fd5b505afa925050508015611b58575060015b611b6457600091505090565b600191505090565b6000611b77846120c1565b9050815160001480611b945750611b8d81612116565b60ff168251145b611be557611ba181612116565b82516040517ff2b2755900000000000000000000000000000000000000000000000000000000815260ff909216600483015260248201526044015b60405180910390fd5b6108f5848484604051602001611bfb919061385b565b60405160208183030381529060405261213a565b6000601c82511115611c39578151604051635318beb960e01b8152600401611bdc91815260200190565b60008060008060005b8651811015611d65576000611c80888381518110611c6257611c62613621565b602002602001015160c5811115611c7b57611c7b61368e565b6121f2565b905061ffff811615611cd6578215611cc4576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83611cce8161386e565b945050611cdb565b600192505b611ce5818661388d565b9450611d5a86611cf68460046138b3565b8a8581518110611d0857611d08613621565b602002602001015160c5811115611d2157611d2161368e565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101611c42565b506000828751611d7591906138cb565b905060058160ff161115611da157604051635318beb960e01b815260ff82166004820152602401611bdc565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b16175b979650505050505050565b611e748260006122aa565b611e7f8160016122aa565b611e888361247b565b15611ecb5782611e9784612494565b6040517f147bbb8c000000000000000000000000000000000000000000000000000000008152600401611bdc9291906138ee565b610d1d8383836124bf565b6000611ee1856120c1565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4685858585604051611f189493929190613827565b60405180910390a16000611f2b86612636565b905060005b8151811015611fdc576000828281518110611f4d57611f4d613621565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee2898989896040518563ffffffff1660e01b8152600401611f969493929190613827565b600060405180830381600087803b158015611fb057600080fd5b505af1158015611fc4573d6000803e3d6000fd5b50505050508080611fd49061364d565b915050611f30565b50611fe6826126fe565b60ff168460ff16101561200557612000868684878761270f565b612012565b61201286868487876127b5565b60005b8151811015610f9a57600082828151811061203257612032613621565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f898989896040518563ffffffff1660e01b815260040161207b9493929190613827565b600060405180830381600087803b15801561209557600080fd5b505af11580156120a9573d6000803e3d6000fd5b505050505080806120b99061364d565b915050612015565b60006120cc826127f2565b90508061211157816120dd83612494565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401611bdc9291906138ee565b919050565b60006121218261288e565b61212a836126fe565b6121349190613907565b92915050565b6000612146838361289a565b6040805160018082528183019092529192506000919060208083019080368337019050509050848160008151811061218057612180613621565b60209081029190910181019190915260408051676d756473746f726560c01b818401527f53746f72654d6574616461746100000000000000000000000000000000000000603082015281518082039093018352810190526121eb906121e490613667565b828461295c565b5050505050565b6000808260c58111156122075761220761368e565b60ff1690506020811015612227576122208160016138b3565b9392505050565b604081101561224757602061223d8260016138b3565b612220919061392c565b606081101561225d57604061223d8260016138b3565b60608360c58111156122715761227161368e565b0361227f5750600192915050565b60618360c58111156122935761229361368e565b036122a15750601492915050565b50600092915050565b801580156122b6575081155b156122d757604051635318beb960e01b815260006004820152602401611bdc565b60006122e28361288e565b60ff169050600581111561230c57604051635318beb960e01b815260048101829052602401611bdc565b6000612317846126fe565b60ff169050601c61232883836138b3565b11156123545761233882826138b3565b604051635318beb960e01b8152600401611bdc91815260200190565b60008060005b61236485856138b3565b81101561242c57600061238b61237a89846129b4565b60c5811115611c7b57611c7b61368e565b11156123dc578381106123ca576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826123d48161364d565b935050612424565b83811015612416576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816124208161364d565b9250505b60010161235a565b5082821461245057604051635318beb960e01b815260048101839052602401611bdc565b83811461247357604051635318beb960e01b815260048101829052602401611bdc565b505050505050565b600061248d612489836127f2565b1590565b1592915050565b6060816040516020016124a991815260200190565b6040516020818303038152906040529050919050565b6040805160018082528183019092526000916020808301908036833701905050905083816000815181106124f5576124f5613621565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f736368656d610000000000000000000000000000000000000000000000000000603083015260009161256891015b60405160208183030381529060405261256290613667565b836129e0565b848155905061258061257b8260016138b3565b849055565b60408051676d756473746f726560c01b60208201527f736368656d61000000000000000000000000000000000000000000000000000060308201527f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee3291016040516020818303038152906040526125f690613667565b83868660408051602081019390935282015260600160408051601f1981840301815290829052612627939291613943565b60405180910390a15050505050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061267057612670613621565b60209081029190910181019190915260408051676d756473746f726560c01b818401527f486f6f6b73000000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906126df906126d790613667565b836000612a36565b90506126f66126f18260008451612adc565b612b6c565b949350505050565b6000601082901b5b60f81c92915050565b600061271e8460ff85166129b4565b905081516127378260c5811115611c7b57611c7b61368e565b1461278e576127518160c5811115611c7b57611c7b61368e565b82516040517f521b3d3300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401611bdc565b600061279a87876129e0565b905060006127a88686612b7d565b90506113d4828286612bc0565b60006127c0846126fe565b6127ca90846138cb565b90506127d98686838551612bd5565b60006127e6878784612c07565b9050610f9a8184612c60565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061282b5761282b613621565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f736368656d6100000000000000000000000000000000000000000000000000006030830152600091612884910161254a565b90506126f6815490565b6000601882901b612706565b604080516002808252606080830184529260009291906020830190803683370190505090508351816000815181106128d4576128d4613621565b602002602001019064ffffffffff16908164ffffffffff168152505082518160018151811061290557612905613621565b602002602001019064ffffffffff16908164ffffffffff1681525050600061292c82612c6c565b90508085856040516020016129439392919061396e565b6040516020818303038152906040529250505092915050565b612964611aee565b1561297457610d1d838383612d49565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f90610f6c90869086908690600401613943565b60006129cc836129c58460046138b3565b6008021b90565b60f81c60c58111156122205761222061368e565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001612a17939291906139ab565b60408051601f1981840301815291905280516020909101209392505050565b6060612a40611aee565b15612a5757612a50848484612f2a565b9050612220565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c90612a97908790879087906004016139ca565b600060405180830381865afa158015612ab4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a5091908101906139f6565b6000818311158015612aef575083518211155b612b2b578383836040517f23230fa3000000000000000000000000000000000000000000000000000000008152600401611bdc93929190613a64565b60208401612b3984826138b3565b90506000612b47858561392c565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b606060006122208360146000612f45565b600080805b8360ff16811015612bb857612b9a61237a86836129b4565b612ba490836138b3565b915080612bb08161364d565b915050612b82565b509392505050565b60006020820190506108f58484838551613088565b6000612be18585613146565b90506000612bed825490565b9050612bfd8160ff86168561317d565b8083559050612473565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9848484604051602001612c409493929190613a89565b60408051601f198184030181529190528051602090910120949350505050565b61060882600083612bc0565b6000806000805b8451811015612d2157612ce983612c8b836005613abc565b612c969060076138b3565b878481518110612ca857612ca8613621565b602002602001015160d81b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b9250848181518110612cfd57612cfd613621565b602002602001015164ffffffffff1682612d179190613adb565b9150600101612c73565b5078ffffffffffffffffffffffffffffffffffffffffffffffffff821660c882901b176126f6565b6000612d54846120c1565b9050600080612d638385613256565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee32868686604051612d9a93929190613943565b60405180910390a16000612dad87612636565b905060005b8151811015612e5c576000828281518110612dcf57612dcf613621565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166382b6745f8a8a8a6040518463ffffffff1660e01b8152600401612e1693929190613943565b600060405180830381600087803b158015612e3057600080fd5b505af1158015612e44573d6000803e3d6000fd5b50505050508080612e549061364d565b915050612db2565b506000612e6988886129e0565b905060208601612e7c8260008388613088565b612e878560206138b3565b612e9190826138b3565b9050612e9c8661288e565b60ff16600003612eb157505050505050505050565b6000612ebd8a8a613146565b858155905060008060005b612ed18a61288e565b60ff168160ff161015612f1b57612ee98d8d83612c07565b9250612ef88860ff83166132f4565b9150612f078360008785613088565b612f1182866138b3565b9450600101612ec8565b50505050505050505050505050565b60606000612f37856120c1565b9050610e4385858584613326565b60606000612f538560801c90565b90506fffffffffffffffffffffffffffffffff8516600084612f8b57612f7a866008613abc565b612f869061010061392c565b612f8e565b60005b90506000868381612fa157612fa1613afd565b049050612fae8784613b13565b1561303b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401611bdc565b602080820201604051955080860160405250808552600060208601855b8383101561307a578051851c8252600192909201916020909101908901613058565b505050505050509392505050565b6020830484019350602083816130a0576130a0613afd565b06925082156130f95760208390036000600019600884021c1990506008850281811c91508451811c90508119875416828216178755508183116130e45750506108f5565b6130ef6001876138b3565b9550509182019190035b6020811061312257815184556131106001856138b3565b935060209190910190601f19016130f9565b80156108f5576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001612a1793929190613b35565b6000838161318b8260c81c90565b9050600061319c878760ff166132f4565b90508085106131c0576131af818661392c565b6131b990836138b3565b91506131d7565b6131ca858261392c565b6131d4908361392c565b91505b60006131e4876005613abc565b6131ef9060076138b3565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c175b98975050505050505050565b6000806132638460f01c90565b91508160006132718661288e565b60ff1611156132a55782840160200151915061328d8260c81c90565b6132989060206138b3565b6132a290826138b3565b90505b835181146132ec5783516040517f521b3d33000000000000000000000000000000000000000000000000000000008152611bdc918391600401918252602082015260400190565b509250929050565b600080613302836005613abc565b61330d9060076138b3565b905061331b84826008021b90565b60d81c949350505050565b6060613331826126fe565b60ff168360ff1610156133515761334a8585858561335d565b90506126f6565b61334a858585856133bd565b6060600061336e8360ff86166129b4565b905060006133878260c5811115611c7b57611c7b61368e565b9050600061339588886129e0565b905060006133a38688612b7d565b90506133b082848361340a565b9998505050505050505050565b606060006133ca836126fe565b6133d490856138cb565b905060006133e3878784612c07565b905060006133fe8360ff166133f88a8a613462565b906132f4565b905061324a828261346f565b60608267ffffffffffffffff81111561342557613425613532565b6040519080825280601f01601f19166020018201604052801561344f576020820181803683370190505b50905060208101612bb88585858461347d565b6000806128848484613146565b60606122208383600061340a565b60208204840193506020828161349557613495613afd565b06915081156134e65760208290036000600019600883021c1990508554600885021b8119845116828216178452508185116134d15750506108f5565b6134dc6001876138b3565b9550509283900392015b6020831061350e57835481526134fd6001856138b3565b9350601f19909201916020016134e6565b82156108f5576000600019600885021c198251865482169119161782525050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561357157613571613532565b604052919050565b600067ffffffffffffffff82111561359357613593613532565b50601f01601f191660200190565b6000602082840312156135b357600080fd5b813567ffffffffffffffff8111156135ca57600080fd5b8201601f810184136135db57600080fd5b80356135ee6135e982613579565b613548565b81815285602083850101111561360357600080fd5b81602084016020830137600091810160200191909152949350505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019820361366057613660613637565b5060010190565b80516020808301519190811015613688576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052602160045260246000fd5b60005b838110156136bf5781810151838201526020016136a7565b838111156108f55750506000910152565b600083516136e28184602088016136a4565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b6000825161372c8184602087016136a4565b9190910192915050565b6000815180845261374e8160208601602086016136a4565b601f01601f19169290920160200192915050565b600081518084526020808501808196508360051b8101915082860160005b858110156137aa578284038952613798848351613736565b98850198935090840190600101613780565b5091979650505050505050565b8381526060602082015260006137d06060830185613736565b82810360408401526137e28185613762565b9695505050505050565b600081518084526020808501945080840160005b8381101561381c57815187529582019590820190600101613800565b509495945050505050565b84815260806020820152600061384060808301866137ec565b60ff851660408401528281036060840152611e5e8185613736565b6020815260006122206020830184613762565b600060ff821660ff810361388457613884613637565b60010192915050565b600061ffff8083168185168083038211156138aa576138aa613637565b01949350505050565b600082198211156138c6576138c6613637565b500190565b600060ff821660ff8416808210156138e5576138e5613637565b90039392505050565b8281526040602082015260006126f66040830184613736565b600060ff821660ff84168060ff0382111561392457613924613637565b019392505050565b60008282101561393e5761393e613637565b500390565b83815260606020820152600061395c60608301856137ec565b82810360408401526137e28185613736565b838152600083516139868160208501602088016136a4565b8083019050835161399e8160208401602088016136a4565b0160200195945050505050565b838152826020820152606060408201526000610e4360608301846137ec565b8381526060602082015260006139e360608301856137ec565b905060ff83166040830152949350505050565b600060208284031215613a0857600080fd5b815167ffffffffffffffff811115613a1f57600080fd5b8201601f81018413613a3057600080fd5b8051613a3e6135e982613579565b818152856020838501011115613a5357600080fd5b610e438260208301602086016136a4565b606081526000613a776060830186613736565b60208301949094525060400152919050565b848152836020820152608060408201526000613aa860808301856137ec565b905060ff8316606083015295945050505050565b6000816000190483118215151615613ad657613ad6613637565b500290565b600066ffffffffffffff8083168185168083038211156138aa576138aa613637565b634e487b7160e01b600052601260045260246000fd5b600082613b3057634e487b7160e01b600052601260045260246000fd5b500690565b838152826020820152608060408201526000613b5460808301846137ec565b8281036060840152600681527f6c656e677468000000000000000000000000000000000000000000000000000060208201526040810191505094935050505056fea164736f6c634300080d000a608060405234801561001057600080fd5b50614f2b806100206000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c80638ae710e9116100b2578063be83698c11610081578063d593368611610066578063d593368614610270578063f227e65314610283578063fe86a89f1461029657600080fd5b8063be83698c1461024a578063ca4c1f5e1461025d57600080fd5b80638ae710e9146101fe5780638da798da14610211578063a886545e14610224578063ab7404bb1461023757600080fd5b80634c9e9f11116100ee5780634c9e9f111461018157806356f55a97146101945780636e81fd71146101d85780637a58dce4146101eb57600080fd5b8063096fcaa9146101205780631e42269e1461013557806331b99d89146101485780633ca90f221461016e575b600080fd5b61013361012e366004614125565b6102a9565b005b6101336101433660046141cf565b610314565b61015b61015636600461421a565b610335565b6040519081526020015b60405180910390f35b61013361017c3660046141cf565b610462565b61015b61018f366004614260565b61047d565b6101a76101a23660046142f1565b61059e565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610165565b6101336101e6366004614349565b610659565b6101336101f93660046141cf565b610745565b61013361020c3660046141cf565b6107c3565b61013361021f366004614426565b6107de565b61013361023236600461448a565b6108e1565b6101336102453660046144a7565b61094f565b61013361025836600461452a565b6109cf565b6101a761026b3660046145c4565b6109ed565b61013361027e36600461464d565b610b38565b6101336102913660046141cf565b610bbf565b6101336102a4366004614679565b610bdc565b60006102bd87876102b8610c4b565b610c7d565b905061030b8186868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061030692508791508890506146e2565b610d0b565b50505050505050565b600061032384846102b8610c4b565b905061032f8183610da9565b50505050565b60006001600160801b03198516608085901c1790506001600160801b0319841661039e5761036281610e6f565b6040517fe56728c000000000000000000000000000000000000000000000000000000000815260040161039591906147be565b60405180910390fd5b60006103b36001600160801b03198716610f43565b60038111156103c4576103c46147d1565b036103d7576103d2856108e1565b6103e7565b6103e58560006102b8610c4b565b505b60006103f282610f43565b6003811115610403576104036147d1565b146104445761041181610e6f565b6040517f0f2fac6100000000000000000000000000000000000000000000000000000000815260040161039591906147be565b61044f816002610fff565b61045a8184846110f3565b949350505050565b600061047184846102b8610c4b565b905061032f8183611160565b60006001600160801b03198516608085901c1790506001600160801b031984166104aa5761036281610e6f565b6104b38361122e565b156104f5576040517fb86487840000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610395565b600061050a6001600160801b03198716610f43565b600381111561051b5761051b6147d1565b0361052e57610529856108e1565b61053e565b61053c8560006102b8610c4b565b505b600061054982610f43565b600381111561055a5761055a6147d1565b146105685761041181610e6f565b610573816003610fff565b61057e8184846112cb565b61058883826113a3565b61045a6001600160801b03198616846001611455565b60006105ad81806102b8610c4b565b5060006105b98461152b565b905060006105c6856115ce565b90506001600160801b031982161580156105e857506001600160801b03198116155b610642576040517f9b2a16a90000000000000000000000000000000000000000000000000000000081527fffffffff0000000000000000000000000000000000000000000000000000000086166004820152602401610395565b61064e8588888761168c565b509295945050505050565b60006106746f636f72652e730000000000000000000061178c565b50905061032f610682610c4b565b827f8ae710e900000000000000000000000000000000000000000000000000000000866106af8860801b90565b6040516001600160801b03199283166024820152911660448201526001600160a01b03871660648201526084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915260016000611848565b60006107606001600160801b03198516608085901c17610f43565b90506002816003811115610776576107766147d1565b036107865761032f8484846107c3565b600381600381111561079a5761079a6147d1565b036107aa5761032f848484610462565b6103626001600160801b03198516608085901c17610e6f565b60006107d284846102b8610c4b565b905061032f8183611958565b61086a6107e9610c4b565b836313861fb560e01b8460405160240161080391906147be565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600080611848565b506108dd826001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d091906147e7565b8251602084012084611962565b5050565b6001600160801b0319811660006108f782610f43565b6003811115610908576109086147d1565b146109165761041181610e6f565b61092b6001600160801b031983166001610fff565b61093c82610937610c4b565b611a26565b6108dd81610948610c4b565b6001611455565b600061095c878733611af2565b905061030b8186868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881529250889150879081908401838280828437600092019190915250611b1b92505050565b6109e6856109dd8760801b90565b8686868661094f565b5050505050565b60006109fc85856102b8610c4b565b506000610a0886611c1c565b90506000610a1586611c1c565b905081818686604051602001610a2e9493929190614804565b6040516020818303038152906040528051906020012092506000610a518461152b565b90506000610a5e856115ce565b90506001600160801b03198216151580610a8157506001600160801b0319811615155b15610adc576040517f9b2a16a90000000000000000000000000000000000000000000000000000000081527fffffffff0000000000000000000000000000000000000000000000000000000086166004820152602401610395565b60008787604051602001610af1929190614891565b604051602081830303815290604052905060008151600014610b195781516020830120610b1c565b60005b9050610b2a878c8c8461168c565b505050505050949350505050565b6000610b536f636f72652e730000000000000000000061178c565b5090506109e6610b61610c4b565b827f31b99d890000000000000000000000000000000000000000000000000000000087610b8e8960801b90565b6040516001600160801b0319928316602482015291166044820152606481018890526084810187905260a4016106dd565b6000610bce84846102b8610c4b565b905061032f81836001611455565b6000610bf76f636f72652e730000000000000000000061178c565b50905061030b610c05610c4b565b827f096fcaa90000000000000000000000000000000000000000000000000000000089610c328b60801b90565b8a8a8a8a6040516024016106dd969594939291906148eb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec36013560601c80610c7a5750335b90565b608082901c6001600160801b03198416176001600160a01b0382163014801590610cc15750816001600160a01b0316610cb585611c9a565b6001600160a01b031614155b15610d0457610ccf81610e6f565b826040517fe64c03480000000000000000000000000000000000000000000000000000000081526004016103959291906149d4565b9392505050565b6000610d1684611d40565b9050815160001480610d335750610d2c81611d95565b60ff168251145b610d7f57610d4081611d95565b82516040517ff2b2755900000000000000000000000000000000000000000000000000000000815260ff90921660048301526024820152604401610395565b61032f848484604051602001610d9591906149ff565b604051602081830303815290604052611db9565b6040805160028082526060820183526000926020830190803683370190505090508281600081518110610dde57610dde614a7f565b602002602001018181525050816001600160a01b031660001b81600181518110610e0a57610e0a614a7f565b602090810291909101810191909152604080516000818401527f5265736f7572636541636365737300000000000000000000000000000000000060308201528151808203909301835281019052610e6a90610e6490614a95565b82611e55565b505050565b606081608081901b6001600160801b0319821615610e8d5781610eaf565b7f524f4f545f4e414d4553504143450000000000000000000000000000000000005b6001600160801b0319821615610ec55781610ee7565b7f524f4f545f4e414d4500000000000000000000000000000000000000000000005b6040516001600160801b031992831660208201527f2f0000000000000000000000000000000000000000000000000000000000000060308201529116603182015260410160405160208183030381529060405292505050919050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610f7c57610f7c614a7f565b6020908102919091018101919091526040805160009281018390527f5265736f757263655479706500000000000000000000000000000000000000006030820152610fe391015b604051602081830303815290604052610fdb90614a95565b836000611ed8565b602081015190915060f81c600381111561045a5761045a6147d1565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061103557611035614a7f565b602090810291909101810191909152604080516000818401527f5265736f7572636554797065000000000000000000000000000000000000000060308201528151808203909301835281019052610e6a9061108f90614a95565b8260008560038111156110a4576110a46147d1565b6040516020016110df919060f89190911b7fff0000000000000000000000000000000000000000000000000000000000000016815260010190565b604051602081830303815290604052611f7e565b6110fe826000612016565b611109816001612016565b611112836121e4565b156111555782611121846121fd565b6040517f147bbb8c000000000000000000000000000000000000000000000000000000008152600401610395929190614abc565b610e6a838383612228565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061119657611196614a7f565b602090810291909101810191909152604080516000928101929092527f53797374656d486f6f6b730000000000000000000000000000000000000000006030830152610e6a91015b6040516020818303038152906040526111f690614a95565b6040516bffffffffffffffffffffffff19606086901b166020820152839060009060340160405160208183030381529060405261239f565b60408051600180825281830190925260009182919060208083019080368337019050509050826001600160a01b031660001b8160008151811061127357611273614a7f565b6020908102919091018101919091526040805160009281018390527f53797374656d526567697374727900000000000000000000000000000000000060308201526112be9101610fc3565b602081015190915061045a565b60408051606084901b6bffffffffffffffffffffffff191660208083019190915283151560f81b603483015282518083036015018152600160358401818152607585019095529093600093909260559091019080368337019050509050848160008151811061133c5761133c614a7f565b602090810291909101810191909152604080516000928101929092527f53797374656d730000000000000000000000000000000000000000000000000060308301526109e691015b60405160208183030381529060405261139c90614a95565b82846123fa565b60408051600180825281830190925260009160208083019080368337019050509050826001600160a01b031660001b816000815181106113e5576113e5614a7f565b602090810291909101810191909152604080516000818401527f53797374656d526567697374727900000000000000000000000000000000000060308201528151808203909301835281019052610e6a9061143f90614a95565b826000856040516020016110df91815260200190565b604080516002808252606082018352600092602083019080368337019050509050838160008151811061148a5761148a614a7f565b602002602001018181525050826001600160a01b031660001b816001815181106114b6576114b6614a7f565b602090810291909101810191909152604080516000818401527f5265736f757263654163636573730000000000000000000000000000000000006030820152815180820390930183528101905261032f9061151090614a95565b826000856040516020016110df91151560f81b815260010190565b60408051600180825281830190925260009182919060208083019080368337019050509050827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168160008151811061158357611583614a7f565b6020908102919091018101919091526040805160009281018390527f46756e6374696f6e53656c6563746f720000000000000000000000000000000060308201526112be9101610fc3565b60408051600180825281830190925260009182919060208083019080368337019050509050827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168160008151811061162657611626614a7f565b6020908102919091018101919091526040805160009281018390527f46756e6374696f6e53656c6563746f720000000000000000000000000000000060308201526112be910160405160208183030381529060405261168490614a95565b836001611ed8565b604080516001600160801b031985811660208084019190915290851660308301527fffffffff0000000000000000000000000000000000000000000000000000000084168284015282516024818403018152600160448401818152608485019095529093600093909260649091019080368337019050509050857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168160008151811061173857611738614a7f565b602090810291909101810191909152604080516000928101929092527f46756e6374696f6e53656c6563746f720000000000000000000000000000000060308301526117849101611384565b505050505050565b604080516001808252818301909252600091829182916020808301908036833701905050905083816000815181106117c6576117c6614a7f565b6020908102919091018101919091526040805160009281018390527f53797374656d73000000000000000000000000000000000000000000000000006030820152611832910160405160208183030381529060405261182490614a95565b8361182d612480565b61253d565b905061183d81612597565b935093505050915091565b60606000848760405160200161185f929190614ad5565b6040516020818303038152906040529050600080856118d957876001600160a01b031685846040516118919190614b0c565b60006040518083038185875af1925050503d80600081146118ce576040519150601f19603f3d011682016040523d82523d6000602084013e6118d3565b606091505b50611933565b876001600160a01b0316836040516118f19190614b0c565b600060405180830381855af49150503d806000811461192c576040519150601f19603f3d011682016040523d82523d6000602084013e611931565b606091505b505b91509150811561194757925061194f915050565b805160208201fd5b95945050505050565b6108dd82826125bd565b600061196d82612649565b6040805160028082526060820183529293506000929091602083019080368337019050509050846fffffffffffffffffffffffffffffffff1916816000815181106119ba576119ba614a7f565b60200260200101818152505083816001815181106119da576119da614a7f565b602090810291909101810191909152604080516000928101929092527f496e7374616c6c65644d6f64756c65730000000000000000000000000000000060308301526109e69101611384565b60408051600180825281830190925260009160208083019080368337019050509050826fffffffffffffffffffffffffffffffff191681600081518110611a6f57611a6f614a7f565b602090810291909101810191909152604080516000818401527f4e616d6573706163654f776e657200000000000000000000000000000000000060308201528151808203909301835281019052610e6a90611ac990614a95565b6040516bffffffffffffffffffffffff19606086901b16602082015283906000906034016110df565b608082901c6001600160801b0319841617611b0e84848461266e565b610d0457610ccf81610e6f565b6000611b2684611d40565b9050611b3281836126b6565b50507f230ea578f076e518b96d8b1b4ca2e5dc4898fd02d11e43c9f067c22d1c391d3b848484604051611b6793929190614b63565b60405180910390a16000611b7a85612754565b905060005b8151811015611784576000828281518110611b9c57611b9c614a7f565b60200260200101519050806001600160a01b03166382b6745f8888886040518463ffffffff1660e01b8152600401611bd693929190614b63565b600060405180830381600087803b158015611bf057600080fd5b505af1158015611c04573d6000803e3d6000fd5b50505050508080611c1490614bae565b915050611b7f565b606060005b6010811015611c73576001600160801b03198316600882021b7fff000000000000000000000000000000000000000000000000000000000000001615611c735780611c6b81614bae565b915050611c21565b604080516001600160801b031985166020820152815160309091019091528181528061045a565b60408051600180825281830190925260009182919060208083019080368337019050509050826fffffffffffffffffffffffffffffffff191681600081518110611ce657611ce6614a7f565b6020908102919091018101919091526040805160009281018390527f4e616d6573706163654f776e65720000000000000000000000000000000000006030820152611d319101610fc3565b6020015160601c949350505050565b6000611d4b826127fe565b905080611d905781611d5c836121fd565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401610395929190614abc565b919050565b6000611da08261289a565b611da9836128ab565b611db39190614bc8565b92915050565b6000611dc583836128b7565b60408051600180825281830190925291925060009190602080830190803683370190505090508481600081518110611dff57611dff614a7f565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f53746f72654d657461646174610000000000000000000000000000000000000060308301526109e69101611384565b611e5d612979565b15611e6c576108dd82826129ea565b6040517f505a181d000000000000000000000000000000000000000000000000000000008152339063505a181d90611eaa9085908590600401614bed565b600060405180830381600087803b158015611ec457600080fd5b505af1158015611784573d6000803e3d6000fd5b6060611ee2612979565b15611ef957611ef2848484612b73565b9050610d04565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c90611f3990879087908790600401614c06565b600060405180830381865afa158015611f56573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ef29190810190614c32565b611f86612979565b15611f9c57611f9784848484612b8e565b61032f565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a726690611fde908790879087908790600401614ca0565b600060405180830381600087803b158015611ff857600080fd5b505af115801561200c573d6000803e3d6000fd5b5050505050505050565b80158015612022575081155b1561204357604051635318beb960e01b815260006004820152602401610395565b600061204e8361289a565b60ff169050600581111561207857604051635318beb960e01b815260048101829052602401610395565b6000612083846128ab565b60ff169050601c6120948383614cd4565b11156120c0576120a48282614cd4565b604051635318beb960e01b815260040161039591815260200190565b60008060005b6120d08585614cd4565b81101561219d5760006120fc6120e68984612d5f565b60c58111156120f7576120f76147d1565b612d8b565b111561214d5783811061213b576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8261214581614bae565b935050612195565b83811015612187576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8161219181614bae565b9250505b6001016120c6565b508282146121c157604051635318beb960e01b815260048101839052602401610395565b83811461178457604051635318beb960e01b815260048101829052602401610395565b60006121f66121f2836127fe565b1590565b1592915050565b60608160405160200161221291815260200190565b6040516020818303038152906040529050919050565b60408051600180825281830190925260009160208083019080368337019050509050838160008151811061225e5761225e614a7f565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f736368656d61000000000000000000000000000000000000000000000000000060308301526000916122d191015b6040516020818303038152906040526122cb90614a95565b83612e3c565b84815590506122e96122e4826001614cd4565b849055565b60408051676d756473746f726560c01b60208201527f736368656d61000000000000000000000000000000000000000000000000000060308201527f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee32910160405160208183030381529060405261235f90614a95565b83868660408051602081019390935282015260600160408051601f1981840301815290829052612390939291614b63565b60405180910390a15050505050565b6123a7612979565b156123b857611f9784848484612e92565b6040517f0c1a60000000000000000000000000000000000000000000000000000000000081523390630c1a600090611fde908790879087908790600401614ca0565b612402612979565b1561241257610e6a8383836130b4565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f9061245290869086908690600401614b63565b600060405180830381600087803b15801561246c57600080fd5b505af115801561030b573d6000803e3d6000fd5b604080516002808252606082018352600092839291906020830190803683370190505090506061816000815181106124ba576124ba614a7f565b602002602001019060c58111156124d3576124d36147d1565b908160c58111156124e6576124e66147d1565b815250506060816001815181106124ff576124ff614a7f565b602002602001019060c5811115612518576125186147d1565b908160c581111561252b5761252b6147d1565b90525061253781613288565b91505090565b6060612547612979565b1561255757611ef28484846134dd565b6040517f419b58fd000000000000000000000000000000000000000000000000000000008152339063419b58fd90611f3990879087908790600401614cec565b6020810151603482015160609190911c906000906125b6905b60f81c90565b9050915091565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106125f3576125f3614a7f565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f486f6f6b730000000000000000000000000000000000000000000000000000006030830152610e6a91016111de565b604051606082811b6bffffffffffffffffffffffff1916602083015290603401612212565b6000306001600160a01b038316148061269757506126976001600160801b031985165b83613642565b8061045a575061045a6001600160801b03198516608085901c17612691565b6000806126c38460f01c90565b91508160006126d18661289a565b60ff161115612705578284016020015191506126ed8260c81c90565b6126f8906020614cd4565b6127029082614cd4565b90505b8351811461274c5783516040517f521b3d33000000000000000000000000000000000000000000000000000000008152610395918391600401918252602082015260400190565b509250929050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061278e5761278e614a7f565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f486f6f6b7300000000000000000000000000000000000000000000000000000060308301526000916127e79101610fc3565b905061045a6127f98260008451613703565b613793565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061283757612837614a7f565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f736368656d610000000000000000000000000000000000000000000000000000603083015260009161289091016122b3565b905061045a815490565b6000601882901b5b60f81c92915050565b6000601082901b6128a2565b604080516002808252606080830184529260009291906020830190803683370190505090508351816000815181106128f1576128f1614a7f565b602002602001019064ffffffffff16908164ffffffffff168152505082518160018151811061292257612922614a7f565b602002602001019064ffffffffff16908164ffffffffff16815250506000612949826137a4565b905080858560405160200161296093929190614d15565b6040516020818303038152906040529250505092915050565b6000303b80820361298c57600191505090565b306001600160a01b031663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b1580156129c557600080fd5b505afa9250505080156129d6575060015b6129e257600091505090565b600191505090565b60006129f583611d40565b90507f2cc8610b80ef19409ae51ecbdd9c137960fb22ae9ef2d817d36ec1b685d68ecd8383604051612a28929190614bed565b60405180910390a16000612a3b84612754565b905060005b8151811015612adb576000828281518110612a5d57612a5d614a7f565b60200260200101519050806001600160a01b031663b51fef6c87876040518363ffffffff1660e01b8152600401612a95929190614bed565b600060405180830381600087803b158015612aaf57600080fd5b505af1158015612ac3573d6000803e3d6000fd5b50505050508080612ad390614bae565b915050612a40565b506000612ae88585612e3c565b9050612b42816000612afa8660f01c90565b67ffffffffffffffff811115612b1257612b12614379565b6040519080825280601f01601f191660200182016040528015612b3c576020820181803683370190505b50613881565b612b4b8361289a565b60ff16600003612b5c575050505050565b6000612b688686613896565b600081559050611784565b60606000612b8085611d40565b905061194f858585846138cd565b6000612b9985611d40565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4685858585604051612bd09493929190614ca0565b60405180910390a16000612be386612754565b905060005b8151811015612c87576000828281518110612c0557612c05614a7f565b60200260200101519050806001600160a01b031663469b7ee2898989896040518563ffffffff1660e01b8152600401612c419493929190614ca0565b600060405180830381600087803b158015612c5b57600080fd5b505af1158015612c6f573d6000803e3d6000fd5b50505050508080612c7f90614bae565b915050612be8565b50612c91826128ab565b60ff168460ff161015612cb057612cab8686848787613904565b612cbd565b612cbd86868487876139aa565b60005b815181101561030b576000828281518110612cdd57612cdd614a7f565b60200260200101519050806001600160a01b0316636b3d7d5f898989896040518563ffffffff1660e01b8152600401612d199493929190614ca0565b600060405180830381600087803b158015612d3357600080fd5b505af1158015612d47573d6000803e3d6000fd5b50505050508080612d5790614bae565b915050612cc0565b6000612d7783612d70846004614cd4565b6008021b90565b60f81c60c5811115610d0457610d046147d1565b6000808260c5811115612da057612da06147d1565b60ff1690506020811015612db957610d04816001614cd4565b6040811015612dd9576020612dcf826001614cd4565b610d049190614d52565b6060811015612def576040612dcf826001614cd4565b60608360c5811115612e0357612e036147d1565b03612e115750600192915050565b60618360c5811115612e2557612e256147d1565b03612e335750601492915050565b50600092915050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001612e7393929190614d69565b60408051601f1981840301815291905280516020909101209392505050565b6000612e9d85611d40565b9050612ea8816128ab565b60ff168360ff161015612ee7576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612ef5868686856139e7565b83604051602001612f07929190614891565b60405160208183030381529060405290507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4686868684604051612f4d9493929190614ca0565b60405180910390a16000612f6087612754565b905060005b8151811015613004576000828281518110612f8257612f82614a7f565b60200260200101519050806001600160a01b031663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401612fbe9493929190614ca0565b600060405180830381600087803b158015612fd857600080fd5b505af1158015612fec573d6000803e3d6000fd5b50505050508080612ffc90614bae565b915050612f65565b506130128787858888613a40565b60005b815181101561200c57600082828151811061303257613032614a7f565b60200260200101519050806001600160a01b0316636b3d7d5f8a8a8a886040518563ffffffff1660e01b815260040161306e9493929190614ca0565b600060405180830381600087803b15801561308857600080fd5b505af115801561309c573d6000803e3d6000fd5b505050505080806130ac90614bae565b915050613015565b60006130bf84611d40565b90506000806130ce83856126b6565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee3286868660405161310593929190614b63565b60405180910390a1600061311887612754565b905060005b81518110156131ba57600082828151811061313a5761313a614a7f565b60200260200101519050806001600160a01b03166382b6745f8a8a8a6040518463ffffffff1660e01b815260040161317493929190614b63565b600060405180830381600087803b15801561318e57600080fd5b505af11580156131a2573d6000803e3d6000fd5b505050505080806131b290614bae565b91505061311d565b5060006131c78888612e3c565b9050602086016131da8260008388613abb565b6131e5856020614cd4565b6131ef9082614cd4565b90506131fa8661289a565b60ff1660000361320f57505050505050505050565b600061321b8a8a613896565b858155905060008060005b61322f8a61289a565b60ff168160ff161015613279576132478d8d83613b79565b92506132568860ff8316613bd2565b91506132658360008785613abb565b61326f8286614cd4565b9450600101613226565b50505050505050505050505050565b6000601c825111156132b2578151604051635318beb960e01b815260040161039591815260200190565b60008060008060005b86518110156133d95760006132f48883815181106132db576132db614a7f565b602002602001015160c58111156120f7576120f76147d1565b905061ffff81161561334a578215613338576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8361334281614d88565b94505061334f565b600192505b6133598186614da7565b94506133ce8661336a846004614cd4565b8a858151811061337c5761337c614a7f565b602002602001015160c5811115613395576133956147d1565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b9550506001016132bb565b5060008287516133e99190614dc4565b905060058160ff16111561341557604051635318beb960e01b815260ff82166004820152602401610395565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b16175b979650505050505050565b606060006134eb8360f01c90565b9050806000806134fa8661289a565b60ff16905080156135455761350f8888613c04565b9150600061351d8360c81c90565b11156135455761352d8260c81c90565b613538906020614cd4565b6135429084614cd4565b92505b60008367ffffffffffffffff81111561356057613560614379565b6040519080825280601f01601f19166020018201604052801561358a576020820181803683370190505b5090506020810161359d8a8a8884613c11565b6135a78460c81c90565b6000036135bb57509450610d049350505050565b6135c58682614cd4565b84815290506135d5602082614cd4565b905060005b838160ff1610156136335760006135f28c8c84613b79565b905060006136038760ff8516613bd2565b90506136128282600087613c2e565b61361c8185614cd4565b93505050808061362b90614d88565b9150506135da565b50909998505050505050505050565b60408051600280825260608201835260009283929190602083019080368337019050509050838160008151811061367b5761367b614a7f565b602002602001018181525050826001600160a01b031660001b816001815181106136a7576136a7614a7f565b6020908102919091018101919091526040805160009281018390527f5265736f7572636541636365737300000000000000000000000000000000000060308201526136f29101610fc3565b602081015190915061194f906125b0565b6000818311158015613716575083518211155b613752578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161039593929190614de7565b602084016137608482614cd4565b9050600061376e8585614d52565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b60606000610d048360146000613ce3565b6000806000805b845181101561385957613821836137c3836005614e0c565b6137ce906007614cd4565b8784815181106137e0576137e0614a7f565b602002602001015160d81b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b925084818151811061383557613835614a7f565b602002602001015164ffffffffff168261384f9190614e2b565b91506001016137ab565b5078ffffffffffffffffffffffffffffffffffffffffffffffffff821660c882901b1761045a565b600060208201905061032f8484838551613abb565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001612e7393929190614e4d565b60606138d8826128ab565b60ff168360ff1610156138f8576138f185858585613e26565b905061045a565b6138f1858585856139e7565b60006139138460ff8516612d5f565b9050815161392c8260c58111156120f7576120f76147d1565b14613983576139468160c58111156120f7576120f76147d1565b82516040517f521b3d3300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401610395565b600061398f8787612e3c565b9050600061399d8686613e86565b905061200c828286613881565b60006139b5846128ab565b6139bf9084614dc4565b90506139ce8686838551613ec9565b60006139db878784613b79565b905061030b8184613efb565b606060006139f4836128ab565b6139fe9085614dc4565b90506000613a0d878784613b79565b90506000613a288360ff16613a228a8a613c04565b90613bd2565b9050613a348282613f07565b98975050505050505050565b6000613a4b846128ab565b613a559084614dc4565b90506000613a638787613896565b90506000613a6f825490565b90506000613a808260ff8616613bd2565b9050613a9e8460ff16865183613a969190614cd4565b849190613f15565b8084559150613ab08989868489613fe6565b505050505050505050565b602083048401935060208381613ad357613ad3614ead565b0692508215613b2c5760208390036000600019600884021c1990506008850281811c91508451811c9050811987541682821617875550818311613b1757505061032f565b613b22600187614cd4565b9550509182019190035b60208110613b555781518455613b43600185614cd4565b935060209190910190601f1901613b2c565b801561032f576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9848484604051602001613bb29493929190614ec3565b60408051601f198184030181529190528051602090910120949350505050565b600080613be0836005614e0c565b613beb906007614cd4565b9050613bf984826008021b90565b60d81c949350505050565b6000806128908484613896565b811561032f576000613c238585612e3c565b90506109e681846000855b602082048401935060208281613c4657613c46614ead565b0691508115613c975760208290036000600019600883021c1990508554600885021b811984511682821617845250818511613c8257505061032f565b613c8d600187614cd4565b9550509283900392015b60208310613cbf5783548152613cae600185614cd4565b9350601f1990920191602001613c97565b821561032f576000600019600885021c198251865482169119161782525050505050565b60606000613cf18560801c90565b90506fffffffffffffffffffffffffffffffff8516600084613d2957613d18866008614e0c565b613d2490610100614d52565b613d2c565b60005b90506000868381613d3f57613d3f614ead565b049050613d4c8784614ef6565b15613dd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401610395565b602080820201604051955080860160405250808552600060208601855b83831015613e18578051851c8252600192909201916020909101908901613df6565b505050505050509392505050565b60606000613e378360ff8616612d5f565b90506000613e508260c58111156120f7576120f76147d1565b90506000613e5e8888612e3c565b90506000613e6c8688613e86565b9050613e79828483614026565b9998505050505050505050565b600080805b8360ff16811015613ec157613ea36120e68683612d5f565b613ead9083614cd4565b915080613eb981614bae565b915050613e8b565b509392505050565b6000613ed58585613896565b90506000613ee1825490565b9050613ef18160ff861685613f15565b8083559050611784565b6108dd82600083613881565b6060610d0483836000614026565b60008381613f238260c81c90565b90506000613f34878760ff16613bd2565b9050808510613f5857613f478186614d52565b613f519083614cd4565b9150613f6f565b613f628582614d52565b613f6c9083614d52565b91505b6000613f7c876005614e0c565b613f87906007614cd4565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c17613a34565b6000613ff3868686613b79565b9050614000602084614f0a565b61400a9082614cd4565b90506000614019602085614ef6565b905061030b828285613881565b60608267ffffffffffffffff81111561404157614041614379565b6040519080825280601f01601f19166020018201604052801561406b576020820181803683370190505b50905060208101613ec185858584613c2e565b6001600160801b03198116811461409457600080fd5b50565b60008083601f8401126140a957600080fd5b50813567ffffffffffffffff8111156140c157600080fd5b6020830191508360208285010111156140d957600080fd5b9250929050565b60008083601f8401126140f257600080fd5b50813567ffffffffffffffff81111561410a57600080fd5b6020830191508360208260051b85010111156140d957600080fd5b6000806000806000806080878903121561413e57600080fd5b86356141498161407e565b955060208701356141598161407e565b9450604087013567ffffffffffffffff8082111561417657600080fd5b6141828a838b01614097565b9096509450606089013591508082111561419b57600080fd5b506141a889828a016140e0565b979a9699509497509295939492505050565b6001600160a01b038116811461409457600080fd5b6000806000606084860312156141e457600080fd5b83356141ef8161407e565b925060208401356141ff8161407e565b9150604084013561420f816141ba565b809150509250925092565b6000806000806080858703121561423057600080fd5b843561423b8161407e565b9350602085013561424b8161407e565b93969395505050506040820135916060013590565b6000806000806080858703121561427657600080fd5b84356142818161407e565b935060208501356142918161407e565b925060408501356142a1816141ba565b9150606085013580151581146142b657600080fd5b939692955090935050565b80357fffffffff0000000000000000000000000000000000000000000000000000000081168114611d9057600080fd5b6000806000806080858703121561430757600080fd5b84356143128161407e565b935060208501356143228161407e565b9250614330604086016142c1565b915061433e606086016142c1565b905092959194509250565b6000806040838503121561435c57600080fd5b82359150602083013561436e816141ba565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156143b8576143b8614379565b604052919050565b600067ffffffffffffffff8211156143da576143da614379565b50601f01601f191660200190565b60006143fb6143f6846143c0565b61438f565b905082815283838301111561440f57600080fd5b828260208301376000602084830101529392505050565b6000806040838503121561443957600080fd5b8235614444816141ba565b9150602083013567ffffffffffffffff81111561446057600080fd5b8301601f8101851361447157600080fd5b614480858235602084016143e8565b9150509250929050565b60006020828403121561449c57600080fd5b8135610d048161407e565b600080600080600080608087890312156144c057600080fd5b86356144cb8161407e565b955060208701356144db8161407e565b9450604087013567ffffffffffffffff808211156144f857600080fd5b6145048a838b016140e0565b9096509450606089013591508082111561451d57600080fd5b506141a889828a01614097565b60008060008060006060868803121561454257600080fd5b85359450602086013567ffffffffffffffff8082111561456157600080fd5b61456d89838a016140e0565b9096509450604088013591508082111561458657600080fd5b5061459388828901614097565b969995985093965092949392505050565b600082601f8301126145b557600080fd5b610d04838335602085016143e8565b600080600080608085870312156145da57600080fd5b84356145e58161407e565b935060208501356145f58161407e565b9250604085013567ffffffffffffffff8082111561461257600080fd5b61461e888389016145a4565b9350606087013591508082111561463457600080fd5b50614641878288016145a4565b91505092959194509250565b60008060006060848603121561466257600080fd5b505081359360208301359350604090920135919050565b60008060008060006060868803121561469157600080fd5b85359450602086013567ffffffffffffffff808211156146b057600080fd5b6146bc89838a01614097565b909650945060408801359150808211156146d557600080fd5b50614593888289016140e0565b600067ffffffffffffffff808411156146fd576146fd614379565b8360051b602061470e81830161438f565b86815291850191818101903684111561472657600080fd5b865b8481101561475a578035868111156147405760008081fd5b61474c36828b016145a4565b845250918301918301614728565b50979650505050505050565b60005b83811015614781578181015183820152602001614769565b8381111561032f5750506000910152565b600081518084526147aa816020860160208601614766565b601f01601f19169290920160200192915050565b602081526000610d046020830184614792565b634e487b7160e01b600052602160045260246000fd5b6000602082840312156147f957600080fd5b8151610d048161407e565b60008551614816818460208a01614766565b80830190507f5f000000000000000000000000000000000000000000000000000000000000008082528651614852816001850160208b01614766565b6001920191820152845161486d816002840160208901614766565b8451910190614883816002840160208801614766565b016002019695505050505050565b600083516148a3818460208801614766565b8351908301906148b7818360208801614766565b01949350505050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b60006001600160801b031980891683526020818916818501526080604085015261491960808501888a6148c0565b84810360608601528581529150808201600586901b830182018760005b888110156149c257601f1986840301845281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18b360301811261497957600080fd5b8a01803567ffffffffffffffff81111561499257600080fd5b8036038c13156149a157600080fd5b6149ae85828985016148c0565b958701959450505090840190600101614936565b50909c9b505050505050505050505050565b6040815260006149e76040830185614792565b90506001600160a01b03831660208301529392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015614a72577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452614a60858351614792565b94509285019290850190600101614a26565b5092979650505050505050565b634e487b7160e01b600052603260045260246000fd5b80516020808301519190811015614ab6576000198160200360031b1b821691505b50919050565b82815260406020820152600061045a6040830184614792565b60008351614ae7818460208801614766565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008251614b1e818460208701614766565b9190910192915050565b600081518084526020808501945080840160005b83811015614b5857815187529582019590820190600101614b3c565b509495945050505050565b838152606060208201526000614b7c6060830185614b28565b8281036040840152614b8e8185614792565b9695505050505050565b634e487b7160e01b600052601160045260246000fd5b60006000198203614bc157614bc1614b98565b5060010190565b600060ff821660ff84168060ff03821115614be557614be5614b98565b019392505050565b82815260406020820152600061045a6040830184614b28565b838152606060208201526000614c1f6060830185614b28565b905060ff83166040830152949350505050565b600060208284031215614c4457600080fd5b815167ffffffffffffffff811115614c5b57600080fd5b8201601f81018413614c6c57600080fd5b8051614c7a6143f6826143c0565b818152856020838501011115614c8f57600080fd5b61194f826020830160208601614766565b848152608060208201526000614cb96080830186614b28565b60ff8516604084015282810360608401526134d28185614792565b60008219821115614ce757614ce7614b98565b500190565b838152606060208201526000614d056060830185614b28565b9050826040830152949350505050565b83815260008351614d2d816020850160208801614766565b80830190508351614d45816020840160208801614766565b0160200195945050505050565b600082821015614d6457614d64614b98565b500390565b83815282602082015260606040820152600061194f6060830184614b28565b600060ff821660ff8103614d9e57614d9e614b98565b60010192915050565b600061ffff8083168185168083038211156148b7576148b7614b98565b600060ff821660ff841680821015614dde57614dde614b98565b90039392505050565b606081526000614dfa6060830186614792565b60208301949094525060400152919050565b6000816000190483118215151615614e2657614e26614b98565b500290565b600066ffffffffffffff8083168185168083038211156148b7576148b7614b98565b838152826020820152608060408201526000614e6c6080830184614b28565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b634e487b7160e01b600052601260045260246000fd5b848152836020820152608060408201526000614ee26080830185614b28565b905060ff8316606083015295945050505050565b600082614f0557614f05614ead565b500690565b600082614f1957614f19614ead565b50049056fea164736f6c634300080d000a"; - -type CoreModuleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: CoreModuleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class CoreModule__factory extends ContractFactory { - constructor(...args: CoreModuleConstructorParams) { - 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): CoreModule { - return super.attach(address) as CoreModule; - } - override connect(signer: Signer): CoreModule__factory { - return super.connect(signer) as CoreModule__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): CoreModuleInterface { - return new utils.Interface(_abi) as CoreModuleInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): CoreModule { - return new Contract(address, _abi, signerOrProvider) as CoreModule; - } -} diff --git a/packages/world/types/ethers-contracts/factories/CoreSystem__factory.ts b/packages/world/types/ethers-contracts/factories/CoreSystem__factory.ts deleted file mode 100644 index 33d89eba59..0000000000 --- a/packages/world/types/ethers-contracts/factories/CoreSystem__factory.ts +++ /dev/null @@ -1,709 +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 { CoreSystem, CoreSystemInterface } from "../CoreSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - { - internalType: "address", - name: "caller", - type: "address", - }, - ], - name: "AccessDenied", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "InvalidSelector", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "module", - type: "string", - }, - ], - name: "ModuleAlreadyInstalled", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceExists", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "system", - type: "address", - }, - ], - name: "SystemExists", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "grantee", - type: "address", - }, - ], - name: "grantAccess", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "contract IModule", - name: "module", - type: "address", - }, - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "installModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "string", - name: "systemFunctionName", - type: "string", - }, - { - internalType: "string", - name: "systemFunctionArguments", - type: "string", - }, - ], - name: "registerFunctionSelector", - outputs: [ - { - internalType: "bytes4", - name: "worldFunctionSelector", - type: "bytes4", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "hook", - type: "address", - }, - ], - name: "registerHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - ], - name: "registerNamespace", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes4", - name: "worldFunctionSelector", - type: "bytes4", - }, - { - internalType: "bytes4", - name: "systemFunctionSelector", - type: "bytes4", - }, - ], - name: "registerRootFunctionSelector", - outputs: [ - { - internalType: "bytes4", - name: "", - type: "bytes4", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "Schema", - name: "valueSchema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract System", - name: "system", - type: "address", - }, - { - internalType: "bool", - name: "publicAccess", - type: "bool", - }, - ], - name: "registerSystem", - outputs: [ - { - internalType: "bytes32", - name: "resourceSelector", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract ISystemHook", - name: "hook", - type: "address", - }, - ], - name: "registerSystemHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "Schema", - name: "valueSchema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerTable", - outputs: [ - { - internalType: "bytes32", - name: "resourceSelector", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerTableHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "grantee", - type: "address", - }, - ], - name: "revokeAccess", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b50614f2b806100206000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c80638ae710e9116100b2578063be83698c11610081578063d593368611610066578063d593368614610270578063f227e65314610283578063fe86a89f1461029657600080fd5b8063be83698c1461024a578063ca4c1f5e1461025d57600080fd5b80638ae710e9146101fe5780638da798da14610211578063a886545e14610224578063ab7404bb1461023757600080fd5b80634c9e9f11116100ee5780634c9e9f111461018157806356f55a97146101945780636e81fd71146101d85780637a58dce4146101eb57600080fd5b8063096fcaa9146101205780631e42269e1461013557806331b99d89146101485780633ca90f221461016e575b600080fd5b61013361012e366004614125565b6102a9565b005b6101336101433660046141cf565b610314565b61015b61015636600461421a565b610335565b6040519081526020015b60405180910390f35b61013361017c3660046141cf565b610462565b61015b61018f366004614260565b61047d565b6101a76101a23660046142f1565b61059e565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610165565b6101336101e6366004614349565b610659565b6101336101f93660046141cf565b610745565b61013361020c3660046141cf565b6107c3565b61013361021f366004614426565b6107de565b61013361023236600461448a565b6108e1565b6101336102453660046144a7565b61094f565b61013361025836600461452a565b6109cf565b6101a761026b3660046145c4565b6109ed565b61013361027e36600461464d565b610b38565b6101336102913660046141cf565b610bbf565b6101336102a4366004614679565b610bdc565b60006102bd87876102b8610c4b565b610c7d565b905061030b8186868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061030692508791508890506146e2565b610d0b565b50505050505050565b600061032384846102b8610c4b565b905061032f8183610da9565b50505050565b60006001600160801b03198516608085901c1790506001600160801b0319841661039e5761036281610e6f565b6040517fe56728c000000000000000000000000000000000000000000000000000000000815260040161039591906147be565b60405180910390fd5b60006103b36001600160801b03198716610f43565b60038111156103c4576103c46147d1565b036103d7576103d2856108e1565b6103e7565b6103e58560006102b8610c4b565b505b60006103f282610f43565b6003811115610403576104036147d1565b146104445761041181610e6f565b6040517f0f2fac6100000000000000000000000000000000000000000000000000000000815260040161039591906147be565b61044f816002610fff565b61045a8184846110f3565b949350505050565b600061047184846102b8610c4b565b905061032f8183611160565b60006001600160801b03198516608085901c1790506001600160801b031984166104aa5761036281610e6f565b6104b38361122e565b156104f5576040517fb86487840000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610395565b600061050a6001600160801b03198716610f43565b600381111561051b5761051b6147d1565b0361052e57610529856108e1565b61053e565b61053c8560006102b8610c4b565b505b600061054982610f43565b600381111561055a5761055a6147d1565b146105685761041181610e6f565b610573816003610fff565b61057e8184846112cb565b61058883826113a3565b61045a6001600160801b03198616846001611455565b60006105ad81806102b8610c4b565b5060006105b98461152b565b905060006105c6856115ce565b90506001600160801b031982161580156105e857506001600160801b03198116155b610642576040517f9b2a16a90000000000000000000000000000000000000000000000000000000081527fffffffff0000000000000000000000000000000000000000000000000000000086166004820152602401610395565b61064e8588888761168c565b509295945050505050565b60006106746f636f72652e730000000000000000000061178c565b50905061032f610682610c4b565b827f8ae710e900000000000000000000000000000000000000000000000000000000866106af8860801b90565b6040516001600160801b03199283166024820152911660448201526001600160a01b03871660648201526084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915260016000611848565b60006107606001600160801b03198516608085901c17610f43565b90506002816003811115610776576107766147d1565b036107865761032f8484846107c3565b600381600381111561079a5761079a6147d1565b036107aa5761032f848484610462565b6103626001600160801b03198516608085901c17610e6f565b60006107d284846102b8610c4b565b905061032f8183611958565b61086a6107e9610c4b565b836313861fb560e01b8460405160240161080391906147be565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600080611848565b506108dd826001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d091906147e7565b8251602084012084611962565b5050565b6001600160801b0319811660006108f782610f43565b6003811115610908576109086147d1565b146109165761041181610e6f565b61092b6001600160801b031983166001610fff565b61093c82610937610c4b565b611a26565b6108dd81610948610c4b565b6001611455565b600061095c878733611af2565b905061030b8186868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881529250889150879081908401838280828437600092019190915250611b1b92505050565b6109e6856109dd8760801b90565b8686868661094f565b5050505050565b60006109fc85856102b8610c4b565b506000610a0886611c1c565b90506000610a1586611c1c565b905081818686604051602001610a2e9493929190614804565b6040516020818303038152906040528051906020012092506000610a518461152b565b90506000610a5e856115ce565b90506001600160801b03198216151580610a8157506001600160801b0319811615155b15610adc576040517f9b2a16a90000000000000000000000000000000000000000000000000000000081527fffffffff0000000000000000000000000000000000000000000000000000000086166004820152602401610395565b60008787604051602001610af1929190614891565b604051602081830303815290604052905060008151600014610b195781516020830120610b1c565b60005b9050610b2a878c8c8461168c565b505050505050949350505050565b6000610b536f636f72652e730000000000000000000061178c565b5090506109e6610b61610c4b565b827f31b99d890000000000000000000000000000000000000000000000000000000087610b8e8960801b90565b6040516001600160801b0319928316602482015291166044820152606481018890526084810187905260a4016106dd565b6000610bce84846102b8610c4b565b905061032f81836001611455565b6000610bf76f636f72652e730000000000000000000061178c565b50905061030b610c05610c4b565b827f096fcaa90000000000000000000000000000000000000000000000000000000089610c328b60801b90565b8a8a8a8a6040516024016106dd969594939291906148eb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec36013560601c80610c7a5750335b90565b608082901c6001600160801b03198416176001600160a01b0382163014801590610cc15750816001600160a01b0316610cb585611c9a565b6001600160a01b031614155b15610d0457610ccf81610e6f565b826040517fe64c03480000000000000000000000000000000000000000000000000000000081526004016103959291906149d4565b9392505050565b6000610d1684611d40565b9050815160001480610d335750610d2c81611d95565b60ff168251145b610d7f57610d4081611d95565b82516040517ff2b2755900000000000000000000000000000000000000000000000000000000815260ff90921660048301526024820152604401610395565b61032f848484604051602001610d9591906149ff565b604051602081830303815290604052611db9565b6040805160028082526060820183526000926020830190803683370190505090508281600081518110610dde57610dde614a7f565b602002602001018181525050816001600160a01b031660001b81600181518110610e0a57610e0a614a7f565b602090810291909101810191909152604080516000818401527f5265736f7572636541636365737300000000000000000000000000000000000060308201528151808203909301835281019052610e6a90610e6490614a95565b82611e55565b505050565b606081608081901b6001600160801b0319821615610e8d5781610eaf565b7f524f4f545f4e414d4553504143450000000000000000000000000000000000005b6001600160801b0319821615610ec55781610ee7565b7f524f4f545f4e414d4500000000000000000000000000000000000000000000005b6040516001600160801b031992831660208201527f2f0000000000000000000000000000000000000000000000000000000000000060308201529116603182015260410160405160208183030381529060405292505050919050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610f7c57610f7c614a7f565b6020908102919091018101919091526040805160009281018390527f5265736f757263655479706500000000000000000000000000000000000000006030820152610fe391015b604051602081830303815290604052610fdb90614a95565b836000611ed8565b602081015190915060f81c600381111561045a5761045a6147d1565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061103557611035614a7f565b602090810291909101810191909152604080516000818401527f5265736f7572636554797065000000000000000000000000000000000000000060308201528151808203909301835281019052610e6a9061108f90614a95565b8260008560038111156110a4576110a46147d1565b6040516020016110df919060f89190911b7fff0000000000000000000000000000000000000000000000000000000000000016815260010190565b604051602081830303815290604052611f7e565b6110fe826000612016565b611109816001612016565b611112836121e4565b156111555782611121846121fd565b6040517f147bbb8c000000000000000000000000000000000000000000000000000000008152600401610395929190614abc565b610e6a838383612228565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061119657611196614a7f565b602090810291909101810191909152604080516000928101929092527f53797374656d486f6f6b730000000000000000000000000000000000000000006030830152610e6a91015b6040516020818303038152906040526111f690614a95565b6040516bffffffffffffffffffffffff19606086901b166020820152839060009060340160405160208183030381529060405261239f565b60408051600180825281830190925260009182919060208083019080368337019050509050826001600160a01b031660001b8160008151811061127357611273614a7f565b6020908102919091018101919091526040805160009281018390527f53797374656d526567697374727900000000000000000000000000000000000060308201526112be9101610fc3565b602081015190915061045a565b60408051606084901b6bffffffffffffffffffffffff191660208083019190915283151560f81b603483015282518083036015018152600160358401818152607585019095529093600093909260559091019080368337019050509050848160008151811061133c5761133c614a7f565b602090810291909101810191909152604080516000928101929092527f53797374656d730000000000000000000000000000000000000000000000000060308301526109e691015b60405160208183030381529060405261139c90614a95565b82846123fa565b60408051600180825281830190925260009160208083019080368337019050509050826001600160a01b031660001b816000815181106113e5576113e5614a7f565b602090810291909101810191909152604080516000818401527f53797374656d526567697374727900000000000000000000000000000000000060308201528151808203909301835281019052610e6a9061143f90614a95565b826000856040516020016110df91815260200190565b604080516002808252606082018352600092602083019080368337019050509050838160008151811061148a5761148a614a7f565b602002602001018181525050826001600160a01b031660001b816001815181106114b6576114b6614a7f565b602090810291909101810191909152604080516000818401527f5265736f757263654163636573730000000000000000000000000000000000006030820152815180820390930183528101905261032f9061151090614a95565b826000856040516020016110df91151560f81b815260010190565b60408051600180825281830190925260009182919060208083019080368337019050509050827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168160008151811061158357611583614a7f565b6020908102919091018101919091526040805160009281018390527f46756e6374696f6e53656c6563746f720000000000000000000000000000000060308201526112be9101610fc3565b60408051600180825281830190925260009182919060208083019080368337019050509050827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168160008151811061162657611626614a7f565b6020908102919091018101919091526040805160009281018390527f46756e6374696f6e53656c6563746f720000000000000000000000000000000060308201526112be910160405160208183030381529060405261168490614a95565b836001611ed8565b604080516001600160801b031985811660208084019190915290851660308301527fffffffff0000000000000000000000000000000000000000000000000000000084168284015282516024818403018152600160448401818152608485019095529093600093909260649091019080368337019050509050857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168160008151811061173857611738614a7f565b602090810291909101810191909152604080516000928101929092527f46756e6374696f6e53656c6563746f720000000000000000000000000000000060308301526117849101611384565b505050505050565b604080516001808252818301909252600091829182916020808301908036833701905050905083816000815181106117c6576117c6614a7f565b6020908102919091018101919091526040805160009281018390527f53797374656d73000000000000000000000000000000000000000000000000006030820152611832910160405160208183030381529060405261182490614a95565b8361182d612480565b61253d565b905061183d81612597565b935093505050915091565b60606000848760405160200161185f929190614ad5565b6040516020818303038152906040529050600080856118d957876001600160a01b031685846040516118919190614b0c565b60006040518083038185875af1925050503d80600081146118ce576040519150601f19603f3d011682016040523d82523d6000602084013e6118d3565b606091505b50611933565b876001600160a01b0316836040516118f19190614b0c565b600060405180830381855af49150503d806000811461192c576040519150601f19603f3d011682016040523d82523d6000602084013e611931565b606091505b505b91509150811561194757925061194f915050565b805160208201fd5b95945050505050565b6108dd82826125bd565b600061196d82612649565b6040805160028082526060820183529293506000929091602083019080368337019050509050846fffffffffffffffffffffffffffffffff1916816000815181106119ba576119ba614a7f565b60200260200101818152505083816001815181106119da576119da614a7f565b602090810291909101810191909152604080516000928101929092527f496e7374616c6c65644d6f64756c65730000000000000000000000000000000060308301526109e69101611384565b60408051600180825281830190925260009160208083019080368337019050509050826fffffffffffffffffffffffffffffffff191681600081518110611a6f57611a6f614a7f565b602090810291909101810191909152604080516000818401527f4e616d6573706163654f776e657200000000000000000000000000000000000060308201528151808203909301835281019052610e6a90611ac990614a95565b6040516bffffffffffffffffffffffff19606086901b16602082015283906000906034016110df565b608082901c6001600160801b0319841617611b0e84848461266e565b610d0457610ccf81610e6f565b6000611b2684611d40565b9050611b3281836126b6565b50507f230ea578f076e518b96d8b1b4ca2e5dc4898fd02d11e43c9f067c22d1c391d3b848484604051611b6793929190614b63565b60405180910390a16000611b7a85612754565b905060005b8151811015611784576000828281518110611b9c57611b9c614a7f565b60200260200101519050806001600160a01b03166382b6745f8888886040518463ffffffff1660e01b8152600401611bd693929190614b63565b600060405180830381600087803b158015611bf057600080fd5b505af1158015611c04573d6000803e3d6000fd5b50505050508080611c1490614bae565b915050611b7f565b606060005b6010811015611c73576001600160801b03198316600882021b7fff000000000000000000000000000000000000000000000000000000000000001615611c735780611c6b81614bae565b915050611c21565b604080516001600160801b031985166020820152815160309091019091528181528061045a565b60408051600180825281830190925260009182919060208083019080368337019050509050826fffffffffffffffffffffffffffffffff191681600081518110611ce657611ce6614a7f565b6020908102919091018101919091526040805160009281018390527f4e616d6573706163654f776e65720000000000000000000000000000000000006030820152611d319101610fc3565b6020015160601c949350505050565b6000611d4b826127fe565b905080611d905781611d5c836121fd565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401610395929190614abc565b919050565b6000611da08261289a565b611da9836128ab565b611db39190614bc8565b92915050565b6000611dc583836128b7565b60408051600180825281830190925291925060009190602080830190803683370190505090508481600081518110611dff57611dff614a7f565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f53746f72654d657461646174610000000000000000000000000000000000000060308301526109e69101611384565b611e5d612979565b15611e6c576108dd82826129ea565b6040517f505a181d000000000000000000000000000000000000000000000000000000008152339063505a181d90611eaa9085908590600401614bed565b600060405180830381600087803b158015611ec457600080fd5b505af1158015611784573d6000803e3d6000fd5b6060611ee2612979565b15611ef957611ef2848484612b73565b9050610d04565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c90611f3990879087908790600401614c06565b600060405180830381865afa158015611f56573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ef29190810190614c32565b611f86612979565b15611f9c57611f9784848484612b8e565b61032f565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a726690611fde908790879087908790600401614ca0565b600060405180830381600087803b158015611ff857600080fd5b505af115801561200c573d6000803e3d6000fd5b5050505050505050565b80158015612022575081155b1561204357604051635318beb960e01b815260006004820152602401610395565b600061204e8361289a565b60ff169050600581111561207857604051635318beb960e01b815260048101829052602401610395565b6000612083846128ab565b60ff169050601c6120948383614cd4565b11156120c0576120a48282614cd4565b604051635318beb960e01b815260040161039591815260200190565b60008060005b6120d08585614cd4565b81101561219d5760006120fc6120e68984612d5f565b60c58111156120f7576120f76147d1565b612d8b565b111561214d5783811061213b576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8261214581614bae565b935050612195565b83811015612187576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8161219181614bae565b9250505b6001016120c6565b508282146121c157604051635318beb960e01b815260048101839052602401610395565b83811461178457604051635318beb960e01b815260048101829052602401610395565b60006121f66121f2836127fe565b1590565b1592915050565b60608160405160200161221291815260200190565b6040516020818303038152906040529050919050565b60408051600180825281830190925260009160208083019080368337019050509050838160008151811061225e5761225e614a7f565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f736368656d61000000000000000000000000000000000000000000000000000060308301526000916122d191015b6040516020818303038152906040526122cb90614a95565b83612e3c565b84815590506122e96122e4826001614cd4565b849055565b60408051676d756473746f726560c01b60208201527f736368656d61000000000000000000000000000000000000000000000000000060308201527f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee32910160405160208183030381529060405261235f90614a95565b83868660408051602081019390935282015260600160408051601f1981840301815290829052612390939291614b63565b60405180910390a15050505050565b6123a7612979565b156123b857611f9784848484612e92565b6040517f0c1a60000000000000000000000000000000000000000000000000000000000081523390630c1a600090611fde908790879087908790600401614ca0565b612402612979565b1561241257610e6a8383836130b4565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f9061245290869086908690600401614b63565b600060405180830381600087803b15801561246c57600080fd5b505af115801561030b573d6000803e3d6000fd5b604080516002808252606082018352600092839291906020830190803683370190505090506061816000815181106124ba576124ba614a7f565b602002602001019060c58111156124d3576124d36147d1565b908160c58111156124e6576124e66147d1565b815250506060816001815181106124ff576124ff614a7f565b602002602001019060c5811115612518576125186147d1565b908160c581111561252b5761252b6147d1565b90525061253781613288565b91505090565b6060612547612979565b1561255757611ef28484846134dd565b6040517f419b58fd000000000000000000000000000000000000000000000000000000008152339063419b58fd90611f3990879087908790600401614cec565b6020810151603482015160609190911c906000906125b6905b60f81c90565b9050915091565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106125f3576125f3614a7f565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f486f6f6b730000000000000000000000000000000000000000000000000000006030830152610e6a91016111de565b604051606082811b6bffffffffffffffffffffffff1916602083015290603401612212565b6000306001600160a01b038316148061269757506126976001600160801b031985165b83613642565b8061045a575061045a6001600160801b03198516608085901c17612691565b6000806126c38460f01c90565b91508160006126d18661289a565b60ff161115612705578284016020015191506126ed8260c81c90565b6126f8906020614cd4565b6127029082614cd4565b90505b8351811461274c5783516040517f521b3d33000000000000000000000000000000000000000000000000000000008152610395918391600401918252602082015260400190565b509250929050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061278e5761278e614a7f565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f486f6f6b7300000000000000000000000000000000000000000000000000000060308301526000916127e79101610fc3565b905061045a6127f98260008451613703565b613793565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061283757612837614a7f565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f736368656d610000000000000000000000000000000000000000000000000000603083015260009161289091016122b3565b905061045a815490565b6000601882901b5b60f81c92915050565b6000601082901b6128a2565b604080516002808252606080830184529260009291906020830190803683370190505090508351816000815181106128f1576128f1614a7f565b602002602001019064ffffffffff16908164ffffffffff168152505082518160018151811061292257612922614a7f565b602002602001019064ffffffffff16908164ffffffffff16815250506000612949826137a4565b905080858560405160200161296093929190614d15565b6040516020818303038152906040529250505092915050565b6000303b80820361298c57600191505090565b306001600160a01b031663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b1580156129c557600080fd5b505afa9250505080156129d6575060015b6129e257600091505090565b600191505090565b60006129f583611d40565b90507f2cc8610b80ef19409ae51ecbdd9c137960fb22ae9ef2d817d36ec1b685d68ecd8383604051612a28929190614bed565b60405180910390a16000612a3b84612754565b905060005b8151811015612adb576000828281518110612a5d57612a5d614a7f565b60200260200101519050806001600160a01b031663b51fef6c87876040518363ffffffff1660e01b8152600401612a95929190614bed565b600060405180830381600087803b158015612aaf57600080fd5b505af1158015612ac3573d6000803e3d6000fd5b50505050508080612ad390614bae565b915050612a40565b506000612ae88585612e3c565b9050612b42816000612afa8660f01c90565b67ffffffffffffffff811115612b1257612b12614379565b6040519080825280601f01601f191660200182016040528015612b3c576020820181803683370190505b50613881565b612b4b8361289a565b60ff16600003612b5c575050505050565b6000612b688686613896565b600081559050611784565b60606000612b8085611d40565b905061194f858585846138cd565b6000612b9985611d40565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4685858585604051612bd09493929190614ca0565b60405180910390a16000612be386612754565b905060005b8151811015612c87576000828281518110612c0557612c05614a7f565b60200260200101519050806001600160a01b031663469b7ee2898989896040518563ffffffff1660e01b8152600401612c419493929190614ca0565b600060405180830381600087803b158015612c5b57600080fd5b505af1158015612c6f573d6000803e3d6000fd5b50505050508080612c7f90614bae565b915050612be8565b50612c91826128ab565b60ff168460ff161015612cb057612cab8686848787613904565b612cbd565b612cbd86868487876139aa565b60005b815181101561030b576000828281518110612cdd57612cdd614a7f565b60200260200101519050806001600160a01b0316636b3d7d5f898989896040518563ffffffff1660e01b8152600401612d199493929190614ca0565b600060405180830381600087803b158015612d3357600080fd5b505af1158015612d47573d6000803e3d6000fd5b50505050508080612d5790614bae565b915050612cc0565b6000612d7783612d70846004614cd4565b6008021b90565b60f81c60c5811115610d0457610d046147d1565b6000808260c5811115612da057612da06147d1565b60ff1690506020811015612db957610d04816001614cd4565b6040811015612dd9576020612dcf826001614cd4565b610d049190614d52565b6060811015612def576040612dcf826001614cd4565b60608360c5811115612e0357612e036147d1565b03612e115750600192915050565b60618360c5811115612e2557612e256147d1565b03612e335750601492915050565b50600092915050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001612e7393929190614d69565b60408051601f1981840301815291905280516020909101209392505050565b6000612e9d85611d40565b9050612ea8816128ab565b60ff168360ff161015612ee7576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612ef5868686856139e7565b83604051602001612f07929190614891565b60405160208183030381529060405290507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4686868684604051612f4d9493929190614ca0565b60405180910390a16000612f6087612754565b905060005b8151811015613004576000828281518110612f8257612f82614a7f565b60200260200101519050806001600160a01b031663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401612fbe9493929190614ca0565b600060405180830381600087803b158015612fd857600080fd5b505af1158015612fec573d6000803e3d6000fd5b50505050508080612ffc90614bae565b915050612f65565b506130128787858888613a40565b60005b815181101561200c57600082828151811061303257613032614a7f565b60200260200101519050806001600160a01b0316636b3d7d5f8a8a8a886040518563ffffffff1660e01b815260040161306e9493929190614ca0565b600060405180830381600087803b15801561308857600080fd5b505af115801561309c573d6000803e3d6000fd5b505050505080806130ac90614bae565b915050613015565b60006130bf84611d40565b90506000806130ce83856126b6565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee3286868660405161310593929190614b63565b60405180910390a1600061311887612754565b905060005b81518110156131ba57600082828151811061313a5761313a614a7f565b60200260200101519050806001600160a01b03166382b6745f8a8a8a6040518463ffffffff1660e01b815260040161317493929190614b63565b600060405180830381600087803b15801561318e57600080fd5b505af11580156131a2573d6000803e3d6000fd5b505050505080806131b290614bae565b91505061311d565b5060006131c78888612e3c565b9050602086016131da8260008388613abb565b6131e5856020614cd4565b6131ef9082614cd4565b90506131fa8661289a565b60ff1660000361320f57505050505050505050565b600061321b8a8a613896565b858155905060008060005b61322f8a61289a565b60ff168160ff161015613279576132478d8d83613b79565b92506132568860ff8316613bd2565b91506132658360008785613abb565b61326f8286614cd4565b9450600101613226565b50505050505050505050505050565b6000601c825111156132b2578151604051635318beb960e01b815260040161039591815260200190565b60008060008060005b86518110156133d95760006132f48883815181106132db576132db614a7f565b602002602001015160c58111156120f7576120f76147d1565b905061ffff81161561334a578215613338576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8361334281614d88565b94505061334f565b600192505b6133598186614da7565b94506133ce8661336a846004614cd4565b8a858151811061337c5761337c614a7f565b602002602001015160c5811115613395576133956147d1565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b9550506001016132bb565b5060008287516133e99190614dc4565b905060058160ff16111561341557604051635318beb960e01b815260ff82166004820152602401610395565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b16175b979650505050505050565b606060006134eb8360f01c90565b9050806000806134fa8661289a565b60ff16905080156135455761350f8888613c04565b9150600061351d8360c81c90565b11156135455761352d8260c81c90565b613538906020614cd4565b6135429084614cd4565b92505b60008367ffffffffffffffff81111561356057613560614379565b6040519080825280601f01601f19166020018201604052801561358a576020820181803683370190505b5090506020810161359d8a8a8884613c11565b6135a78460c81c90565b6000036135bb57509450610d049350505050565b6135c58682614cd4565b84815290506135d5602082614cd4565b905060005b838160ff1610156136335760006135f28c8c84613b79565b905060006136038760ff8516613bd2565b90506136128282600087613c2e565b61361c8185614cd4565b93505050808061362b90614d88565b9150506135da565b50909998505050505050505050565b60408051600280825260608201835260009283929190602083019080368337019050509050838160008151811061367b5761367b614a7f565b602002602001018181525050826001600160a01b031660001b816001815181106136a7576136a7614a7f565b6020908102919091018101919091526040805160009281018390527f5265736f7572636541636365737300000000000000000000000000000000000060308201526136f29101610fc3565b602081015190915061194f906125b0565b6000818311158015613716575083518211155b613752578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161039593929190614de7565b602084016137608482614cd4565b9050600061376e8585614d52565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b60606000610d048360146000613ce3565b6000806000805b845181101561385957613821836137c3836005614e0c565b6137ce906007614cd4565b8784815181106137e0576137e0614a7f565b602002602001015160d81b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b925084818151811061383557613835614a7f565b602002602001015164ffffffffff168261384f9190614e2b565b91506001016137ab565b5078ffffffffffffffffffffffffffffffffffffffffffffffffff821660c882901b1761045a565b600060208201905061032f8484838551613abb565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001612e7393929190614e4d565b60606138d8826128ab565b60ff168360ff1610156138f8576138f185858585613e26565b905061045a565b6138f1858585856139e7565b60006139138460ff8516612d5f565b9050815161392c8260c58111156120f7576120f76147d1565b14613983576139468160c58111156120f7576120f76147d1565b82516040517f521b3d3300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401610395565b600061398f8787612e3c565b9050600061399d8686613e86565b905061200c828286613881565b60006139b5846128ab565b6139bf9084614dc4565b90506139ce8686838551613ec9565b60006139db878784613b79565b905061030b8184613efb565b606060006139f4836128ab565b6139fe9085614dc4565b90506000613a0d878784613b79565b90506000613a288360ff16613a228a8a613c04565b90613bd2565b9050613a348282613f07565b98975050505050505050565b6000613a4b846128ab565b613a559084614dc4565b90506000613a638787613896565b90506000613a6f825490565b90506000613a808260ff8616613bd2565b9050613a9e8460ff16865183613a969190614cd4565b849190613f15565b8084559150613ab08989868489613fe6565b505050505050505050565b602083048401935060208381613ad357613ad3614ead565b0692508215613b2c5760208390036000600019600884021c1990506008850281811c91508451811c9050811987541682821617875550818311613b1757505061032f565b613b22600187614cd4565b9550509182019190035b60208110613b555781518455613b43600185614cd4565b935060209190910190601f1901613b2c565b801561032f576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9848484604051602001613bb29493929190614ec3565b60408051601f198184030181529190528051602090910120949350505050565b600080613be0836005614e0c565b613beb906007614cd4565b9050613bf984826008021b90565b60d81c949350505050565b6000806128908484613896565b811561032f576000613c238585612e3c565b90506109e681846000855b602082048401935060208281613c4657613c46614ead565b0691508115613c975760208290036000600019600883021c1990508554600885021b811984511682821617845250818511613c8257505061032f565b613c8d600187614cd4565b9550509283900392015b60208310613cbf5783548152613cae600185614cd4565b9350601f1990920191602001613c97565b821561032f576000600019600885021c198251865482169119161782525050505050565b60606000613cf18560801c90565b90506fffffffffffffffffffffffffffffffff8516600084613d2957613d18866008614e0c565b613d2490610100614d52565b613d2c565b60005b90506000868381613d3f57613d3f614ead565b049050613d4c8784614ef6565b15613dd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401610395565b602080820201604051955080860160405250808552600060208601855b83831015613e18578051851c8252600192909201916020909101908901613df6565b505050505050509392505050565b60606000613e378360ff8616612d5f565b90506000613e508260c58111156120f7576120f76147d1565b90506000613e5e8888612e3c565b90506000613e6c8688613e86565b9050613e79828483614026565b9998505050505050505050565b600080805b8360ff16811015613ec157613ea36120e68683612d5f565b613ead9083614cd4565b915080613eb981614bae565b915050613e8b565b509392505050565b6000613ed58585613896565b90506000613ee1825490565b9050613ef18160ff861685613f15565b8083559050611784565b6108dd82600083613881565b6060610d0483836000614026565b60008381613f238260c81c90565b90506000613f34878760ff16613bd2565b9050808510613f5857613f478186614d52565b613f519083614cd4565b9150613f6f565b613f628582614d52565b613f6c9083614d52565b91505b6000613f7c876005614e0c565b613f87906007614cd4565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c17613a34565b6000613ff3868686613b79565b9050614000602084614f0a565b61400a9082614cd4565b90506000614019602085614ef6565b905061030b828285613881565b60608267ffffffffffffffff81111561404157614041614379565b6040519080825280601f01601f19166020018201604052801561406b576020820181803683370190505b50905060208101613ec185858584613c2e565b6001600160801b03198116811461409457600080fd5b50565b60008083601f8401126140a957600080fd5b50813567ffffffffffffffff8111156140c157600080fd5b6020830191508360208285010111156140d957600080fd5b9250929050565b60008083601f8401126140f257600080fd5b50813567ffffffffffffffff81111561410a57600080fd5b6020830191508360208260051b85010111156140d957600080fd5b6000806000806000806080878903121561413e57600080fd5b86356141498161407e565b955060208701356141598161407e565b9450604087013567ffffffffffffffff8082111561417657600080fd5b6141828a838b01614097565b9096509450606089013591508082111561419b57600080fd5b506141a889828a016140e0565b979a9699509497509295939492505050565b6001600160a01b038116811461409457600080fd5b6000806000606084860312156141e457600080fd5b83356141ef8161407e565b925060208401356141ff8161407e565b9150604084013561420f816141ba565b809150509250925092565b6000806000806080858703121561423057600080fd5b843561423b8161407e565b9350602085013561424b8161407e565b93969395505050506040820135916060013590565b6000806000806080858703121561427657600080fd5b84356142818161407e565b935060208501356142918161407e565b925060408501356142a1816141ba565b9150606085013580151581146142b657600080fd5b939692955090935050565b80357fffffffff0000000000000000000000000000000000000000000000000000000081168114611d9057600080fd5b6000806000806080858703121561430757600080fd5b84356143128161407e565b935060208501356143228161407e565b9250614330604086016142c1565b915061433e606086016142c1565b905092959194509250565b6000806040838503121561435c57600080fd5b82359150602083013561436e816141ba565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156143b8576143b8614379565b604052919050565b600067ffffffffffffffff8211156143da576143da614379565b50601f01601f191660200190565b60006143fb6143f6846143c0565b61438f565b905082815283838301111561440f57600080fd5b828260208301376000602084830101529392505050565b6000806040838503121561443957600080fd5b8235614444816141ba565b9150602083013567ffffffffffffffff81111561446057600080fd5b8301601f8101851361447157600080fd5b614480858235602084016143e8565b9150509250929050565b60006020828403121561449c57600080fd5b8135610d048161407e565b600080600080600080608087890312156144c057600080fd5b86356144cb8161407e565b955060208701356144db8161407e565b9450604087013567ffffffffffffffff808211156144f857600080fd5b6145048a838b016140e0565b9096509450606089013591508082111561451d57600080fd5b506141a889828a01614097565b60008060008060006060868803121561454257600080fd5b85359450602086013567ffffffffffffffff8082111561456157600080fd5b61456d89838a016140e0565b9096509450604088013591508082111561458657600080fd5b5061459388828901614097565b969995985093965092949392505050565b600082601f8301126145b557600080fd5b610d04838335602085016143e8565b600080600080608085870312156145da57600080fd5b84356145e58161407e565b935060208501356145f58161407e565b9250604085013567ffffffffffffffff8082111561461257600080fd5b61461e888389016145a4565b9350606087013591508082111561463457600080fd5b50614641878288016145a4565b91505092959194509250565b60008060006060848603121561466257600080fd5b505081359360208301359350604090920135919050565b60008060008060006060868803121561469157600080fd5b85359450602086013567ffffffffffffffff808211156146b057600080fd5b6146bc89838a01614097565b909650945060408801359150808211156146d557600080fd5b50614593888289016140e0565b600067ffffffffffffffff808411156146fd576146fd614379565b8360051b602061470e81830161438f565b86815291850191818101903684111561472657600080fd5b865b8481101561475a578035868111156147405760008081fd5b61474c36828b016145a4565b845250918301918301614728565b50979650505050505050565b60005b83811015614781578181015183820152602001614769565b8381111561032f5750506000910152565b600081518084526147aa816020860160208601614766565b601f01601f19169290920160200192915050565b602081526000610d046020830184614792565b634e487b7160e01b600052602160045260246000fd5b6000602082840312156147f957600080fd5b8151610d048161407e565b60008551614816818460208a01614766565b80830190507f5f000000000000000000000000000000000000000000000000000000000000008082528651614852816001850160208b01614766565b6001920191820152845161486d816002840160208901614766565b8451910190614883816002840160208801614766565b016002019695505050505050565b600083516148a3818460208801614766565b8351908301906148b7818360208801614766565b01949350505050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b60006001600160801b031980891683526020818916818501526080604085015261491960808501888a6148c0565b84810360608601528581529150808201600586901b830182018760005b888110156149c257601f1986840301845281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18b360301811261497957600080fd5b8a01803567ffffffffffffffff81111561499257600080fd5b8036038c13156149a157600080fd5b6149ae85828985016148c0565b958701959450505090840190600101614936565b50909c9b505050505050505050505050565b6040815260006149e76040830185614792565b90506001600160a01b03831660208301529392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015614a72577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452614a60858351614792565b94509285019290850190600101614a26565b5092979650505050505050565b634e487b7160e01b600052603260045260246000fd5b80516020808301519190811015614ab6576000198160200360031b1b821691505b50919050565b82815260406020820152600061045a6040830184614792565b60008351614ae7818460208801614766565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008251614b1e818460208701614766565b9190910192915050565b600081518084526020808501945080840160005b83811015614b5857815187529582019590820190600101614b3c565b509495945050505050565b838152606060208201526000614b7c6060830185614b28565b8281036040840152614b8e8185614792565b9695505050505050565b634e487b7160e01b600052601160045260246000fd5b60006000198203614bc157614bc1614b98565b5060010190565b600060ff821660ff84168060ff03821115614be557614be5614b98565b019392505050565b82815260406020820152600061045a6040830184614b28565b838152606060208201526000614c1f6060830185614b28565b905060ff83166040830152949350505050565b600060208284031215614c4457600080fd5b815167ffffffffffffffff811115614c5b57600080fd5b8201601f81018413614c6c57600080fd5b8051614c7a6143f6826143c0565b818152856020838501011115614c8f57600080fd5b61194f826020830160208601614766565b848152608060208201526000614cb96080830186614b28565b60ff8516604084015282810360608401526134d28185614792565b60008219821115614ce757614ce7614b98565b500190565b838152606060208201526000614d056060830185614b28565b9050826040830152949350505050565b83815260008351614d2d816020850160208801614766565b80830190508351614d45816020840160208801614766565b0160200195945050505050565b600082821015614d6457614d64614b98565b500390565b83815282602082015260606040820152600061194f6060830184614b28565b600060ff821660ff8103614d9e57614d9e614b98565b60010192915050565b600061ffff8083168185168083038211156148b7576148b7614b98565b600060ff821660ff841680821015614dde57614dde614b98565b90039392505050565b606081526000614dfa6060830186614792565b60208301949094525060400152919050565b6000816000190483118215151615614e2657614e26614b98565b500290565b600066ffffffffffffff8083168185168083038211156148b7576148b7614b98565b838152826020820152608060408201526000614e6c6080830184614b28565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b634e487b7160e01b600052601260045260246000fd5b848152836020820152608060408201526000614ee26080830185614b28565b905060ff8316606083015295945050505050565b600082614f0557614f05614ead565b500690565b600082614f1957614f19614ead565b50049056fea164736f6c634300080d000a"; - -type CoreSystemConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: CoreSystemConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class CoreSystem__factory extends ContractFactory { - constructor(...args: CoreSystemConstructorParams) { - 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): CoreSystem { - return super.attach(address) as CoreSystem; - } - override connect(signer: Signer): CoreSystem__factory { - return super.connect(signer) as CoreSystem__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): CoreSystemInterface { - return new utils.Interface(_abi) as CoreSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): CoreSystem { - return new Contract(address, _abi, signerOrProvider) as CoreSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/EphemeralRecordSystem__factory.ts b/packages/world/types/ethers-contracts/factories/EphemeralRecordSystem__factory.ts deleted file mode 100644 index 0152d47a86..0000000000 --- a/packages/world/types/ethers-contracts/factories/EphemeralRecordSystem__factory.ts +++ /dev/null @@ -1,212 +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 { - EphemeralRecordSystem, - EphemeralRecordSystemInterface, -} from "../EphemeralRecordSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - { - internalType: "address", - name: "caller", - type: "address", - }, - ], - name: "AccessDenied", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506114fb806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063ab7404bb1461003b578063be83698c14610050575b600080fd5b61004e610049366004610fd8565b610063565b005b61004e61005e366004611069565b6100ec565b600061007087873361010a565b90506100e38186868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a01819004810282018101909252888152925088915087908190840183828082843760009201919091525061018192505050565b50505050505050565b610103856100fa8760801b90565b86868686610063565b5050505050565b608082901c6fffffffffffffffffffffffffffffffff1984161761012f848484610297565b61017a5761013c81610306565b826040517fe64c034800000000000000000000000000000000000000000000000000000000815260040161017192919061113b565b60405180910390fd5b9392505050565b600061018c846103f5565b9050610198818361044a565b50507f230ea578f076e518b96d8b1b4ca2e5dc4898fd02d11e43c9f067c22d1c391d3b8484846040516101cd939291906111ae565b60405180910390a160006101e0856104e8565b905060005b815181101561028f576000828281518110610202576102026111e3565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166382b6745f8888886040518463ffffffff1660e01b8152600401610249939291906111ae565b600060405180830381600087803b15801561026357600080fd5b505af1158015610277573d6000803e3d6000fd5b505050505080806102879061120f565b9150506101e5565b505050505050565b60003073ffffffffffffffffffffffffffffffffffffffff831614806102d657506102d66fffffffffffffffffffffffffffffffff1985165b836105c3565b806102fe57506102fe6fffffffffffffffffffffffffffffffff198516608085901c176102d0565b949350505050565b606081608081901b6fffffffffffffffffffffffffffffffff1982161561032d578161034f565b7f524f4f545f4e414d4553504143450000000000000000000000000000000000005b6fffffffffffffffffffffffffffffffff1982161561036e5781610390565b7f524f4f545f4e414d4500000000000000000000000000000000000000000000005b6040516fffffffffffffffffffffffffffffffff1992831660208201527f2f0000000000000000000000000000000000000000000000000000000000000060308201529116603182015260410160405160208183030381529060405292505050919050565b600061040082610695565b90508061044557816104118361075a565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401610171929190611229565b919050565b6000806104578460f01c90565b915081600061046586610785565b60ff161115610499578284016020015191506104818260c81c90565b61048c906020611242565b6104969082611242565b90505b835181146104e05783516040517f521b3d33000000000000000000000000000000000000000000000000000000008152610171918391600401918252602082015260400190565b509250929050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610522576105226111e3565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000928101929092527f486f6f6b7300000000000000000000000000000000000000000000000000000060308301526000916105ac91015b6040516020818303038152906040526105a490611270565b836000610796565b90506102fe6105be826000845161083c565b6108cc565b6040805160028082526060820183526000928392919060208301908036833701905050905083816000815181106105fc576105fc6111e3565b6020026020010181815250508273ffffffffffffffffffffffffffffffffffffffff1660001b81600181518110610635576106356111e3565b6020908102919091018101919091526040805160009281018390527f5265736f757263654163636573730000000000000000000000000000000000006030820152610680910161058c565b602081015190915060f81c5b95945050505050565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106106ce576106ce6111e3565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d610000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906107509061074a90611270565b836108dd565b90506102fe815490565b60608160405160200161076f91815260200190565b6040516020818303038152906040529050919050565b6000601882901b5b60f81c92915050565b60606107a0610933565b156107b7576107b08484846109b1565b905061017a565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c906107f790879087908790600401611297565b600060405180830381865afa158015610814573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107b091908101906112c3565b600081831115801561084f575083518211155b61088b578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161017193929190611370565b602084016108998482611242565b905060006108a78585611395565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b6060600061017a83601460006109cc565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001610914939291906113ac565b60408051601f1981840301815291905280516020909101209392505050565b6000303b80820361094657600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561098c57600080fd5b505afa92505050801561099d575060015b6109a957600091505090565b600191505090565b606060006109be856103f5565b905061068c85858584610b0f565b606060006109da8560801c90565b90506fffffffffffffffffffffffffffffffff8516600084610a1257610a018660086113cb565b610a0d90610100611395565b610a15565b60005b90506000868381610a2857610a286113ea565b049050610a358784611400565b15610ac2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401610171565b602080820201604051955080860160405250808552600060208601855b83831015610b01578051851c8252600192909201916020909101908901610adf565b505050505050509392505050565b6060610b1a82610b46565b60ff168360ff161015610b3a57610b3385858585610b52565b90506102fe565b610b3385858585610bb7565b6000601082901b61078d565b60606000610b638360ff8616610c10565b90506000610b818260c5811115610b7c57610b7c611422565b610c3c565b90506000610b8f88886108dd565b90506000610b9d8688610ced565b9050610baa828483610d41565b9998505050505050505050565b60606000610bc483610b46565b610bce9085611438565b90506000610bdd878784610d99565b90506000610bf88360ff16610bf28a8a610df2565b90610dff565b9050610c048282610e31565b98975050505050505050565b6000610c2883610c21846004611242565b6008021b90565b60f81c60c581111561017a5761017a611422565b6000808260c5811115610c5157610c51611422565b60ff1690506020811015610c6a5761017a816001611242565b6040811015610c8a576020610c80826001611242565b61017a9190611395565b6060811015610ca0576040610c80826001611242565b60608360c5811115610cb457610cb4611422565b03610cc25750600192915050565b60618360c5811115610cd657610cd6611422565b03610ce45750601492915050565b50600092915050565b600080805b8360ff16811015610d3957610d1b610d0a8683610c10565b60c5811115610b7c57610b7c611422565b610d259083611242565b915080610d318161120f565b915050610cf2565b509392505050565b60608267ffffffffffffffff811115610d5c57610d5c61125a565b6040519080825280601f01601f191660200182016040528015610d86576020820181803683370190505b50905060208101610d3985858584610e3f565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9848484604051602001610dd2949392919061145b565b60408051601f198184030181529190528051602090910120949350505050565b6000806107508484610ef2565b600080610e0d8360056113cb565b610e18906007611242565b9050610e2684826008021b90565b60d81c949350505050565b606061017a83836000610d41565b602082048401935060208281610e5757610e576113ea565b0691508115610ea85760208290036000600019600883021c1990508554600885021b811984511682821617845250818511610e93575050610eec565b610e9e600187611242565b9550509283900392015b60208310610ed05783548152610ebf600185611242565b9350601f1990920191602001610ea8565b8215610eec5780518454600019600886021c9182169119161781525b50505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016109149392919061148e565b80356fffffffffffffffffffffffffffffffff198116811461044557600080fd5b60008083601f840112610f5c57600080fd5b50813567ffffffffffffffff811115610f7457600080fd5b6020830191508360208260051b8501011115610f8f57600080fd5b9250929050565b60008083601f840112610fa857600080fd5b50813567ffffffffffffffff811115610fc057600080fd5b602083019150836020828501011115610f8f57600080fd5b60008060008060008060808789031215610ff157600080fd5b610ffa87610f29565b955061100860208801610f29565b9450604087013567ffffffffffffffff8082111561102557600080fd5b6110318a838b01610f4a565b9096509450606089013591508082111561104a57600080fd5b5061105789828a01610f96565b979a9699509497509295939492505050565b60008060008060006060868803121561108157600080fd5b85359450602086013567ffffffffffffffff808211156110a057600080fd5b6110ac89838a01610f4a565b909650945060408801359150808211156110c557600080fd5b506110d288828901610f96565b969995985093965092949392505050565b60005b838110156110fe5781810151838201526020016110e6565b83811115610eec5750506000910152565b600081518084526111278160208601602086016110e3565b601f01601f19169290920160200192915050565b60408152600061114e604083018561110f565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b600081518084526020808501945080840160005b838110156111a357815187529582019590820190600101611187565b509495945050505050565b8381526060602082015260006111c76060830185611173565b82810360408401526111d9818561110f565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198203611222576112226111f9565b5060010190565b8281526040602082015260006102fe604083018461110f565b60008219821115611255576112556111f9565b500190565b634e487b7160e01b600052604160045260246000fd5b80516020808301519190811015611291576000198160200360031b1b821691505b50919050565b8381526060602082015260006112b06060830185611173565b905060ff83166040830152949350505050565b6000602082840312156112d557600080fd5b815167ffffffffffffffff808211156112ed57600080fd5b818401915084601f83011261130157600080fd5b8151818111156113135761131361125a565b604051601f8201601f19908116603f0116810190838211818310171561133b5761133b61125a565b8160405282815287602084870101111561135457600080fd5b6113658360208301602088016110e3565b979650505050505050565b606081526000611383606083018661110f565b60208301949094525060400152919050565b6000828210156113a7576113a76111f9565b500390565b83815282602082015260606040820152600061068c6060830184611173565b60008160001904831182151516156113e5576113e56111f9565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261141d57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052602160045260246000fd5b600060ff821660ff841680821015611452576114526111f9565b90039392505050565b84815283602082015260806040820152600061147a6080830185611173565b905060ff8316606083015295945050505050565b8381528260208201526080604082015260006114ad6080830184611173565b8281036060840152600681527f6c656e677468000000000000000000000000000000000000000000000000000060208201526040810191505094935050505056fea164736f6c634300080d000a"; - -type EphemeralRecordSystemConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: EphemeralRecordSystemConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class EphemeralRecordSystem__factory extends ContractFactory { - constructor(...args: EphemeralRecordSystemConstructorParams) { - 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): EphemeralRecordSystem { - return super.attach(address) as EphemeralRecordSystem; - } - override connect(signer: Signer): EphemeralRecordSystem__factory { - return super.connect(signer) as EphemeralRecordSystem__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): EphemeralRecordSystemInterface { - return new utils.Interface(_abi) as EphemeralRecordSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): EphemeralRecordSystem { - return new Contract( - address, - _abi, - signerOrProvider - ) as EphemeralRecordSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IAccessManagementSystem__factory.ts b/packages/world/types/ethers-contracts/factories/IAccessManagementSystem__factory.ts deleted file mode 100644 index 0f9755b53c..0000000000 --- a/packages/world/types/ethers-contracts/factories/IAccessManagementSystem__factory.ts +++ /dev/null @@ -1,76 +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 { - IAccessManagementSystem, - IAccessManagementSystemInterface, -} from "../IAccessManagementSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "grantee", - type: "address", - }, - ], - name: "grantAccess", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "grantee", - type: "address", - }, - ], - name: "revokeAccess", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IAccessManagementSystem__factory { - static readonly abi = _abi; - static createInterface(): IAccessManagementSystemInterface { - return new utils.Interface(_abi) as IAccessManagementSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IAccessManagementSystem { - return new Contract( - address, - _abi, - signerOrProvider - ) as IAccessManagementSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IBaseWorld__factory.ts b/packages/world/types/ethers-contracts/factories/IBaseWorld__factory.ts deleted file mode 100644 index 028d8981fb..0000000000 --- a/packages/world/types/ethers-contracts/factories/IBaseWorld__factory.ts +++ /dev/null @@ -1,1335 +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 { IBaseWorld, IBaseWorldInterface } from "../IBaseWorld"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - { - internalType: "address", - name: "caller", - type: "address", - }, - ], - name: "AccessDenied", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "InvalidSelector", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "module", - type: "string", - }, - ], - name: "ModuleAlreadyInstalled", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceExists", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_DataIndexOverflow", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotImplemented", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "system", - type: "address", - }, - ], - name: "SystemExists", - type: "error", - }, - { - anonymous: false, - inputs: [], - name: "HelloWorld", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes", - name: "funcSelectorAndArgs", - type: "bytes", - }, - ], - name: "call", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "grantee", - type: "address", - }, - ], - name: "grantAccess", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "contract IModule", - name: "module", - type: "address", - }, - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "installModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "contract IModule", - name: "module", - type: "address", - }, - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "installRootModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "string", - name: "systemFunctionName", - type: "string", - }, - { - internalType: "string", - name: "systemFunctionArguments", - type: "string", - }, - ], - name: "registerFunctionSelector", - outputs: [ - { - internalType: "bytes4", - name: "worldFunctionSelector", - type: "bytes4", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "hook", - type: "address", - }, - ], - name: "registerHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - ], - name: "registerNamespace", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes4", - name: "worldFunctionSelector", - type: "bytes4", - }, - { - internalType: "bytes4", - name: "systemFunctionSelector", - type: "bytes4", - }, - ], - name: "registerRootFunctionSelector", - outputs: [ - { - internalType: "bytes4", - name: "", - type: "bytes4", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract System", - name: "system", - type: "address", - }, - { - internalType: "bool", - name: "publicAccess", - type: "bool", - }, - ], - name: "registerSystem", - outputs: [ - { - internalType: "bytes32", - name: "resourceSelector", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract ISystemHook", - name: "hook", - type: "address", - }, - ], - name: "registerSystemHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "Schema", - name: "valueSchema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerTable", - outputs: [ - { - internalType: "bytes32", - name: "resourceSelector", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerTableHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "grantee", - type: "address", - }, - ], - name: "revokeAccess", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IBaseWorld__factory { - static readonly abi = _abi; - static createInterface(): IBaseWorldInterface { - return new utils.Interface(_abi) as IBaseWorldInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IBaseWorld { - return new Contract(address, _abi, signerOrProvider) as IBaseWorld; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IModuleInstallationSystem__factory.ts b/packages/world/types/ethers-contracts/factories/IModuleInstallationSystem__factory.ts deleted file mode 100644 index 500580bd7e..0000000000 --- a/packages/world/types/ethers-contracts/factories/IModuleInstallationSystem__factory.ts +++ /dev/null @@ -1,48 +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 { - IModuleInstallationSystem, - IModuleInstallationSystemInterface, -} from "../IModuleInstallationSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IModule", - name: "module", - type: "address", - }, - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "installModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IModuleInstallationSystem__factory { - static readonly abi = _abi; - static createInterface(): IModuleInstallationSystemInterface { - return new utils.Interface(_abi) as IModuleInstallationSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IModuleInstallationSystem { - return new Contract( - address, - _abi, - signerOrProvider - ) as IModuleInstallationSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IModule__factory.ts b/packages/world/types/ethers-contracts/factories/IModule__factory.ts deleted file mode 100644 index 1b3ed0b932..0000000000 --- a/packages/world/types/ethers-contracts/factories/IModule__factory.ts +++ /dev/null @@ -1,60 +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 { IModule, IModuleInterface } from "../IModule"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resourceSelector", - type: "string", - }, - ], - name: "RequiredModuleNotFound", - type: "error", - }, - { - inputs: [], - name: "getName", - outputs: [ - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "install", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IModule__factory { - static readonly abi = _abi; - static createInterface(): IModuleInterface { - return new utils.Interface(_abi) as IModuleInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IModule { - return new Contract(address, _abi, signerOrProvider) as IModule; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts b/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts deleted file mode 100644 index ab807a02c5..0000000000 --- a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts +++ /dev/null @@ -1,464 +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 { - IStoreData, - IStoreDataInterface, -} from "../../IStore.sol/IStoreData"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreData__factory { - static readonly abi = _abi; - static createInterface(): IStoreDataInterface { - return new utils.Interface(_abi) as IStoreDataInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreData { - return new Contract(address, _abi, signerOrProvider) as IStoreData; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreEphemeral__factory.ts b/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreEphemeral__factory.ts deleted file mode 100644 index 4c16fb5ac2..0000000000 --- a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreEphemeral__factory.ts +++ /dev/null @@ -1,74 +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 { - IStoreEphemeral, - IStoreEphemeralInterface, -} from "../../IStore.sol/IStoreEphemeral"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreEphemeral__factory { - static readonly abi = _abi; - static createInterface(): IStoreEphemeralInterface { - return new utils.Interface(_abi) as IStoreEphemeralInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreEphemeral { - return new Contract(address, _abi, signerOrProvider) as IStoreEphemeral; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreHook__factory.ts b/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreHook__factory.ts deleted file mode 100644 index 9fee114b82..0000000000 --- a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreHook__factory.ts +++ /dev/null @@ -1,123 +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 { - IStoreHook, - IStoreHookInterface, -} from "../../IStore.sol/IStoreHook"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "onAfterSetField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "onBeforeSetField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "onDeleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "onSetRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreHook__factory { - static readonly abi = _abi; - static createInterface(): IStoreHookInterface { - return new utils.Interface(_abi) as IStoreHookInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreHook { - return new Contract(address, _abi, signerOrProvider) as IStoreHook; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreRead__factory.ts b/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreRead__factory.ts deleted file mode 100644 index 2127a47719..0000000000 --- a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreRead__factory.ts +++ /dev/null @@ -1,231 +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 { - IStoreRead, - IStoreReadInterface, -} from "../../IStore.sol/IStoreRead"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IStoreRead__factory { - static readonly abi = _abi; - static createInterface(): IStoreReadInterface { - return new utils.Interface(_abi) as IStoreReadInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreRead { - return new Contract(address, _abi, signerOrProvider) as IStoreRead; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreRegistration__factory.ts b/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreRegistration__factory.ts deleted file mode 100644 index 4c7a491b1c..0000000000 --- a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreRegistration__factory.ts +++ /dev/null @@ -1,90 +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 { - IStoreRegistration, - IStoreRegistrationInterface, -} from "../../IStore.sol/IStoreRegistration"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreRegistration__factory { - static readonly abi = _abi; - static createInterface(): IStoreRegistrationInterface { - return new utils.Interface(_abi) as IStoreRegistrationInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreRegistration { - return new Contract(address, _abi, signerOrProvider) as IStoreRegistration; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts b/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts deleted file mode 100644 index 07eed482b4..0000000000 --- a/packages/world/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts +++ /dev/null @@ -1,259 +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 { - IStoreWrite, - IStoreWriteInterface, -} from "../../IStore.sol/IStoreWrite"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreWrite__factory { - static readonly abi = _abi; - static createInterface(): IStoreWriteInterface { - return new utils.Interface(_abi) as IStoreWriteInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreWrite { - return new Contract(address, _abi, signerOrProvider) as IStoreWrite; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts b/packages/world/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts deleted file mode 100644 index 6b0288639b..0000000000 --- a/packages/world/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts +++ /dev/null @@ -1,660 +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 { IStore, IStoreInterface } from "../../IStore.sol/IStore"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_DataIndexOverflow", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotImplemented", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStore__factory { - static readonly abi = _abi; - static createInterface(): IStoreInterface { - return new utils.Interface(_abi) as IStoreInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IStore { - return new Contract(address, _abi, signerOrProvider) as IStore; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IStore.sol/index.ts b/packages/world/types/ethers-contracts/factories/IStore.sol/index.ts deleted file mode 100644 index 9d23327002..0000000000 --- a/packages/world/types/ethers-contracts/factories/IStore.sol/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IStore__factory } from "./IStore__factory"; -export { IStoreData__factory } from "./IStoreData__factory"; -export { IStoreEphemeral__factory } from "./IStoreEphemeral__factory"; -export { IStoreHook__factory } from "./IStoreHook__factory"; -export { IStoreRead__factory } from "./IStoreRead__factory"; -export { IStoreRegistration__factory } from "./IStoreRegistration__factory"; -export { IStoreWrite__factory } from "./IStoreWrite__factory"; diff --git a/packages/world/types/ethers-contracts/factories/IStoreErrors__factory.ts b/packages/world/types/ethers-contracts/factories/IStoreErrors__factory.ts deleted file mode 100644 index b3811c8559..0000000000 --- a/packages/world/types/ethers-contracts/factories/IStoreErrors__factory.ts +++ /dev/null @@ -1,113 +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 { IStoreErrors, IStoreErrorsInterface } from "../IStoreErrors"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_DataIndexOverflow", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotImplemented", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, -] as const; - -export class IStoreErrors__factory { - static readonly abi = _abi; - static createInterface(): IStoreErrorsInterface { - return new utils.Interface(_abi) as IStoreErrorsInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreErrors { - return new Contract(address, _abi, signerOrProvider) as IStoreErrors; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IStoreRegistrationSystem__factory.ts b/packages/world/types/ethers-contracts/factories/IStoreRegistrationSystem__factory.ts deleted file mode 100644 index d8b74bc1ce..0000000000 --- a/packages/world/types/ethers-contracts/factories/IStoreRegistrationSystem__factory.ts +++ /dev/null @@ -1,94 +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 { - IStoreRegistrationSystem, - IStoreRegistrationSystemInterface, -} from "../IStoreRegistrationSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "Schema", - name: "valueSchema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreRegistrationSystem__factory { - static readonly abi = _abi; - static createInterface(): IStoreRegistrationSystemInterface { - return new utils.Interface(_abi) as IStoreRegistrationSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreRegistrationSystem { - return new Contract( - address, - _abi, - signerOrProvider - ) as IStoreRegistrationSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/ISystemHook__factory.ts b/packages/world/types/ethers-contracts/factories/ISystemHook__factory.ts deleted file mode 100644 index 49a27d12ac..0000000000 --- a/packages/world/types/ethers-contracts/factories/ISystemHook__factory.ts +++ /dev/null @@ -1,69 +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 { ISystemHook, ISystemHookInterface } from "../ISystemHook"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "msgSender", - type: "address", - }, - { - internalType: "address", - name: "systemAddress", - type: "address", - }, - { - internalType: "bytes", - name: "funcSelectorAndArgs", - type: "bytes", - }, - ], - name: "onAfterCallSystem", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "msgSender", - type: "address", - }, - { - internalType: "address", - name: "systemAddress", - type: "address", - }, - { - internalType: "bytes", - name: "funcSelectorAndArgs", - type: "bytes", - }, - ], - name: "onBeforeCallSystem", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class ISystemHook__factory { - static readonly abi = _abi; - static createInterface(): ISystemHookInterface { - return new utils.Interface(_abi) as ISystemHookInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ISystemHook { - return new Contract(address, _abi, signerOrProvider) as ISystemHook; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IUniqueEntitySystem__factory.ts b/packages/world/types/ethers-contracts/factories/IUniqueEntitySystem__factory.ts deleted file mode 100644 index 8980ba697e..0000000000 --- a/packages/world/types/ethers-contracts/factories/IUniqueEntitySystem__factory.ts +++ /dev/null @@ -1,39 +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 { - IUniqueEntitySystem, - IUniqueEntitySystemInterface, -} from "../IUniqueEntitySystem"; - -const _abi = [ - { - inputs: [], - name: "uniqueEntity_system_getUniqueEntity", - outputs: [ - { - internalType: "bytes32", - name: "uniqueEntity", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IUniqueEntitySystem__factory { - static readonly abi = _abi; - static createInterface(): IUniqueEntitySystemInterface { - return new utils.Interface(_abi) as IUniqueEntitySystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IUniqueEntitySystem { - return new Contract(address, _abi, signerOrProvider) as IUniqueEntitySystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IWorldEphemeral__factory.ts b/packages/world/types/ethers-contracts/factories/IWorldEphemeral__factory.ts deleted file mode 100644 index e323326d04..0000000000 --- a/packages/world/types/ethers-contracts/factories/IWorldEphemeral__factory.ts +++ /dev/null @@ -1,54 +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 { - IWorldEphemeral, - IWorldEphemeralInterface, -} from "../IWorldEphemeral"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IWorldEphemeral__factory { - static readonly abi = _abi; - static createInterface(): IWorldEphemeralInterface { - return new utils.Interface(_abi) as IWorldEphemeralInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IWorldEphemeral { - return new Contract(address, _abi, signerOrProvider) as IWorldEphemeral; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IWorldErrors__factory.ts b/packages/world/types/ethers-contracts/factories/IWorldErrors__factory.ts deleted file mode 100644 index 9ff88eca2e..0000000000 --- a/packages/world/types/ethers-contracts/factories/IWorldErrors__factory.ts +++ /dev/null @@ -1,116 +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 { IWorldErrors, IWorldErrorsInterface } from "../IWorldErrors"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - { - internalType: "address", - name: "caller", - type: "address", - }, - ], - name: "AccessDenied", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "InvalidSelector", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "module", - type: "string", - }, - ], - name: "ModuleAlreadyInstalled", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceExists", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "system", - type: "address", - }, - ], - name: "SystemExists", - type: "error", - }, -] as const; - -export class IWorldErrors__factory { - static readonly abi = _abi; - static createInterface(): IWorldErrorsInterface { - return new utils.Interface(_abi) as IWorldErrorsInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IWorldErrors { - return new Contract(address, _abi, signerOrProvider) as IWorldErrors; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldCall__factory.ts b/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldCall__factory.ts deleted file mode 100644 index 7365c54d7b..0000000000 --- a/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldCall__factory.ts +++ /dev/null @@ -1,55 +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 { - IWorldCall, - IWorldCallInterface, -} from "../../IWorldKernel.sol/IWorldCall"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes", - name: "funcSelectorAndArgs", - type: "bytes", - }, - ], - name: "call", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "payable", - type: "function", - }, -] as const; - -export class IWorldCall__factory { - static readonly abi = _abi; - static createInterface(): IWorldCallInterface { - return new utils.Interface(_abi) as IWorldCallInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IWorldCall { - return new Contract(address, _abi, signerOrProvider) as IWorldCall; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts b/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts deleted file mode 100644 index 87b146472d..0000000000 --- a/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts +++ /dev/null @@ -1,214 +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 { - IWorldData, - IWorldDataInterface, -} from "../../IWorldKernel.sol/IWorldData"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IWorldData__factory { - static readonly abi = _abi; - static createInterface(): IWorldDataInterface { - return new utils.Interface(_abi) as IWorldDataInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IWorldData { - return new Contract(address, _abi, signerOrProvider) as IWorldData; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts b/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts deleted file mode 100644 index d2f2bf751a..0000000000 --- a/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts +++ /dev/null @@ -1,360 +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 { - IWorldKernel, - IWorldKernelInterface, -} from "../../IWorldKernel.sol/IWorldKernel"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - { - internalType: "address", - name: "caller", - type: "address", - }, - ], - name: "AccessDenied", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "InvalidSelector", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "module", - type: "string", - }, - ], - name: "ModuleAlreadyInstalled", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceExists", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "system", - type: "address", - }, - ], - name: "SystemExists", - type: "error", - }, - { - anonymous: false, - inputs: [], - name: "HelloWorld", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes", - name: "funcSelectorAndArgs", - type: "bytes", - }, - ], - name: "call", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "contract IModule", - name: "module", - type: "address", - }, - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "installRootModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IWorldKernel__factory { - static readonly abi = _abi; - static createInterface(): IWorldKernelInterface { - return new utils.Interface(_abi) as IWorldKernelInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IWorldKernel { - return new Contract(address, _abi, signerOrProvider) as IWorldKernel; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldModuleInstallation__factory.ts b/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldModuleInstallation__factory.ts deleted file mode 100644 index 5b4bf62d96..0000000000 --- a/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/IWorldModuleInstallation__factory.ts +++ /dev/null @@ -1,48 +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 { - IWorldModuleInstallation, - IWorldModuleInstallationInterface, -} from "../../IWorldKernel.sol/IWorldModuleInstallation"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IModule", - name: "module", - type: "address", - }, - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "installRootModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IWorldModuleInstallation__factory { - static readonly abi = _abi; - static createInterface(): IWorldModuleInstallationInterface { - return new utils.Interface(_abi) as IWorldModuleInstallationInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IWorldModuleInstallation { - return new Contract( - address, - _abi, - signerOrProvider - ) as IWorldModuleInstallation; - } -} diff --git a/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/index.ts b/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/index.ts deleted file mode 100644 index 56953dd01f..0000000000 --- a/packages/world/types/ethers-contracts/factories/IWorldKernel.sol/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IWorldCall__factory } from "./IWorldCall__factory"; -export { IWorldData__factory } from "./IWorldData__factory"; -export { IWorldKernel__factory } from "./IWorldKernel__factory"; -export { IWorldModuleInstallation__factory } from "./IWorldModuleInstallation__factory"; diff --git a/packages/world/types/ethers-contracts/factories/IWorldRegistrationSystem__factory.ts b/packages/world/types/ethers-contracts/factories/IWorldRegistrationSystem__factory.ts deleted file mode 100644 index e3a4bc806b..0000000000 --- a/packages/world/types/ethers-contracts/factories/IWorldRegistrationSystem__factory.ts +++ /dev/null @@ -1,276 +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 { - IWorldRegistrationSystem, - IWorldRegistrationSystemInterface, -} from "../IWorldRegistrationSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "string", - name: "systemFunctionName", - type: "string", - }, - { - internalType: "string", - name: "systemFunctionArguments", - type: "string", - }, - ], - name: "registerFunctionSelector", - outputs: [ - { - internalType: "bytes4", - name: "worldFunctionSelector", - type: "bytes4", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "hook", - type: "address", - }, - ], - name: "registerHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - ], - name: "registerNamespace", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes4", - name: "worldFunctionSelector", - type: "bytes4", - }, - { - internalType: "bytes4", - name: "systemFunctionSelector", - type: "bytes4", - }, - ], - name: "registerRootFunctionSelector", - outputs: [ - { - internalType: "bytes4", - name: "", - type: "bytes4", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract System", - name: "system", - type: "address", - }, - { - internalType: "bool", - name: "publicAccess", - type: "bool", - }, - ], - name: "registerSystem", - outputs: [ - { - internalType: "bytes32", - name: "resourceSelector", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract ISystemHook", - name: "hook", - type: "address", - }, - ], - name: "registerSystemHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "Schema", - name: "valueSchema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerTable", - outputs: [ - { - internalType: "bytes32", - name: "resourceSelector", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerTableHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IWorldRegistrationSystem__factory { - static readonly abi = _abi; - static createInterface(): IWorldRegistrationSystemInterface { - return new utils.Interface(_abi) as IWorldRegistrationSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IWorldRegistrationSystem { - return new Contract( - address, - _abi, - signerOrProvider - ) as IWorldRegistrationSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/KeysInTableHook__factory.ts b/packages/world/types/ethers-contracts/factories/KeysInTableHook__factory.ts deleted file mode 100644 index 6e2760ac71..0000000000 --- a/packages/world/types/ethers-contracts/factories/KeysInTableHook__factory.ts +++ /dev/null @@ -1,250 +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 { - KeysInTableHook, - KeysInTableHookInterface, -} from "../KeysInTableHook"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_DataIndexOverflow", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "", - type: "uint8", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "onAfterSetField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "", - type: "uint8", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "onBeforeSetField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "onDeleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "onSetRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5061450d806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063469b7ee2146100515780636b3d7d5f1461006757806382b6745f1461007a578063b51fef6c1461008d575b600080fd5b61006561005f366004613e2a565b50505050565b005b610065610075366004613e2a565b6100a0565b610065610088366004613eb2565b6100aa565b61006561009b366004613f1f565b6100b9565b61005f84846103a3565b6100b483836103a3565b505050565b6000816040516020016100cc9190613fa1565b6040516020818303038152906040528051906020012090506000806100f185846104da565b91509150811561039c5761010585846105b9565b600061011086610674565b90508064ffffffffff1660010361012f5761012a8661071e565b61039a565b84511561039a576000855167ffffffffffffffff81111561015257610152613cf0565b60405190808252806020026020018201604052801561017b578160200160208202803683370190505b509050600061019b8861018f600186613fca565b64ffffffffff16610792565b905080826000815181106101b1576101b1613ff0565b6020026020010181815250506101cf888564ffffffffff168361085a565b6101d888610906565b600187511115610360576101fd886101f1600186613fca565b64ffffffffff1661098e565b9050808260018151811061021357610213613ff0565b602002602001018181525050610231888564ffffffffff1683610a1e565b61023a88610aaa565b6002875111156103605761025f88610253600186613fca565b64ffffffffff16610b32565b9050808260028151811061027557610275613ff0565b602002602001018181525050610293888564ffffffffff1683610bc2565b61029c88610c4e565b600387511115610360576102c1886102b5600186613fca565b64ffffffffff16610cd6565b905080826003815181106102d7576102d7613ff0565b6020026020010181815250506102f5888564ffffffffff1683610d66565b6102fe88610df2565b6004875111156103605761032388610317600186613fca565b64ffffffffff16610e7a565b9050808260048151811061033957610339613ff0565b602002602001018181525050610357888564ffffffffff1683610f0a565b61036088610f96565b6000826040516020016103739190613fa1565b60405160208183030381529060405280519060200120905061039689828761101e565b5050505b505b5050505050565b6000816040516020016103b69190613fa1565b6040516020818303038152906040528051906020012090506103d88382611118565b6100b45760006103e784610674565b8351909150156104cd57610415848460008151811061040857610408613ff0565b60200260200101516111eb565b6001835111156104cd57610443848460018151811061043657610436613ff0565b6020026020010151611293565b6002835111156104cd57610471848460028151811061046457610464613ff0565b6020026020010151611327565b6003835111156104cd5761049f848460038151811061049257610492613ff0565b60200260200101516113bb565b6004835111156104cd576104cd84846004815181106104c0576104c0613ff0565b602002602001015161144f565b61005f84836001846114e3565b604080516002808252606082018352600092839283929091602083019080368337019050509050848160008151811061051557610515613ff0565b602002602001018181525050838160018151811061053557610535613ff0565b6020908102919091018101919091526040805160009281018390527f557365644b657973496e6465780000000000000000000000000000000000000060308201526105a1910160405160208183030381529060405261059390614006565b8361059c6115df565b61169c565b90506105ac81611749565b9350935050509250929050565b60408051600280825260608201835260009260208301908036833701905050905082816000815181106105ee576105ee613ff0565b602002602001018181525050818160018151811061060e5761060e613ff0565b602090810291909101810191909152604080516000928101929092527f557365644b657973496e6465780000000000000000000000000000000000000060308301526100b491015b60405160208183030381529060405261066e90614006565b8261176e565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106106ad576106ad613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b603082015261070991016040516020818303038152906040526106f990614006565b8360006107046117f1565b611940565b9050610716602082614043565b949350505050565b60408051600180825281830190925260009160208083019080368337019050509050818160008151811061075457610754613ff0565b602090810291909101810191909152604080516000928101929092526a4b657973496e5461626c6560a81b603083015261078e9101610656565b5050565b6040805160018082528183019092526000918291906020808301908036833701905050905083816000815181106107cb576107cb613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b6030820152610848910160405160208183030381529060405261081790614006565b8360006108226117f1565b61082d896020614057565b6108388a6001614076565b610843906020614057565b6119e5565b60208101519091505b95945050505050565b60408051600180825281830190925260009160208083019080368337019050509050838160008151811061089057610890613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261005f906108d890614006565b8260006108e6876020614057565b604080516020810189905201604051602081830303815290604052611a9e565b60408051600180825281830190925260009160208083019080368337019050509050818160008151811061093c5761093c613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261078e9061098490614006565b8260006020611b2f565b6040805160018082528183019092526000918291906020808301908036833701905050905083816000815181106109c7576109c7613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526108489101604051602081830303815290604052610a1390614006565b8360016108226117f1565b604080516001808252818301909252600091602080830190803683370190505090508381600081518110610a5457610a54613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261005f90610a9c90614006565b8260016108e6876020614057565b604080516001808252818301909252600091602080830190803683370190505090508181600081518110610ae057610ae0613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261078e90610b2890614006565b8260016020611b2f565b604080516001808252818301909252600091829190602080830190803683370190505090508381600081518110610b6b57610b6b613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526108489101604051602081830303815290604052610bb790614006565b8360026108226117f1565b604080516001808252818301909252600091602080830190803683370190505090508381600081518110610bf857610bf8613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261005f90610c4090614006565b8260026108e6876020614057565b604080516001808252818301909252600091602080830190803683370190505090508181600081518110610c8457610c84613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261078e90610ccc90614006565b8260026020611b2f565b604080516001808252818301909252600091829190602080830190803683370190505090508381600081518110610d0f57610d0f613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526108489101604051602081830303815290604052610d5b90614006565b8360036108226117f1565b604080516001808252818301909252600091602080830190803683370190505090508381600081518110610d9c57610d9c613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261005f90610de490614006565b8260036108e6876020614057565b604080516001808252818301909252600091602080830190803683370190505090508181600081518110610e2857610e28613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261078e90610e7090614006565b8260036020611b2f565b604080516001808252818301909252600091829190602080830190803683370190505090508381600081518110610eb357610eb3613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526108489101604051602081830303815290604052610eff90614006565b8360046108226117f1565b604080516001808252818301909252600091602080830190803683370190505090508381600081518110610f4057610f40613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261005f90610f8890614006565b8260046108e6876020614057565b604080516001808252818301909252600091602080830190803683370190505090508181600081518110610fcc57610fcc613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261078e9061101490614006565b8260046020611b2f565b604080516002808252606082018352600092602083019080368337019050509050838160008151811061105357611053613ff0565b602002602001018181525050828160018151811061107357611073613ff0565b602090810291909101810191909152604080516000818401527f557365644b657973496e646578000000000000000000000000000000000000006030820152815180820390930183528101905261005f906110cd90614006565b6040517fffffffffff00000000000000000000000000000000000000000000000000000060d886901b1660208201528390600190602501604051602081830303815290604052611bc2565b60408051600280825260608201835260009283929190602083019080368337019050509050838160008151811061115157611151613ff0565b602002602001018181525050828160018151811061117157611171613ff0565b6020908102919091018101919091526040805160009281018390527f557365644b657973496e6465780000000000000000000000000000000000000060308201526111d891015b6040516020818303038152906040526111d090614006565b836000611c1d565b6020810151909150610851905b60f81c90565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061122157611221613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b603082015281518082039093018352810190526100b49061126990614006565b8260008560405160200161127f91815260200190565b604051602081830303815290604052611c77565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106112c9576112c9613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b603082015281518082039093018352810190526100b49061131190614006565b8260018560405160200161127f91815260200190565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061135d5761135d613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b603082015281518082039093018352810190526100b4906113a590614006565b8260028560405160200161127f91815260200190565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106113f1576113f1613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b603082015281518082039093018352810190526100b49061143990614006565b8260038560405160200161127f91815260200190565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061148557611485613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b603082015281518082039093018352810190526100b4906114cd90614006565b8260048560405160200161127f91815260200190565b6040805183151560f81b602082015260d883901b7fffffffffff0000000000000000000000000000000000000000000000000000001660218201528151600681830301815260026026830181815260868401855291936000936046019080368337019050509050858160008151811061155e5761155e613ff0565b602002602001018181525050848160018151811061157e5761157e613ff0565b602090810291909101810191909152604080516000818401527f557365644b657973496e646578000000000000000000000000000000000000006030820152815180820390930183528101905261039a906115d890614006565b8284611cd2565b6040805160028082526060820183526000928392919060208301908036833701905050905060608160008151811061161957611619613ff0565b602002602001019060c58111156116325761163261408e565b908160c58111156116455761164561408e565b8152505060048160018151811061165e5761165e613ff0565b602002602001019060c58111156116775761167761408e565b908160c581111561168a5761168a61408e565b90525061169681611d61565b91505090565b60606116a6611ff6565b156116bd576116b6848484612074565b9050611742565b6040517f419b58fd000000000000000000000000000000000000000000000000000000008152339063419b58fd906116fd908790879087906004016140a4565b600060405180830381865afa15801561171a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116b691908101906140f9565b9392505050565b6020810151600090819061175c906111e5565b602184015190925060d81c9050915091565b611776611ff6565b156117855761078e82826121d9565b6040517f505a181d000000000000000000000000000000000000000000000000000000008152339063505a181d906117c39085908590600401614167565b600060405180830381600087803b1580156117dd57600080fd5b505af115801561039a573d6000803e3d6000fd5b60408051600580825260c082019092526000918291906020820160a08036833701905050905060c18160008151811061182c5761182c613ff0565b602002602001019060c58111156118455761184561408e565b908160c58111156118585761185861408e565b8152505060c18160018151811061187157611871613ff0565b602002602001019060c581111561188a5761188a61408e565b908160c581111561189d5761189d61408e565b8152505060c1816002815181106118b6576118b6613ff0565b602002602001019060c58111156118cf576118cf61408e565b908160c58111156118e2576118e261408e565b8152505060c1816003815181106118fb576118fb613ff0565b602002602001019060c58111156119145761191461408e565b908160c58111156119275761192761408e565b8152505060c18160048151811061165e5761165e613ff0565b600061194a611ff6565b156119625761195b8585858561236f565b9050610716565b6040517f9f1fcf0a0000000000000000000000000000000000000000000000000000000081523390639f1fcf0a906119a4908890889088908890600401614180565b602060405180830381865afa1580156119c1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195b91906141af565b60606119ef611ff6565b15611a0957611a028787878787876123df565b9050611a94565b6040517fd3a26b06000000000000000000000000000000000000000000000000000000008152339063d3a26b0690611a4f908a908a908a908a908a908a906004016141c8565b600060405180830381865afa158015611a6c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a0291908101906140f9565b9695505050505050565b611aa6611ff6565b15611abd57611ab8858585858561245c565b61039c565b6040517f776d4047000000000000000000000000000000000000000000000000000000008152339063776d404790611b019088908890889088908890600401614235565b600060405180830381600087803b158015611b1b57600080fd5b505af1158015610396573d6000803e3d6000fd5b611b37611ff6565b15611b485761005f84848484612702565b6040517f8c1f9a540000000000000000000000000000000000000000000000000000000081523390638c1f9a5490611b8a908790879087908790600401614180565b600060405180830381600087803b158015611ba457600080fd5b505af1158015611bb8573d6000803e3d6000fd5b5050505050505050565b611bca611ff6565b15611bdb5761005f84848484612924565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a726690611b8a90879087908790879060040161426f565b6060611c27611ff6565b15611c37576116b6848484612b0f565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c906116fd908790879087906004016142a3565b611c7f611ff6565b15611c905761005f84848484612b2a565b6040517f0c1a60000000000000000000000000000000000000000000000000000000000081523390630c1a600090611b8a90879087908790879060040161426f565b611cda611ff6565b15611cea576100b4838383612d4d565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f90611d2a908690869086906004016142cf565b600060405180830381600087803b158015611d4457600080fd5b505af1158015611d58573d6000803e3d6000fd5b50505050505050565b6000601c82511115611dad5781516040517f5318beb9000000000000000000000000000000000000000000000000000000008152600401611da491815260200190565b60405180910390fd5b60008060008060005b8651811015611ed9576000611df4888381518110611dd657611dd6613ff0565b602002602001015160c5811115611def57611def61408e565b612f2e565b905061ffff811615611e4a578215611e38576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83611e42816142fa565b945050611e4f565b600192505b611e598186614319565b9450611ece86611e6a846004614076565b8a8581518110611e7c57611e7c613ff0565b602002602001015160c5811115611e9557611e9561408e565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101611db6565b506000828751611ee9919061433f565b905060058160ff161115611f2e576040517f5318beb900000000000000000000000000000000000000000000000000000000815260ff82166004820152602401611da4565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b16175b979650505050505050565b6000303b80820361200957600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561204f57600080fd5b505afa925050508015612060575060015b61206c57600091505090565b600191505090565b606060006120828360f01c90565b90508060008061209186612fdf565b60ff16905080156120dc576120a68888612ff0565b915060006120b48360c81c90565b11156120dc576120c48260c81c90565b6120cf906020614076565b6120d99084614076565b92505b60008367ffffffffffffffff8111156120f7576120f7613cf0565b6040519080825280601f01601f191660200182016040528015612121576020820181803683370190505b509050602081016121348a8a8884613007565b61213e8460c81c90565b600003612152575094506117429350505050565b61215c8682614076565b848152905061216c602082614076565b905060005b838160ff1610156121ca5760006121898c8c84613028565b9050600061219a8760ff8516613081565b90506121a982826000876130b3565b6121b38185614076565b9350505080806121c2906142fa565b915050612171565b50909998505050505050505050565b60006121e483613168565b90507f2cc8610b80ef19409ae51ecbdd9c137960fb22ae9ef2d817d36ec1b685d68ecd8383604051612217929190614167565b60405180910390a1600061222a846131bd565b905060005b81518110156122d757600082828151811061224c5761224c613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663b51fef6c87876040518363ffffffff1660e01b8152600401612291929190614167565b600060405180830381600087803b1580156122ab57600080fd5b505af11580156122bf573d6000803e3d6000fd5b505050505080806122cf90614362565b91505061222f565b5060006122e4858561327c565b905061233e8160006122f68660f01c90565b67ffffffffffffffff81111561230e5761230e613cf0565b6040519080825280601f01601f191660200182016040528015612338576020820181803683370190505b506132d2565b61234783612fdf565b60ff16600003612358575050505050565b600061236486866132e7565b60008155905061039a565b60008061237b8361331e565b90508060ff168460ff1610156123ba57600061239a8460ff871661332a565b90506123b18160c5811115611def57611def61408e565b92505050610716565b60006123c6828661433f565b90506123b18160ff166123d98989612ff0565b90613081565b606060006123ec8561331e565b90506123f78561331e565b60ff168660ff16101561241d576040516302860dd760e31b815260040160405180910390fd5b6000612429828861433f565b905060006124388a8a84613028565b905061244e81612448888861437c565b88613356565b9a9950505050505050505050565b600061246786613168565b90506124728161331e565b60ff168460ff161015612498576040516302860dd760e31b815260040160405180910390fd5b64ffffffffff8311156124e5576040517f7cd3b80700000000000000000000000000000000000000000000000000000000815264ffffffffff600482015260248101849052604401611da4565b606060006124f5888888866133b6565b905061250b61250682600088613409565b613499565b846125276125068488518a6125209190614076565b8651613409565b60405160200161253993929190614393565b6040516020818303038152906040529150507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4687878784604051612580949392919061426f565b60405180910390a16000612593886131bd565b905060005b81518110156126445760008282815181106125b5576125b5613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28b8b8b886040518563ffffffff1660e01b81526004016125fe949392919061426f565b600060405180830381600087803b15801561261857600080fd5b505af115801561262c573d6000803e3d6000fd5b5050505050808061263c90614362565b915050612598565b50612653888885898989613519565b60005b815181101561039657600082828151811061267357612673613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8b8b8b886040518563ffffffff1660e01b81526004016126bc949392919061426f565b600060405180830381600087803b1580156126d657600080fd5b505af11580156126ea573d6000803e3d6000fd5b505050505080806126fa90614362565b915050612656565b600061270d85613168565b90506127188161331e565b60ff168360ff16101561273e576040516302860dd760e31b815260040160405180910390fd5b6060600061274e878787866133b6565b905061276b612506826000878551612766919061437c565b613409565b9150507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c46868686846040516127a3949392919061426f565b60405180910390a160006127b6876131bd565b905060005b81518110156128675760008282815181106127d8576127d8613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401612821949392919061426f565b600060405180830381600087803b15801561283b57600080fd5b505af115801561284f573d6000803e3d6000fd5b5050505050808061285f90614362565b9150506127bb565b50612875878785888861353d565b60005b8151811015611bb857600082828151811061289557612895613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8a8a8a886040518563ffffffff1660e01b81526004016128de949392919061426f565b600060405180830381600087803b1580156128f857600080fd5b505af115801561290c573d6000803e3d6000fd5b5050505050808061291c90614362565b915050612878565b600061292f85613168565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4685858585604051612966949392919061426f565b60405180910390a16000612979866131bd565b905060005b8151811015612a2a57600082828151811061299b5761299b613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee2898989896040518563ffffffff1660e01b81526004016129e4949392919061426f565b600060405180830381600087803b1580156129fe57600080fd5b505af1158015612a12573d6000803e3d6000fd5b50505050508080612a2290614362565b91505061297e565b50612a348261331e565b60ff168460ff161015612a5357612a4e86868487876135a2565b612a60565b612a608686848787613648565b60005b8151811015611d58576000828281518110612a8057612a80613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f898989896040518563ffffffff1660e01b8152600401612ac9949392919061426f565b600060405180830381600087803b158015612ae357600080fd5b505af1158015612af7573d6000803e3d6000fd5b50505050508080612b0790614362565b915050612a63565b60606000612b1c85613168565b905061085185858584613685565b6000612b3585613168565b9050612b408161331e565b60ff168360ff161015612b66576040516302860dd760e31b815260040160405180910390fd5b6000612b74868686856133b6565b83604051602001612b869291906143d6565b60405160208183030381529060405290507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4686868684604051612bcc949392919061426f565b60405180910390a16000612bdf876131bd565b905060005b8151811015612c90576000828281518110612c0157612c01613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401612c4a949392919061426f565b600060405180830381600087803b158015612c6457600080fd5b505af1158015612c78573d6000803e3d6000fd5b50505050508080612c8890614362565b915050612be4565b50612c9e87878588886136b5565b60005b8151811015611bb8576000828281518110612cbe57612cbe613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8a8a8a886040518563ffffffff1660e01b8152600401612d07949392919061426f565b600060405180830381600087803b158015612d2157600080fd5b505af1158015612d35573d6000803e3d6000fd5b50505050508080612d4590614362565b915050612ca1565b6000612d5884613168565b9050600080612d67838561371d565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee32868686604051612d9e939291906142cf565b60405180910390a16000612db1876131bd565b905060005b8151811015612e60576000828281518110612dd357612dd3613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166382b6745f8a8a8a6040518463ffffffff1660e01b8152600401612e1a939291906142cf565b600060405180830381600087803b158015612e3457600080fd5b505af1158015612e48573d6000803e3d6000fd5b50505050508080612e5890614362565b915050612db6565b506000612e6d888861327c565b905060208601612e8082600083886137bb565b612e8b856020614076565b612e959082614076565b9050612ea086612fdf565b60ff16600003612eb557505050505050505050565b6000612ec18a8a6132e7565b858155905060008060005b612ed58a612fdf565b60ff168160ff161015612f1f57612eed8d8d83613028565b9250612efc8860ff8316613081565b9150612f0b83600087856137bb565b612f158286614076565b9450600101612ecc565b50505050505050505050505050565b6000808260c5811115612f4357612f4361408e565b60ff1690506020811015612f5c57611742816001614076565b6040811015612f7c576020612f72826001614076565b611742919061437c565b6060811015612f92576040612f72826001614076565b60608360c5811115612fa657612fa661408e565b03612fb45750600192915050565b60618360c5811115612fc857612fc861408e565b03612fd65750601492915050565b50600092915050565b6000601882901b5b60f81c92915050565b600080612ffd84846132e7565b9050610716815490565b811561005f576000613019858561327c565b905061039c81846000856130b3565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d984848460405160200161306194939291906143fc565b60408051601f198184030181529190528051602090910120949350505050565b60008061308f836005614057565b61309a906007614076565b90506130a884826008021b90565b60d81c949350505050565b6020820484019350602082816130cb576130cb61402d565b069150811561311c5760208290036000600019600883021c1990508554600885021b81198451168282161784525081851161310757505061005f565b613112600187614076565b9550509283900392015b602083106131445783548152613133600185614076565b9350601f199092019160200161311c565b821561005f576000600019600885021c198251865482169119161782525050505050565b600061317382613879565b9050806131b8578161318483613934565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401611da492919061442f565b919050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106131f7576131f7613ff0565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000928101929092527f486f6f6b73000000000000000000000000000000000000000000000000000000603083015260009161326591016111b8565b90506107166132778260008451613409565b61395f565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016132b393929190614448565b60408051601f1981840301815291905280516020909101209392505050565b600060208201905061005f84848385516137bb565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016132b393929190614467565b6000601082901b612fe7565b60006133428361333b846004614076565b6008021b90565b60f81c60c58111156117425761174261408e565b60608267ffffffffffffffff81111561337157613371613cf0565b6040519080825280601f01601f19166020018201604052801561339b576020820181803683370190505b509050602081016133ae858585846130b3565b509392505050565b606060006133c38361331e565b6133cd908561433f565b905060006133dc878784613028565b905060006133f18360ff166123d98a8a612ff0565b90506133fd8282613970565b98975050505050505050565b600081831115801561341c575083518211155b613458578383836040517f23230fa3000000000000000000000000000000000000000000000000000000008152600401611da4939291906144c7565b602084016134668482614076565b90506000613474858561437c565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b606060006134a78360801c90565b90506fffffffffffffffffffffffffffffffff83168067ffffffffffffffff8111156134d5576134d5613cf0565b6040519080825280601f01601f1916602001820160405280156134ff576020820181803683370190505b5092506020830161351183828461397e565b505050919050565b60006135248561331e565b61352e908561433f565b9050611d5887878386866139b2565b60006135488461331e565b613552908461433f565b9050600061356087876132e7565b9050600061356c825490565b9050600061357d8260ff8616613081565b905061359860ff8516613590878461437c565b8491906139f2565b8084559150610396565b60006135b18460ff851661332a565b905081516135ca8260c5811115611def57611def61408e565b14613621576135e48160c5811115611def57611def61408e565b82516040517f521b3d3300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401611da4565b600061362d878761327c565b9050600061363b8686613ac3565b9050611bb88282866132d2565b60006136538461331e565b61365d908461433f565b905061366c8686838551613b0f565b6000613679878784613028565b9050611d588184613b41565b60606136908261331e565b60ff168360ff1610156136a95761195b85858585613b4d565b61195b858585856133b6565b60006136c08461331e565b6136ca908461433f565b905060006136d887876132e7565b905060006136e4825490565b905060006136f58260ff8616613081565b905061370b8460ff168651836135909190614076565b808455915061039689898684896139b2565b60008061372a8460f01c90565b915081600061373886612fdf565b60ff16111561376c578284016020015191506137548260c81c90565b61375f906020614076565b6137699082614076565b90505b835181146137b35783516040517f521b3d33000000000000000000000000000000000000000000000000000000008152611da4918391600401918252602082015260400190565b509250929050565b6020830484019350602083816137d3576137d361402d565b069250821561382c5760208390036000600019600884021c1990506008850281811c91508451811c905081198754168282161787555081831161381757505061005f565b613822600187614076565b9550509182019190035b602081106138555781518455613843600185614076565b935060209190910190601f190161382c565b801561005f576000600019600883021c198554845182169119161785555050505050565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106138b2576138b2613ff0565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d61000000000000000000000000000000000000000000000000000060308201528151808203909301835281019052600090612ffd9061392e90614006565b8361327c565b60608160405160200161394991815260200190565b6040516020818303038152906040529050919050565b606060006117428360146000613bad565b606061174283836000613356565b6020811115613995578082828560045afa50505050565b6000600019600883021c1983518551821691191617835250505050565b60006139bf868686613028565b90506139cc602084614043565b6139d69082614076565b905060006139e56020856144ec565b9050611d588282856132d2565b60008381613a008260c81c90565b90506000613a11878760ff16613081565b9050808510613a3557613a24818661437c565b613a2e9083614076565b9150613a4c565b613a3f858261437c565b613a49908361437c565b91505b6000613a59876005614057565b613a64906007614076565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c176133fd565b600080805b8360ff168110156133ae57613af1613ae0868361332a565b60c5811115611def57611def61408e565b613afb9083614076565b915080613b0781614362565b915050613ac8565b6000613b1b85856132e7565b90506000613b27825490565b9050613b378160ff8616856139f2565b808355905061039a565b61078e826000836132d2565b60606000613b5e8360ff861661332a565b90506000613b778260c5811115611def57611def61408e565b90506000613b85888861327c565b90506000613b938688613ac3565b9050613ba0828483613356565b9998505050505050505050565b60606000613bbb8560801c90565b90506fffffffffffffffffffffffffffffffff8516600084613bf357613be2866008614057565b613bee9061010061437c565b613bf6565b60005b90506000868381613c0957613c0961402d565b049050613c1687846144ec565b15613ca3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401611da4565b602080820201604051955080860160405250808552600060208601855b83831015613ce2578051851c8252600192909201916020909101908901613cc0565b505050505050509392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613d2f57613d2f613cf0565b604052919050565b600082601f830112613d4857600080fd5b8135602067ffffffffffffffff821115613d6457613d64613cf0565b8160051b613d73828201613d06565b9283528481018201928281019087851115613d8d57600080fd5b83870192505b84831015611feb57823582529183019190830190613d93565b600067ffffffffffffffff821115613dc657613dc6613cf0565b50601f01601f191660200190565b600082601f830112613de557600080fd5b8135613df8613df382613dac565b613d06565b818152846020838601011115613e0d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215613e4057600080fd5b84359350602085013567ffffffffffffffff80821115613e5f57600080fd5b613e6b88838901613d37565b94506040870135915060ff82168214613e8357600080fd5b90925060608601359080821115613e9957600080fd5b50613ea687828801613dd4565b91505092959194509250565b600080600060608486031215613ec757600080fd5b83359250602084013567ffffffffffffffff80821115613ee657600080fd5b613ef287838801613d37565b93506040860135915080821115613f0857600080fd5b50613f1586828701613dd4565b9150509250925092565b60008060408385031215613f3257600080fd5b82359150602083013567ffffffffffffffff811115613f5057600080fd5b613f5c85828601613d37565b9150509250929050565b600081518084526020808501945080840160005b83811015613f9657815187529582019590820190600101613f7a565b509495945050505050565b6020815260006117426020830184613f66565b634e487b7160e01b600052601160045260246000fd5b600064ffffffffff83811690831681811015613fe857613fe8613fb4565b039392505050565b634e487b7160e01b600052603260045260246000fd5b80516020808301519190811015614027576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052601260045260246000fd5b6000826140525761405261402d565b500490565b600081600019048311821515161561407157614071613fb4565b500290565b6000821982111561408957614089613fb4565b500190565b634e487b7160e01b600052602160045260246000fd5b8381526060602082015260006140bd6060830185613f66565b9050826040830152949350505050565b60005b838110156140e85781810151838201526020016140d0565b8381111561005f5750506000910152565b60006020828403121561410b57600080fd5b815167ffffffffffffffff81111561412257600080fd5b8201601f8101841361413357600080fd5b8051614141613df382613dac565b81815285602083850101111561415657600080fd5b6108518260208301602086016140cd565b8281526040602082015260006107166040830184613f66565b8481526080602082015260006141996080830186613f66565b60ff949094166040830152506060015292915050565b6000602082840312156141c157600080fd5b5051919050565b86815260c0602082015260006141e160c0830188613f66565b905060ff861660408301528460608301528360808301528260a0830152979650505050505050565b600081518084526142218160208601602086016140cd565b601f01601f19169290920160200192915050565b85815260a06020820152600061424e60a0830187613f66565b60ff8616604084015284606084015282810360808401526133fd8185614209565b8481526080602082015260006142886080830186613f66565b60ff851660408401528281036060840152611feb8185614209565b8381526060602082015260006142bc6060830185613f66565b905060ff83166040830152949350505050565b8381526060602082015260006142e86060830185613f66565b8281036040840152611a948185614209565b600060ff821660ff810361431057614310613fb4565b60010192915050565b600061ffff80831681851680830382111561433657614336613fb4565b01949350505050565b600060ff821660ff84168082101561435957614359613fb4565b90039392505050565b6000600019820361437557614375613fb4565b5060010190565b60008282101561438e5761438e613fb4565b500390565b600084516143a58184602089016140cd565b8451908301906143b98183602089016140cd565b84519101906143cc8183602088016140cd565b0195945050505050565b600083516143e88184602088016140cd565b8351908301906143368183602088016140cd565b84815283602082015260806040820152600061441b6080830185613f66565b905060ff8316606083015295945050505050565b8281526040602082015260006107166040830184614209565b8381528260208201526060604082015260006108516060830184613f66565b8381528260208201526080604082015260006144866080830184613f66565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b6060815260006144da6060830186614209565b60208301949094525060400152919050565b6000826144fb576144fb61402d565b50069056fea164736f6c634300080d000a"; - -type KeysInTableHookConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: KeysInTableHookConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class KeysInTableHook__factory extends ContractFactory { - constructor(...args: KeysInTableHookConstructorParams) { - 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): KeysInTableHook { - return super.attach(address) as KeysInTableHook; - } - override connect(signer: Signer): KeysInTableHook__factory { - return super.connect(signer) as KeysInTableHook__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): KeysInTableHookInterface { - return new utils.Interface(_abi) as KeysInTableHookInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): KeysInTableHook { - return new Contract(address, _abi, signerOrProvider) as KeysInTableHook; - } -} diff --git a/packages/world/types/ethers-contracts/factories/KeysInTableModule__factory.ts b/packages/world/types/ethers-contracts/factories/KeysInTableModule__factory.ts deleted file mode 100644 index d1beb9b6b6..0000000000 --- a/packages/world/types/ethers-contracts/factories/KeysInTableModule__factory.ts +++ /dev/null @@ -1,132 +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 { - KeysInTableModule, - KeysInTableModuleInterface, -} from "../KeysInTableModule"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resourceSelector", - type: "string", - }, - ], - name: "RequiredModuleNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [], - name: "getName", - outputs: [ - { - internalType: "bytes16", - name: "", - type: "bytes16", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "install", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040526040516100109061004b565b604051809103906000f08015801561002c573d6000803e3d6000fd5b506001600160a01b031660805234801561004557600080fd5b50610059565b61452d8062001dc583390190565b608051611d4262000083600039600081816105f50152818161072701526107ca0152611d426000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806313861fb51461003b57806317d7de7c14610050575b600080fd5b61004e6100493660046118bd565b610083565b005b604080517f6b657973496e5461626c65000000000000000000000000000000000000000000815290519081900360200190f35b600081806020019051810190610099919061193d565b905060006100a5610833565b9050600060408051600060208201526a4b657973496e5461626c6560a81b60308201526100ea91016040516020818303038152906040526100e59061196c565b610842565b60038111156100fb576100fb611956565b036107865760408051600060208201526a4b657973496e5461626c6560a81b603082015273ffffffffffffffffffffffffffffffffffffffff8316916331b99d899161015e91015b60405160208183030381529060405261015b9061196c565b90565b60408051600060208201526a4b657973496e5461626c6560a81b60308201526101a191015b60405160208183030381529060405261019b9061196c565b60801b90565b6101a9610905565b6101b1610a92565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b1681526fffffffffffffffffffffffffffffffff199485166004820152939092166024840152604483015260648201526084016020604051808303816000875af115801561022c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610250919061193d565b5060408051600060208201526c0aae6cac896caf2e692dcc8caf609b1b603082015273ffffffffffffffffffffffffffffffffffffffff8316916331b99d899161029a9101610143565b60408051600060208201526c0aae6cac896caf2e692dcc8caf609b1b60308201526102c59101610183565b6102cd610acc565b6102d5610b4b565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b1681526fffffffffffffffffffffffffffffffff199485166004820152939092166024840152604483015260648201526084016020604051808303816000875af1158015610350573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610374919061193d565b50600080610380610bca565b60408051600060208201526a4b657973496e5461626c6560a81b603082015292945090925073ffffffffffffffffffffffffffffffffffffffff85169163096fcaa9916103cd9101610143565b60408051600060208201526a4b657973496e5461626c6560a81b60308201526103f69101610183565b85856040518563ffffffff1660e01b815260040161041794939291906119eb565b600060405180830381600087803b15801561043157600080fd5b505af1158015610445573d6000803e3d6000fd5b50505050600080610454610dd1565b60408051600060208201526c0aae6cac896caf2e692dcc8caf609b1b603082015292945090925073ffffffffffffffffffffffffffffffffffffffff87169163096fcaa9916104a39101610143565b60408051600060208201526c0aae6cac896caf2e692dcc8caf609b1b60308201526104ce9101610183565b85856040518563ffffffff1660e01b81526004016104ef94939291906119eb565b600060405180830381600087803b15801561050957600080fd5b505af115801561051d573d6000803e3d6000fd5b505060408051600060208201526a4b657973496e5461626c6560a81b603082015273ffffffffffffffffffffffffffffffffffffffff8916935063f227e65392506105689101610143565b60408051600060208201526a4b657973496e5461626c6560a81b60308201526105919101610183565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526fffffffffffffffffffffffffffffffff1992831660048201529116602482015273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166044820152606401600060405180830381600087803b15801561063757600080fd5b505af115801561064b573d6000803e3d6000fd5b505060408051600060208201526c0aae6cac896caf2e692dcc8caf609b1b603082015273ffffffffffffffffffffffffffffffffffffffff8916935063f227e65392506106989101610143565b60408051600060208201526c0aae6cac896caf2e692dcc8caf609b1b60308201526106c39101610183565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526fffffffffffffffffffffffffffffffff1992831660048201529116602482015273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166044820152606401600060405180830381600087803b15801561076957600080fd5b505af115801561077d573d6000803e3d6000fd5b50505050505050505b6040517f6e81fd710000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166024830152821690636e81fd7190604401600060405180830381600087803b15801561081657600080fd5b505af115801561082a573d6000803e3d6000fd5b50505050505050565b600061083d610edc565b905090565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061087b5761087b611a83565b6020908102919091018101919091526040805160009281018390527f5265736f7572636554797065000000000000000000000000000000000000000060308201526108e191016040516020818303038152906040526108d99061196c565b836000610ef4565b602081015190915060f81c60038111156108fd576108fd611956565b949350505050565b60408051600580825260c082019092526000918291906020820160a08036833701905050905060c18160008151811061094057610940611a83565b602002602001019060c581111561095957610959611956565b908160c581111561096c5761096c611956565b8152505060c18160018151811061098557610985611a83565b602002602001019060c581111561099e5761099e611956565b908160c58111156109b1576109b1611956565b8152505060c1816002815181106109ca576109ca611a83565b602002602001019060c58111156109e3576109e3611956565b908160c58111156109f6576109f6611956565b8152505060c181600381518110610a0f57610a0f611a83565b602002602001019060c5811115610a2857610a28611956565b908160c5811115610a3b57610a3b611956565b8152505060c181600481518110610a5457610a54611a83565b602002602001019060c5811115610a6d57610a6d611956565b908160c5811115610a8057610a80611956565b905250610a8c81610fa1565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050605f81600081518110610a5457610a54611a83565b60408051600280825260608201835260009283929190602083019080368337019050509050606081600081518110610b0657610b06611a83565b602002602001019060c5811115610b1f57610b1f611956565b908160c5811115610b3257610b32611956565b81525050600481600181518110610a5457610a54611a83565b60408051600280825260608201835260009283929190602083019080368337019050509050605f81600081518110610b8557610b85611a83565b602002602001019060c5811115610b9e57610b9e611956565b908160c5811115610bb157610bb1611956565b81525050605f81600181518110610a5457610a54611a83565b60408051600580825260c082019092526060918291600091816020015b6060815260200190600190039081610be75790505090506040518060400160405280600581526020017f6b6579733000000000000000000000000000000000000000000000000000000081525081600081518110610c4757610c47611a83565b60200260200101819052506040518060400160405280600581526020017f6b6579733100000000000000000000000000000000000000000000000000000081525081600181518110610c9b57610c9b611a83565b60200260200101819052506040518060400160405280600581526020017f6b6579733200000000000000000000000000000000000000000000000000000081525081600281518110610cef57610cef611a83565b60200260200101819052506040518060400160405280600581526020017f6b6579733300000000000000000000000000000000000000000000000000000081525081600381518110610d4357610d43611a83565b60200260200101819052506040518060400160405280600581526020017f6b6579733400000000000000000000000000000000000000000000000000000081525081600481518110610d9757610d97611a83565b6020026020010181905250806040518060400160405280600b81526020016a4b657973496e5461626c6560a81b8152509092509250509091565b60408051600280825260608281019093528291600091816020015b6060815260200190600190039081610dec5790505090506040518060400160405280600381526020017f686173000000000000000000000000000000000000000000000000000000000081525081600081518110610e4c57610e4c611a83565b60200260200101819052506040518060400160405280600581526020017f696e64657800000000000000000000000000000000000000000000000000000081525081600181518110610ea057610ea0611a83565b6020026020010181905250806040518060400160405280600d81526020016c0aae6cac896caf2e692dcc8caf609b1b8152509092509250509091565b6000610ee661120e565b610eef57503390565b503090565b6060610efe61120e565b15610f1557610f0e84848461128c565b9050610f9a565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c90610f5590879087908790600401611ad4565b600060405180830381865afa158015610f72573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f0e9190810190611b00565b9392505050565b6000601c82511115610fed5781516040517f5318beb9000000000000000000000000000000000000000000000000000000008152600401610fe491815260200190565b60405180910390fd5b60008060008060005b865181101561111957600061103488838151811061101657611016611a83565b602002602001015160c581111561102f5761102f611956565b6112b0565b905061ffff81161561108a578215611078576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8361108281611b84565b94505061108f565b600192505b6110998186611ba3565b945061110e866110aa846004611bc9565b8a85815181106110bc576110bc611a83565b602002602001015160c58111156110d5576110d5611956565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101610ff6565b5060008287516111299190611be1565b905060058160ff16111561116e576040517f5318beb900000000000000000000000000000000000000000000000000000000815260ff82166004820152602401610fe4565b60e01b7cff00000000000000000000000000000000000000000000000000000000167fffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f09490941b939093167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff9094169390931760e89190911b7dff00000000000000000000000000000000000000000000000000000000001617179392505050565b6000303b80820361122157600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561126757600080fd5b505afa925050508015611278575060015b61128457600091505090565b600191505090565b6060600061129985611361565b90506112a7858585846113b6565b95945050505050565b6000808260c58111156112c5576112c5611956565b60ff16905060208110156112de57610f9a816001611bc9565b60408110156112fe5760206112f4826001611bc9565b610f9a9190611c04565b60608110156113145760406112f4826001611bc9565b60608360c581111561132857611328611956565b036113365750600192915050565b60618360c581111561134a5761134a611956565b036113585750601492915050565b50600092915050565b600061136c826113e9565b9050806113b1578161137d836114ae565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401610fe4929190611c1b565b919050565b606060ff60e883901c811690841610156113dd576113d6858585856114d9565b90506108fd565b6113d685858585611539565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061142257611422611a83565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d610000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906114a49061149e9061196c565b83611590565b90506108fd815490565b6060816040516020016114c391815260200190565b6040516020818303038152906040529050919050565b606060006114ea8360ff86166115e6565b905060006115038260c581111561102f5761102f611956565b905060006115118888611590565b9050600061151f8688611612565b905061152c828483611666565b9998505050505050505050565b6060600061154e60ff60e885901c1685611be1565b9050600061155d8787846116be565b905060006115788360ff166115728a8a611717565b90611724565b90506115848282611756565b98975050505050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016115c793929190611c34565b60408051601f1981840301815291905280516020909101209392505050565b60006115fe836115f7846004611bc9565b6008021b90565b60f81c60c5811115610f9a57610f9a611956565b600080805b8360ff1681101561165e5761164061162f86836115e6565b60c581111561102f5761102f611956565b61164a9083611bc9565b91508061165681611c53565b915050611617565b509392505050565b60608267ffffffffffffffff8111156116815761168161184e565b6040519080825280601f01601f1916602001820160405280156116ab576020820181803683370190505b5090506020810161165e85858584611764565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98484846040516020016116f79493929190611c6d565b60408051601f198184030181529190528051602090910120949350505050565b6000806114a48484611817565b600080611732836005611ca0565b61173d906007611bc9565b905061174b84826008021b90565b60d81c949350505050565b6060610f9a83836000611666565b60208204840193506020828161177c5761177c611cbf565b06915081156117cd5760208290036000600019600883021c1990508554600885021b8119845116828216178452508185116117b8575050611811565b6117c3600187611bc9565b9550509283900392015b602083106117f557835481526117e4600185611bc9565b9350601f19909201916020016117cd565b82156118115780518454600019600886021c9182169119161781525b50505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016115c793929190611cd5565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561188d5761188d61184e565b604052919050565b600067ffffffffffffffff8211156118af576118af61184e565b50601f01601f191660200190565b6000602082840312156118cf57600080fd5b813567ffffffffffffffff8111156118e657600080fd5b8201601f810184136118f757600080fd5b803561190a61190582611895565b611864565b81815285602083850101111561191f57600080fd5b81602084016020830137600091810160200191909152949350505050565b60006020828403121561194f57600080fd5b5051919050565b634e487b7160e01b600052602160045260246000fd5b8051602080830151919081101561198d576000198160200360031b1b821691505b50919050565b60005b838110156119ae578181015183820152602001611996565b838111156118115750506000910152565b600081518084526119d7816020860160208601611993565b601f01601f19169290920160200192915050565b60006fffffffffffffffffffffffffffffffff19808716835260208187168185015260806040850152611a2160808501876119bf565b915083820360608501528185518084528284019150828160051b85010183880160005b83811015611a7257601f19878403018552611a608383516119bf565b94860194925090850190600101611a44565b50909b9a5050505050505050505050565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015611ac957815187529582019590820190600101611aad565b509495945050505050565b838152606060208201526000611aed6060830185611a99565b905060ff83166040830152949350505050565b600060208284031215611b1257600080fd5b815167ffffffffffffffff811115611b2957600080fd5b8201601f81018413611b3a57600080fd5b8051611b4861190582611895565b818152856020838501011115611b5d57600080fd5b6112a7826020830160208601611993565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8103611b9a57611b9a611b6e565b60010192915050565b600061ffff808316818516808303821115611bc057611bc0611b6e565b01949350505050565b60008219821115611bdc57611bdc611b6e565b500190565b600060ff821660ff841680821015611bfb57611bfb611b6e565b90039392505050565b600082821015611c1657611c16611b6e565b500390565b8281526040602082015260006108fd60408301846119bf565b8381528260208201526060604082015260006112a76060830184611a99565b60006000198203611c6657611c66611b6e565b5060010190565b848152836020820152608060408201526000611c8c6080830185611a99565b905060ff8316606083015295945050505050565b6000816000190483118215151615611cba57611cba611b6e565b500290565b634e487b7160e01b600052601260045260246000fd5b838152826020820152608060408201526000611cf46080830184611a99565b8281036060840152600681527f6c656e677468000000000000000000000000000000000000000000000000000060208201526040810191505094935050505056fea164736f6c634300080d000a608060405234801561001057600080fd5b5061450d806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063469b7ee2146100515780636b3d7d5f1461006757806382b6745f1461007a578063b51fef6c1461008d575b600080fd5b61006561005f366004613e2a565b50505050565b005b610065610075366004613e2a565b6100a0565b610065610088366004613eb2565b6100aa565b61006561009b366004613f1f565b6100b9565b61005f84846103a3565b6100b483836103a3565b505050565b6000816040516020016100cc9190613fa1565b6040516020818303038152906040528051906020012090506000806100f185846104da565b91509150811561039c5761010585846105b9565b600061011086610674565b90508064ffffffffff1660010361012f5761012a8661071e565b61039a565b84511561039a576000855167ffffffffffffffff81111561015257610152613cf0565b60405190808252806020026020018201604052801561017b578160200160208202803683370190505b509050600061019b8861018f600186613fca565b64ffffffffff16610792565b905080826000815181106101b1576101b1613ff0565b6020026020010181815250506101cf888564ffffffffff168361085a565b6101d888610906565b600187511115610360576101fd886101f1600186613fca565b64ffffffffff1661098e565b9050808260018151811061021357610213613ff0565b602002602001018181525050610231888564ffffffffff1683610a1e565b61023a88610aaa565b6002875111156103605761025f88610253600186613fca565b64ffffffffff16610b32565b9050808260028151811061027557610275613ff0565b602002602001018181525050610293888564ffffffffff1683610bc2565b61029c88610c4e565b600387511115610360576102c1886102b5600186613fca565b64ffffffffff16610cd6565b905080826003815181106102d7576102d7613ff0565b6020026020010181815250506102f5888564ffffffffff1683610d66565b6102fe88610df2565b6004875111156103605761032388610317600186613fca565b64ffffffffff16610e7a565b9050808260048151811061033957610339613ff0565b602002602001018181525050610357888564ffffffffff1683610f0a565b61036088610f96565b6000826040516020016103739190613fa1565b60405160208183030381529060405280519060200120905061039689828761101e565b5050505b505b5050505050565b6000816040516020016103b69190613fa1565b6040516020818303038152906040528051906020012090506103d88382611118565b6100b45760006103e784610674565b8351909150156104cd57610415848460008151811061040857610408613ff0565b60200260200101516111eb565b6001835111156104cd57610443848460018151811061043657610436613ff0565b6020026020010151611293565b6002835111156104cd57610471848460028151811061046457610464613ff0565b6020026020010151611327565b6003835111156104cd5761049f848460038151811061049257610492613ff0565b60200260200101516113bb565b6004835111156104cd576104cd84846004815181106104c0576104c0613ff0565b602002602001015161144f565b61005f84836001846114e3565b604080516002808252606082018352600092839283929091602083019080368337019050509050848160008151811061051557610515613ff0565b602002602001018181525050838160018151811061053557610535613ff0565b6020908102919091018101919091526040805160009281018390527f557365644b657973496e6465780000000000000000000000000000000000000060308201526105a1910160405160208183030381529060405261059390614006565b8361059c6115df565b61169c565b90506105ac81611749565b9350935050509250929050565b60408051600280825260608201835260009260208301908036833701905050905082816000815181106105ee576105ee613ff0565b602002602001018181525050818160018151811061060e5761060e613ff0565b602090810291909101810191909152604080516000928101929092527f557365644b657973496e6465780000000000000000000000000000000000000060308301526100b491015b60405160208183030381529060405261066e90614006565b8261176e565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106106ad576106ad613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b603082015261070991016040516020818303038152906040526106f990614006565b8360006107046117f1565b611940565b9050610716602082614043565b949350505050565b60408051600180825281830190925260009160208083019080368337019050509050818160008151811061075457610754613ff0565b602090810291909101810191909152604080516000928101929092526a4b657973496e5461626c6560a81b603083015261078e9101610656565b5050565b6040805160018082528183019092526000918291906020808301908036833701905050905083816000815181106107cb576107cb613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b6030820152610848910160405160208183030381529060405261081790614006565b8360006108226117f1565b61082d896020614057565b6108388a6001614076565b610843906020614057565b6119e5565b60208101519091505b95945050505050565b60408051600180825281830190925260009160208083019080368337019050509050838160008151811061089057610890613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261005f906108d890614006565b8260006108e6876020614057565b604080516020810189905201604051602081830303815290604052611a9e565b60408051600180825281830190925260009160208083019080368337019050509050818160008151811061093c5761093c613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261078e9061098490614006565b8260006020611b2f565b6040805160018082528183019092526000918291906020808301908036833701905050905083816000815181106109c7576109c7613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526108489101604051602081830303815290604052610a1390614006565b8360016108226117f1565b604080516001808252818301909252600091602080830190803683370190505090508381600081518110610a5457610a54613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261005f90610a9c90614006565b8260016108e6876020614057565b604080516001808252818301909252600091602080830190803683370190505090508181600081518110610ae057610ae0613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261078e90610b2890614006565b8260016020611b2f565b604080516001808252818301909252600091829190602080830190803683370190505090508381600081518110610b6b57610b6b613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526108489101604051602081830303815290604052610bb790614006565b8360026108226117f1565b604080516001808252818301909252600091602080830190803683370190505090508381600081518110610bf857610bf8613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261005f90610c4090614006565b8260026108e6876020614057565b604080516001808252818301909252600091602080830190803683370190505090508181600081518110610c8457610c84613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261078e90610ccc90614006565b8260026020611b2f565b604080516001808252818301909252600091829190602080830190803683370190505090508381600081518110610d0f57610d0f613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526108489101604051602081830303815290604052610d5b90614006565b8360036108226117f1565b604080516001808252818301909252600091602080830190803683370190505090508381600081518110610d9c57610d9c613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261005f90610de490614006565b8260036108e6876020614057565b604080516001808252818301909252600091602080830190803683370190505090508181600081518110610e2857610e28613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261078e90610e7090614006565b8260036020611b2f565b604080516001808252818301909252600091829190602080830190803683370190505090508381600081518110610eb357610eb3613ff0565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526108489101604051602081830303815290604052610eff90614006565b8360046108226117f1565b604080516001808252818301909252600091602080830190803683370190505090508381600081518110610f4057610f40613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261005f90610f8890614006565b8260046108e6876020614057565b604080516001808252818301909252600091602080830190803683370190505090508181600081518110610fcc57610fcc613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b6030820152815180820390930183528101905261078e9061101490614006565b8260046020611b2f565b604080516002808252606082018352600092602083019080368337019050509050838160008151811061105357611053613ff0565b602002602001018181525050828160018151811061107357611073613ff0565b602090810291909101810191909152604080516000818401527f557365644b657973496e646578000000000000000000000000000000000000006030820152815180820390930183528101905261005f906110cd90614006565b6040517fffffffffff00000000000000000000000000000000000000000000000000000060d886901b1660208201528390600190602501604051602081830303815290604052611bc2565b60408051600280825260608201835260009283929190602083019080368337019050509050838160008151811061115157611151613ff0565b602002602001018181525050828160018151811061117157611171613ff0565b6020908102919091018101919091526040805160009281018390527f557365644b657973496e6465780000000000000000000000000000000000000060308201526111d891015b6040516020818303038152906040526111d090614006565b836000611c1d565b6020810151909150610851905b60f81c90565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061122157611221613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b603082015281518082039093018352810190526100b49061126990614006565b8260008560405160200161127f91815260200190565b604051602081830303815290604052611c77565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106112c9576112c9613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b603082015281518082039093018352810190526100b49061131190614006565b8260018560405160200161127f91815260200190565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061135d5761135d613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b603082015281518082039093018352810190526100b4906113a590614006565b8260028560405160200161127f91815260200190565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106113f1576113f1613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b603082015281518082039093018352810190526100b49061143990614006565b8260038560405160200161127f91815260200190565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061148557611485613ff0565b602090810291909101810191909152604080516000818401526a4b657973496e5461626c6560a81b603082015281518082039093018352810190526100b4906114cd90614006565b8260048560405160200161127f91815260200190565b6040805183151560f81b602082015260d883901b7fffffffffff0000000000000000000000000000000000000000000000000000001660218201528151600681830301815260026026830181815260868401855291936000936046019080368337019050509050858160008151811061155e5761155e613ff0565b602002602001018181525050848160018151811061157e5761157e613ff0565b602090810291909101810191909152604080516000818401527f557365644b657973496e646578000000000000000000000000000000000000006030820152815180820390930183528101905261039a906115d890614006565b8284611cd2565b6040805160028082526060820183526000928392919060208301908036833701905050905060608160008151811061161957611619613ff0565b602002602001019060c58111156116325761163261408e565b908160c58111156116455761164561408e565b8152505060048160018151811061165e5761165e613ff0565b602002602001019060c58111156116775761167761408e565b908160c581111561168a5761168a61408e565b90525061169681611d61565b91505090565b60606116a6611ff6565b156116bd576116b6848484612074565b9050611742565b6040517f419b58fd000000000000000000000000000000000000000000000000000000008152339063419b58fd906116fd908790879087906004016140a4565b600060405180830381865afa15801561171a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116b691908101906140f9565b9392505050565b6020810151600090819061175c906111e5565b602184015190925060d81c9050915091565b611776611ff6565b156117855761078e82826121d9565b6040517f505a181d000000000000000000000000000000000000000000000000000000008152339063505a181d906117c39085908590600401614167565b600060405180830381600087803b1580156117dd57600080fd5b505af115801561039a573d6000803e3d6000fd5b60408051600580825260c082019092526000918291906020820160a08036833701905050905060c18160008151811061182c5761182c613ff0565b602002602001019060c58111156118455761184561408e565b908160c58111156118585761185861408e565b8152505060c18160018151811061187157611871613ff0565b602002602001019060c581111561188a5761188a61408e565b908160c581111561189d5761189d61408e565b8152505060c1816002815181106118b6576118b6613ff0565b602002602001019060c58111156118cf576118cf61408e565b908160c58111156118e2576118e261408e565b8152505060c1816003815181106118fb576118fb613ff0565b602002602001019060c58111156119145761191461408e565b908160c58111156119275761192761408e565b8152505060c18160048151811061165e5761165e613ff0565b600061194a611ff6565b156119625761195b8585858561236f565b9050610716565b6040517f9f1fcf0a0000000000000000000000000000000000000000000000000000000081523390639f1fcf0a906119a4908890889088908890600401614180565b602060405180830381865afa1580156119c1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195b91906141af565b60606119ef611ff6565b15611a0957611a028787878787876123df565b9050611a94565b6040517fd3a26b06000000000000000000000000000000000000000000000000000000008152339063d3a26b0690611a4f908a908a908a908a908a908a906004016141c8565b600060405180830381865afa158015611a6c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a0291908101906140f9565b9695505050505050565b611aa6611ff6565b15611abd57611ab8858585858561245c565b61039c565b6040517f776d4047000000000000000000000000000000000000000000000000000000008152339063776d404790611b019088908890889088908890600401614235565b600060405180830381600087803b158015611b1b57600080fd5b505af1158015610396573d6000803e3d6000fd5b611b37611ff6565b15611b485761005f84848484612702565b6040517f8c1f9a540000000000000000000000000000000000000000000000000000000081523390638c1f9a5490611b8a908790879087908790600401614180565b600060405180830381600087803b158015611ba457600080fd5b505af1158015611bb8573d6000803e3d6000fd5b5050505050505050565b611bca611ff6565b15611bdb5761005f84848484612924565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a726690611b8a90879087908790879060040161426f565b6060611c27611ff6565b15611c37576116b6848484612b0f565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c906116fd908790879087906004016142a3565b611c7f611ff6565b15611c905761005f84848484612b2a565b6040517f0c1a60000000000000000000000000000000000000000000000000000000000081523390630c1a600090611b8a90879087908790879060040161426f565b611cda611ff6565b15611cea576100b4838383612d4d565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f90611d2a908690869086906004016142cf565b600060405180830381600087803b158015611d4457600080fd5b505af1158015611d58573d6000803e3d6000fd5b50505050505050565b6000601c82511115611dad5781516040517f5318beb9000000000000000000000000000000000000000000000000000000008152600401611da491815260200190565b60405180910390fd5b60008060008060005b8651811015611ed9576000611df4888381518110611dd657611dd6613ff0565b602002602001015160c5811115611def57611def61408e565b612f2e565b905061ffff811615611e4a578215611e38576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83611e42816142fa565b945050611e4f565b600192505b611e598186614319565b9450611ece86611e6a846004614076565b8a8581518110611e7c57611e7c613ff0565b602002602001015160c5811115611e9557611e9561408e565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101611db6565b506000828751611ee9919061433f565b905060058160ff161115611f2e576040517f5318beb900000000000000000000000000000000000000000000000000000000815260ff82166004820152602401611da4565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b16175b979650505050505050565b6000303b80820361200957600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561204f57600080fd5b505afa925050508015612060575060015b61206c57600091505090565b600191505090565b606060006120828360f01c90565b90508060008061209186612fdf565b60ff16905080156120dc576120a68888612ff0565b915060006120b48360c81c90565b11156120dc576120c48260c81c90565b6120cf906020614076565b6120d99084614076565b92505b60008367ffffffffffffffff8111156120f7576120f7613cf0565b6040519080825280601f01601f191660200182016040528015612121576020820181803683370190505b509050602081016121348a8a8884613007565b61213e8460c81c90565b600003612152575094506117429350505050565b61215c8682614076565b848152905061216c602082614076565b905060005b838160ff1610156121ca5760006121898c8c84613028565b9050600061219a8760ff8516613081565b90506121a982826000876130b3565b6121b38185614076565b9350505080806121c2906142fa565b915050612171565b50909998505050505050505050565b60006121e483613168565b90507f2cc8610b80ef19409ae51ecbdd9c137960fb22ae9ef2d817d36ec1b685d68ecd8383604051612217929190614167565b60405180910390a1600061222a846131bd565b905060005b81518110156122d757600082828151811061224c5761224c613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663b51fef6c87876040518363ffffffff1660e01b8152600401612291929190614167565b600060405180830381600087803b1580156122ab57600080fd5b505af11580156122bf573d6000803e3d6000fd5b505050505080806122cf90614362565b91505061222f565b5060006122e4858561327c565b905061233e8160006122f68660f01c90565b67ffffffffffffffff81111561230e5761230e613cf0565b6040519080825280601f01601f191660200182016040528015612338576020820181803683370190505b506132d2565b61234783612fdf565b60ff16600003612358575050505050565b600061236486866132e7565b60008155905061039a565b60008061237b8361331e565b90508060ff168460ff1610156123ba57600061239a8460ff871661332a565b90506123b18160c5811115611def57611def61408e565b92505050610716565b60006123c6828661433f565b90506123b18160ff166123d98989612ff0565b90613081565b606060006123ec8561331e565b90506123f78561331e565b60ff168660ff16101561241d576040516302860dd760e31b815260040160405180910390fd5b6000612429828861433f565b905060006124388a8a84613028565b905061244e81612448888861437c565b88613356565b9a9950505050505050505050565b600061246786613168565b90506124728161331e565b60ff168460ff161015612498576040516302860dd760e31b815260040160405180910390fd5b64ffffffffff8311156124e5576040517f7cd3b80700000000000000000000000000000000000000000000000000000000815264ffffffffff600482015260248101849052604401611da4565b606060006124f5888888866133b6565b905061250b61250682600088613409565b613499565b846125276125068488518a6125209190614076565b8651613409565b60405160200161253993929190614393565b6040516020818303038152906040529150507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4687878784604051612580949392919061426f565b60405180910390a16000612593886131bd565b905060005b81518110156126445760008282815181106125b5576125b5613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28b8b8b886040518563ffffffff1660e01b81526004016125fe949392919061426f565b600060405180830381600087803b15801561261857600080fd5b505af115801561262c573d6000803e3d6000fd5b5050505050808061263c90614362565b915050612598565b50612653888885898989613519565b60005b815181101561039657600082828151811061267357612673613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8b8b8b886040518563ffffffff1660e01b81526004016126bc949392919061426f565b600060405180830381600087803b1580156126d657600080fd5b505af11580156126ea573d6000803e3d6000fd5b505050505080806126fa90614362565b915050612656565b600061270d85613168565b90506127188161331e565b60ff168360ff16101561273e576040516302860dd760e31b815260040160405180910390fd5b6060600061274e878787866133b6565b905061276b612506826000878551612766919061437c565b613409565b9150507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c46868686846040516127a3949392919061426f565b60405180910390a160006127b6876131bd565b905060005b81518110156128675760008282815181106127d8576127d8613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401612821949392919061426f565b600060405180830381600087803b15801561283b57600080fd5b505af115801561284f573d6000803e3d6000fd5b5050505050808061285f90614362565b9150506127bb565b50612875878785888861353d565b60005b8151811015611bb857600082828151811061289557612895613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8a8a8a886040518563ffffffff1660e01b81526004016128de949392919061426f565b600060405180830381600087803b1580156128f857600080fd5b505af115801561290c573d6000803e3d6000fd5b5050505050808061291c90614362565b915050612878565b600061292f85613168565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4685858585604051612966949392919061426f565b60405180910390a16000612979866131bd565b905060005b8151811015612a2a57600082828151811061299b5761299b613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee2898989896040518563ffffffff1660e01b81526004016129e4949392919061426f565b600060405180830381600087803b1580156129fe57600080fd5b505af1158015612a12573d6000803e3d6000fd5b50505050508080612a2290614362565b91505061297e565b50612a348261331e565b60ff168460ff161015612a5357612a4e86868487876135a2565b612a60565b612a608686848787613648565b60005b8151811015611d58576000828281518110612a8057612a80613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f898989896040518563ffffffff1660e01b8152600401612ac9949392919061426f565b600060405180830381600087803b158015612ae357600080fd5b505af1158015612af7573d6000803e3d6000fd5b50505050508080612b0790614362565b915050612a63565b60606000612b1c85613168565b905061085185858584613685565b6000612b3585613168565b9050612b408161331e565b60ff168360ff161015612b66576040516302860dd760e31b815260040160405180910390fd5b6000612b74868686856133b6565b83604051602001612b869291906143d6565b60405160208183030381529060405290507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4686868684604051612bcc949392919061426f565b60405180910390a16000612bdf876131bd565b905060005b8151811015612c90576000828281518110612c0157612c01613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401612c4a949392919061426f565b600060405180830381600087803b158015612c6457600080fd5b505af1158015612c78573d6000803e3d6000fd5b50505050508080612c8890614362565b915050612be4565b50612c9e87878588886136b5565b60005b8151811015611bb8576000828281518110612cbe57612cbe613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8a8a8a886040518563ffffffff1660e01b8152600401612d07949392919061426f565b600060405180830381600087803b158015612d2157600080fd5b505af1158015612d35573d6000803e3d6000fd5b50505050508080612d4590614362565b915050612ca1565b6000612d5884613168565b9050600080612d67838561371d565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee32868686604051612d9e939291906142cf565b60405180910390a16000612db1876131bd565b905060005b8151811015612e60576000828281518110612dd357612dd3613ff0565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166382b6745f8a8a8a6040518463ffffffff1660e01b8152600401612e1a939291906142cf565b600060405180830381600087803b158015612e3457600080fd5b505af1158015612e48573d6000803e3d6000fd5b50505050508080612e5890614362565b915050612db6565b506000612e6d888861327c565b905060208601612e8082600083886137bb565b612e8b856020614076565b612e959082614076565b9050612ea086612fdf565b60ff16600003612eb557505050505050505050565b6000612ec18a8a6132e7565b858155905060008060005b612ed58a612fdf565b60ff168160ff161015612f1f57612eed8d8d83613028565b9250612efc8860ff8316613081565b9150612f0b83600087856137bb565b612f158286614076565b9450600101612ecc565b50505050505050505050505050565b6000808260c5811115612f4357612f4361408e565b60ff1690506020811015612f5c57611742816001614076565b6040811015612f7c576020612f72826001614076565b611742919061437c565b6060811015612f92576040612f72826001614076565b60608360c5811115612fa657612fa661408e565b03612fb45750600192915050565b60618360c5811115612fc857612fc861408e565b03612fd65750601492915050565b50600092915050565b6000601882901b5b60f81c92915050565b600080612ffd84846132e7565b9050610716815490565b811561005f576000613019858561327c565b905061039c81846000856130b3565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d984848460405160200161306194939291906143fc565b60408051601f198184030181529190528051602090910120949350505050565b60008061308f836005614057565b61309a906007614076565b90506130a884826008021b90565b60d81c949350505050565b6020820484019350602082816130cb576130cb61402d565b069150811561311c5760208290036000600019600883021c1990508554600885021b81198451168282161784525081851161310757505061005f565b613112600187614076565b9550509283900392015b602083106131445783548152613133600185614076565b9350601f199092019160200161311c565b821561005f576000600019600885021c198251865482169119161782525050505050565b600061317382613879565b9050806131b8578161318483613934565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401611da492919061442f565b919050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106131f7576131f7613ff0565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000928101929092527f486f6f6b73000000000000000000000000000000000000000000000000000000603083015260009161326591016111b8565b90506107166132778260008451613409565b61395f565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016132b393929190614448565b60408051601f1981840301815291905280516020909101209392505050565b600060208201905061005f84848385516137bb565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016132b393929190614467565b6000601082901b612fe7565b60006133428361333b846004614076565b6008021b90565b60f81c60c58111156117425761174261408e565b60608267ffffffffffffffff81111561337157613371613cf0565b6040519080825280601f01601f19166020018201604052801561339b576020820181803683370190505b509050602081016133ae858585846130b3565b509392505050565b606060006133c38361331e565b6133cd908561433f565b905060006133dc878784613028565b905060006133f18360ff166123d98a8a612ff0565b90506133fd8282613970565b98975050505050505050565b600081831115801561341c575083518211155b613458578383836040517f23230fa3000000000000000000000000000000000000000000000000000000008152600401611da4939291906144c7565b602084016134668482614076565b90506000613474858561437c565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b606060006134a78360801c90565b90506fffffffffffffffffffffffffffffffff83168067ffffffffffffffff8111156134d5576134d5613cf0565b6040519080825280601f01601f1916602001820160405280156134ff576020820181803683370190505b5092506020830161351183828461397e565b505050919050565b60006135248561331e565b61352e908561433f565b9050611d5887878386866139b2565b60006135488461331e565b613552908461433f565b9050600061356087876132e7565b9050600061356c825490565b9050600061357d8260ff8616613081565b905061359860ff8516613590878461437c565b8491906139f2565b8084559150610396565b60006135b18460ff851661332a565b905081516135ca8260c5811115611def57611def61408e565b14613621576135e48160c5811115611def57611def61408e565b82516040517f521b3d3300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401611da4565b600061362d878761327c565b9050600061363b8686613ac3565b9050611bb88282866132d2565b60006136538461331e565b61365d908461433f565b905061366c8686838551613b0f565b6000613679878784613028565b9050611d588184613b41565b60606136908261331e565b60ff168360ff1610156136a95761195b85858585613b4d565b61195b858585856133b6565b60006136c08461331e565b6136ca908461433f565b905060006136d887876132e7565b905060006136e4825490565b905060006136f58260ff8616613081565b905061370b8460ff168651836135909190614076565b808455915061039689898684896139b2565b60008061372a8460f01c90565b915081600061373886612fdf565b60ff16111561376c578284016020015191506137548260c81c90565b61375f906020614076565b6137699082614076565b90505b835181146137b35783516040517f521b3d33000000000000000000000000000000000000000000000000000000008152611da4918391600401918252602082015260400190565b509250929050565b6020830484019350602083816137d3576137d361402d565b069250821561382c5760208390036000600019600884021c1990506008850281811c91508451811c905081198754168282161787555081831161381757505061005f565b613822600187614076565b9550509182019190035b602081106138555781518455613843600185614076565b935060209190910190601f190161382c565b801561005f576000600019600883021c198554845182169119161785555050505050565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106138b2576138b2613ff0565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d61000000000000000000000000000000000000000000000000000060308201528151808203909301835281019052600090612ffd9061392e90614006565b8361327c565b60608160405160200161394991815260200190565b6040516020818303038152906040529050919050565b606060006117428360146000613bad565b606061174283836000613356565b6020811115613995578082828560045afa50505050565b6000600019600883021c1983518551821691191617835250505050565b60006139bf868686613028565b90506139cc602084614043565b6139d69082614076565b905060006139e56020856144ec565b9050611d588282856132d2565b60008381613a008260c81c90565b90506000613a11878760ff16613081565b9050808510613a3557613a24818661437c565b613a2e9083614076565b9150613a4c565b613a3f858261437c565b613a49908361437c565b91505b6000613a59876005614057565b613a64906007614076565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c176133fd565b600080805b8360ff168110156133ae57613af1613ae0868361332a565b60c5811115611def57611def61408e565b613afb9083614076565b915080613b0781614362565b915050613ac8565b6000613b1b85856132e7565b90506000613b27825490565b9050613b378160ff8616856139f2565b808355905061039a565b61078e826000836132d2565b60606000613b5e8360ff861661332a565b90506000613b778260c5811115611def57611def61408e565b90506000613b85888861327c565b90506000613b938688613ac3565b9050613ba0828483613356565b9998505050505050505050565b60606000613bbb8560801c90565b90506fffffffffffffffffffffffffffffffff8516600084613bf357613be2866008614057565b613bee9061010061437c565b613bf6565b60005b90506000868381613c0957613c0961402d565b049050613c1687846144ec565b15613ca3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401611da4565b602080820201604051955080860160405250808552600060208601855b83831015613ce2578051851c8252600192909201916020909101908901613cc0565b505050505050509392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613d2f57613d2f613cf0565b604052919050565b600082601f830112613d4857600080fd5b8135602067ffffffffffffffff821115613d6457613d64613cf0565b8160051b613d73828201613d06565b9283528481018201928281019087851115613d8d57600080fd5b83870192505b84831015611feb57823582529183019190830190613d93565b600067ffffffffffffffff821115613dc657613dc6613cf0565b50601f01601f191660200190565b600082601f830112613de557600080fd5b8135613df8613df382613dac565b613d06565b818152846020838601011115613e0d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215613e4057600080fd5b84359350602085013567ffffffffffffffff80821115613e5f57600080fd5b613e6b88838901613d37565b94506040870135915060ff82168214613e8357600080fd5b90925060608601359080821115613e9957600080fd5b50613ea687828801613dd4565b91505092959194509250565b600080600060608486031215613ec757600080fd5b83359250602084013567ffffffffffffffff80821115613ee657600080fd5b613ef287838801613d37565b93506040860135915080821115613f0857600080fd5b50613f1586828701613dd4565b9150509250925092565b60008060408385031215613f3257600080fd5b82359150602083013567ffffffffffffffff811115613f5057600080fd5b613f5c85828601613d37565b9150509250929050565b600081518084526020808501945080840160005b83811015613f9657815187529582019590820190600101613f7a565b509495945050505050565b6020815260006117426020830184613f66565b634e487b7160e01b600052601160045260246000fd5b600064ffffffffff83811690831681811015613fe857613fe8613fb4565b039392505050565b634e487b7160e01b600052603260045260246000fd5b80516020808301519190811015614027576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052601260045260246000fd5b6000826140525761405261402d565b500490565b600081600019048311821515161561407157614071613fb4565b500290565b6000821982111561408957614089613fb4565b500190565b634e487b7160e01b600052602160045260246000fd5b8381526060602082015260006140bd6060830185613f66565b9050826040830152949350505050565b60005b838110156140e85781810151838201526020016140d0565b8381111561005f5750506000910152565b60006020828403121561410b57600080fd5b815167ffffffffffffffff81111561412257600080fd5b8201601f8101841361413357600080fd5b8051614141613df382613dac565b81815285602083850101111561415657600080fd5b6108518260208301602086016140cd565b8281526040602082015260006107166040830184613f66565b8481526080602082015260006141996080830186613f66565b60ff949094166040830152506060015292915050565b6000602082840312156141c157600080fd5b5051919050565b86815260c0602082015260006141e160c0830188613f66565b905060ff861660408301528460608301528360808301528260a0830152979650505050505050565b600081518084526142218160208601602086016140cd565b601f01601f19169290920160200192915050565b85815260a06020820152600061424e60a0830187613f66565b60ff8616604084015284606084015282810360808401526133fd8185614209565b8481526080602082015260006142886080830186613f66565b60ff851660408401528281036060840152611feb8185614209565b8381526060602082015260006142bc6060830185613f66565b905060ff83166040830152949350505050565b8381526060602082015260006142e86060830185613f66565b8281036040840152611a948185614209565b600060ff821660ff810361431057614310613fb4565b60010192915050565b600061ffff80831681851680830382111561433657614336613fb4565b01949350505050565b600060ff821660ff84168082101561435957614359613fb4565b90039392505050565b6000600019820361437557614375613fb4565b5060010190565b60008282101561438e5761438e613fb4565b500390565b600084516143a58184602089016140cd565b8451908301906143b98183602089016140cd565b84519101906143cc8183602088016140cd565b0195945050505050565b600083516143e88184602088016140cd565b8351908301906143368183602088016140cd565b84815283602082015260806040820152600061441b6080830185613f66565b905060ff8316606083015295945050505050565b8281526040602082015260006107166040830184614209565b8381528260208201526060604082015260006108516060830184613f66565b8381528260208201526080604082015260006144866080830184613f66565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b6060815260006144da6060830186614209565b60208301949094525060400152919050565b6000826144fb576144fb61402d565b50069056fea164736f6c634300080d000a"; - -type KeysInTableModuleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: KeysInTableModuleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class KeysInTableModule__factory extends ContractFactory { - constructor(...args: KeysInTableModuleConstructorParams) { - 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): KeysInTableModule { - return super.attach(address) as KeysInTableModule; - } - override connect(signer: Signer): KeysInTableModule__factory { - return super.connect(signer) as KeysInTableModule__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): KeysInTableModuleInterface { - return new utils.Interface(_abi) as KeysInTableModuleInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): KeysInTableModule { - return new Contract(address, _abi, signerOrProvider) as KeysInTableModule; - } -} diff --git a/packages/world/types/ethers-contracts/factories/KeysWithValueHook__factory.ts b/packages/world/types/ethers-contracts/factories/KeysWithValueHook__factory.ts deleted file mode 100644 index ccbb3348e7..0000000000 --- a/packages/world/types/ethers-contracts/factories/KeysWithValueHook__factory.ts +++ /dev/null @@ -1,218 +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 { - KeysWithValueHook, - KeysWithValueHookInterface, -} from "../KeysWithValueHook"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "sourceTableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "", - type: "uint8", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "onAfterSetField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "sourceTableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "", - type: "uint8", - }, - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "onBeforeSetField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "sourceTableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "onDeleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "sourceTableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "onSetRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506123a9806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063469b7ee2146100515780636b3d7d5f1461006657806382b6745f14610079578063b51fef6c1461008c575b600080fd5b61006461005f366004611e95565b61009f565b005b610064610074366004611e95565b610170565b610064610087366004611f1d565b610239565b61006461009a366004611f8a565b61033e565b604051636624edbf60e11b8152600090339063cc49db7e906100c7908890889060040161200c565b600060405180830381865afa1580156100e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261010c9190810190612051565b80519060200120905060006101417f6b6579737776616c000000000000000000000000000000000000000000000000876103ff565b9050610168818660008151811061015a5761015a6120bf565b60200260200101518461045f565b505050505050565b604051636624edbf60e11b8152600090339063cc49db7e90610198908890889060040161200c565b600060405180830381865afa1580156101b5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101dd9190810190612051565b80519060200120905060006102127f6b6579737776616c000000000000000000000000000000000000000000000000876103ff565b905061016881838760008151811061022c5761022c6120bf565b602002602001015161049a565b60006102657f6b6579737776616c000000000000000000000000000000000000000000000000856103ff565b604051636624edbf60e11b8152909150600090339063cc49db7e90610290908890889060040161200c565b600060405180830381865afa1580156102ad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102d59190810190612051565b805190602001209050828051906020012081036102f3575050505050565b610318828560008151811061030a5761030a6120bf565b60200260200101518361045f565b6103378284805190602001208660008151811061022c5761022c6120bf565b5050505050565b604051636624edbf60e11b8152600090339063cc49db7e90610366908690869060040161200c565b600060405180830381865afa158015610383573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103ab9190810190612051565b80519060200120905060006103e07f6b6579737776616c000000000000000000000000000000000000000000000000856103ff565b90506103f9818460008151811061015a5761015a6120bf565b50505050565b60008061040c8360801b90565b7fffffffffffffffff000000000000000000000000000000000000000000000000851677ffffffffffffffff00000000000000000000000000000000604086901c161760809190911c1791505092915050565b60006104758361046f868561050a565b9061057e565b9050805160000361048f5761048a8483610656565b6103f9565b6103f98483836106a7565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106104d0576104d06120bf565b6020026020010181815250506103f984826000856040516020016104f691815260200190565b6040516020818303038152906040526106fe565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610544576105446120bf565b602002602001018181525050600061055e85836000610791565b9050610575610570826000845161083e565b6108d7565b95945050505050565b60606000835167ffffffffffffffff81111561059c5761059c611d50565b6040519080825280602002602001820160405280156105c5578160200160208202803683370190505b5090506000805b855181101561064c57848682815181106105e8576105e86120bf565b60200260200101511461063a57858181518110610607576106076120bf565b6020026020010151838381518110610621576106216120bf565b602090810291909101015281610636816120eb565b9250505b80610644816120eb565b9150506105cc565b5081529392505050565b60408051600180825281830190925260009160208083019080368337019050509050818160008151811061068c5761068c6120bf565b6020026020010181815250506106a283826108e8565b505050565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106106dd576106dd6120bf565b6020026020010181815250506103f9848260006106f98661096f565b61097f565b6107066109da565b156107175761048a84848484610a58565b6040517f0c1a60000000000000000000000000000000000000000000000000000000000081523390630c1a600090610759908790879087908790600401612131565b600060405180830381600087803b15801561077357600080fd5b505af1158015610787573d6000803e3d6000fd5b5050505050505050565b606061079b6109da565b156107b2576107ab848484610c94565b9050610837565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c906107f290879087908790600401612165565b600060405180830381865afa15801561080f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107ab9190810190612051565b9392505050565b6000818311158015610851575083518211155b610896578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161088d93929190612191565b60405180910390fd5b602084016108a484826121b6565b905060006108b285856121ce565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b606060006108378360206001610caf565b6108f06109da565b15610903576108ff8282610df2565b5050565b6040517f505a181d000000000000000000000000000000000000000000000000000000008152339063505a181d90610941908590859060040161200c565b600060405180830381600087803b15801561095b57600080fd5b505af1158015610168573d6000803e3d6000fd5b6060816108378160206001610f88565b6109876109da565b156109985761048a84848484611013565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a726690610759908790879087908790600401612131565b6000303b8082036109ed57600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b158015610a3357600080fd5b505afa925050508015610a44575060015b610a5057600091505090565b600191505090565b6000610a6385611207565b9050610a6e8161125c565b60ff168360ff161015610aad576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610abb8686868561126d565b83604051602001610acd9291906121e5565b60405160208183030381529060405290507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4686868684604051610b139493929190612131565b60405180910390a16000610b26876112c8565b905060005b8151811015610bd7576000828281518110610b4857610b486120bf565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401610b919493929190612131565b600060405180830381600087803b158015610bab57600080fd5b505af1158015610bbf573d6000803e3d6000fd5b50505050508080610bcf906120eb565b915050610b2b565b50610be5878785888861139d565b60005b8151811015610787576000828281518110610c0557610c056120bf565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8a8a8a886040518563ffffffff1660e01b8152600401610c4e9493929190612131565b600060405180830381600087803b158015610c6857600080fd5b505af1158015610c7c573d6000803e3d6000fd5b50505050508080610c8c906120eb565b915050610be8565b60606000610ca185611207565b905061057585858584611418565b60606000610cbd8560801c90565b90506fffffffffffffffffffffffffffffffff8516600084610cf557610ce4866008612214565b610cf0906101006121ce565b610cf8565b60005b90506000868381610d0b57610d0b612233565b049050610d188784612249565b15610da5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a65000000606482015260840161088d565b602080820201604051955080860160405250808552600060208601855b83831015610de4578051851c8252600192909201916020909101908901610dc2565b505050505050509392505050565b6000610dfd83611207565b90507f2cc8610b80ef19409ae51ecbdd9c137960fb22ae9ef2d817d36ec1b685d68ecd8383604051610e3092919061200c565b60405180910390a16000610e43846112c8565b905060005b8151811015610ef0576000828281518110610e6557610e656120bf565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663b51fef6c87876040518363ffffffff1660e01b8152600401610eaa92919061200c565b600060405180830381600087803b158015610ec457600080fd5b505af1158015610ed8573d6000803e3d6000fd5b50505050508080610ee8906120eb565b915050610e48565b506000610efd858561144f565b9050610f57816000610f0f8660f01c90565b67ffffffffffffffff811115610f2757610f27611d50565b6040519080825280601f01601f191660200182016040528015610f51576020820181803683370190505b506114a5565b610f60836114ba565b60ff16600003610f71575050505050565b6000610f7d86866114c6565b600081559050610168565b60606000838551610f999190612214565b90508067ffffffffffffffff811115610fb457610fb4611d50565b6040519080825280601f01601f191660200182016040528015610fde576020820181803683370190505b50805190925061100b9086906fffffffffffffffffffffffffffffffff166020850160801b1786866114fd565b509392505050565b600061101e85611207565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c46858585856040516110559493929190612131565b60405180910390a16000611068866112c8565b905060005b815181101561111957600082828151811061108a5761108a6120bf565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee2898989896040518563ffffffff1660e01b81526004016110d39493929190612131565b600060405180830381600087803b1580156110ed57600080fd5b505af1158015611101573d6000803e3d6000fd5b50505050508080611111906120eb565b91505061106d565b506111238261125c565b60ff168460ff1610156111425761113d868684878761161c565b61114f565b61114f86868487876116c7565b60005b81518110156111fe57600082828151811061116f5761116f6120bf565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f898989896040518563ffffffff1660e01b81526004016111b89493929190612131565b600060405180830381600087803b1580156111d257600080fd5b505af11580156111e6573d6000803e3d6000fd5b505050505080806111f6906120eb565b915050611152565b50505050505050565b600061121282611704565b9050806112575781611223836117c9565b6040517fd623a70d00000000000000000000000000000000000000000000000000000000815260040161088d92919061225d565b919050565b6000601082901b5b60f81c92915050565b6060600061127a8361125c565b6112849085612276565b905060006112938787846117f4565b905060006112ae8360ff166112a88a8a61184d565b9061185a565b90506112ba828261188c565b93505050505b949350505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611302576113026120bf565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f486f6f6b73000000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906113869061137e90612299565b836000610791565b90506112c0611398826000845161083e565b61189a565b60006113a88461125c565b6113b29084612276565b905060006113c087876114c6565b905060006113cc825490565b905060006113dd8260ff861661185a565b90506113fb8460ff168651836113f391906121b6565b8491906118ab565b808455915061140d8989868489611983565b505050505050505050565b60606114238261125c565b60ff168360ff1610156114435761143c858585856119c3565b90506112c0565b61143c8585858561126d565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001611486939291906122c0565b60408051601f1981840301815291905280516020909101209392505050565b60006020820190506103f98484838551611a23565b6000601882901b611264565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001611486939291906122df565b8351600061150b8560801c90565b90506000836115305761151f856008612214565b61152b906101006121ce565b611533565b60005b905060006115418685612214565b90506fffffffffffffffffffffffffffffffff87168111156115e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f7061636b46726f6d41727261793a20696e73756666696369656e7420616c6c6f60448201527f6361746564207061636b6564536c696365206c656e6774680000000000000000606482015260840161088d565b600060208901845b8683101561160f578151851b81526001929092019160209091019088016115ed565b5050505050505050505050565b600061162b8460ff8516611ae1565b905081516116498260c58111156116445761164461233f565b611b0d565b146116a0576116638160c58111156116445761164461233f565b82516040517f521b3d330000000000000000000000000000000000000000000000000000000081526004810192909252602482015260440161088d565b60006116ac878761144f565b905060006116ba8686611bbe565b90506107878282866114a5565b60006116d28461125c565b6116dc9084612276565b90506116eb8686838551611c0a565b60006116f88787846117f4565b90506111fe8184611c3c565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061173d5761173d6120bf565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d610000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906117bf906117b990612299565b8361144f565b90506112c0815490565b6060816040516020016117de91815260200190565b6040516020818303038152906040529050919050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d984848460405160200161182d9493929190612355565b60408051601f198184030181529190528051602090910120949350505050565b6000806117bf84846114c6565b600080611868836005612214565b6118739060076121b6565b905061188184826008021b90565b60d81c949350505050565b606061083783836000611c48565b606060006108378360146000610caf565b600083816118b98260c81c90565b905060006118ca878760ff1661185a565b90508085106118ee576118dd81866121ce565b6118e790836121b6565b9150611905565b6118f885826121ce565b61190290836121ce565b91505b6000611912876005612214565b61191d9060076121b6565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c1798975050505050505050565b60006119908686866117f4565b905061199d602084612388565b6119a790826121b6565b905060006119b6602085612249565b90506111fe8282856114a5565b606060006119d48360ff8616611ae1565b905060006119ed8260c58111156116445761164461233f565b905060006119fb888861144f565b90506000611a098688611bbe565b9050611a16828483611c48565b9998505050505050505050565b602083048401935060208381611a3b57611a3b612233565b0692508215611a945760208390036000600019600884021c1990506008850281811c91508451811c9050811987541682821617875550818311611a7f5750506103f9565b611a8a6001876121b6565b9550509182019190035b60208110611abd5781518455611aab6001856121b6565b935060209190910190601f1901611a94565b80156103f9576000600019600883021c198554845182169119161785555050505050565b6000611af983611af28460046121b6565b6008021b90565b60f81c60c58111156108375761083761233f565b6000808260c5811115611b2257611b2261233f565b60ff1690506020811015611b3b576108378160016121b6565b6040811015611b5b576020611b518260016121b6565b61083791906121ce565b6060811015611b71576040611b518260016121b6565b60608360c5811115611b8557611b8561233f565b03611b935750600192915050565b60618360c5811115611ba757611ba761233f565b03611bb55750601492915050565b50600092915050565b600080805b8360ff1681101561100b57611bec611bdb8683611ae1565b60c58111156116445761164461233f565b611bf690836121b6565b915080611c02816120eb565b915050611bc3565b6000611c1685856114c6565b90506000611c22825490565b9050611c328160ff8616856118ab565b8083559050610168565b6108ff826000836114a5565b60608267ffffffffffffffff811115611c6357611c63611d50565b6040519080825280601f01601f191660200182016040528015611c8d576020820181803683370190505b5090506020810161100b85858584602082048401935060208281611cb357611cb3612233565b0691508115611d045760208290036000600019600883021c1990508554600885021b811984511682821617845250818511611cef5750506103f9565b611cfa6001876121b6565b9550509283900392015b60208310611d2c5783548152611d1b6001856121b6565b9350601f1990920191602001611d04565b82156103f9576000600019600885021c198251865482169119161782525050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d8f57611d8f611d50565b604052919050565b600082601f830112611da857600080fd5b8135602067ffffffffffffffff821115611dc457611dc4611d50565b8160051b611dd3828201611d66565b9283528481018201928281019087851115611ded57600080fd5b83870192505b84831015611e0c57823582529183019190830190611df3565b979650505050505050565b600067ffffffffffffffff821115611e3157611e31611d50565b50601f01601f191660200190565b600082601f830112611e5057600080fd5b8135611e63611e5e82611e17565b611d66565b818152846020838601011115611e7857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215611eab57600080fd5b84359350602085013567ffffffffffffffff80821115611eca57600080fd5b611ed688838901611d97565b94506040870135915060ff82168214611eee57600080fd5b90925060608601359080821115611f0457600080fd5b50611f1187828801611e3f565b91505092959194509250565b600080600060608486031215611f3257600080fd5b83359250602084013567ffffffffffffffff80821115611f5157600080fd5b611f5d87838801611d97565b93506040860135915080821115611f7357600080fd5b50611f8086828701611e3f565b9150509250925092565b60008060408385031215611f9d57600080fd5b82359150602083013567ffffffffffffffff811115611fbb57600080fd5b611fc785828601611d97565b9150509250929050565b600081518084526020808501945080840160005b8381101561200157815187529582019590820190600101611fe5565b509495945050505050565b8281526040602082015260006112c06040830184611fd1565b60005b83811015612040578181015183820152602001612028565b838111156103f95750506000910152565b60006020828403121561206357600080fd5b815167ffffffffffffffff81111561207a57600080fd5b8201601f8101841361208b57600080fd5b8051612099611e5e82611e17565b8181528560208385010111156120ae57600080fd5b610575826020830160208601612025565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982036120fe576120fe6120d5565b5060010190565b6000815180845261211d816020860160208601612025565b601f01601f19169290920160200192915050565b84815260806020820152600061214a6080830186611fd1565b60ff851660408401528281036060840152611e0c8185612105565b83815260606020820152600061217e6060830185611fd1565b905060ff83166040830152949350505050565b6060815260006121a46060830186612105565b60208301949094525060400152919050565b600082198211156121c9576121c96120d5565b500190565b6000828210156121e0576121e06120d5565b500390565b600083516121f7818460208801612025565b83519083019061220b818360208801612025565b01949350505050565b600081600019048311821515161561222e5761222e6120d5565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261225857612258612233565b500690565b8281526040602082015260006112c06040830184612105565b600060ff821660ff841680821015612290576122906120d5565b90039392505050565b805160208083015191908110156122ba576000198160200360031b1b821691505b50919050565b8381528260208201526060604082015260006105756060830184611fd1565b8381528260208201526080604082015260006122fe6080830184611fd1565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b634e487b7160e01b600052602160045260246000fd5b8481528360208201526080604082015260006123746080830185611fd1565b905060ff8316606083015295945050505050565b60008261239757612397612233565b50049056fea164736f6c634300080d000a"; - -type KeysWithValueHookConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: KeysWithValueHookConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class KeysWithValueHook__factory extends ContractFactory { - constructor(...args: KeysWithValueHookConstructorParams) { - 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): KeysWithValueHook { - return super.attach(address) as KeysWithValueHook; - } - override connect(signer: Signer): KeysWithValueHook__factory { - return super.connect(signer) as KeysWithValueHook__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): KeysWithValueHookInterface { - return new utils.Interface(_abi) as KeysWithValueHookInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): KeysWithValueHook { - return new Contract(address, _abi, signerOrProvider) as KeysWithValueHook; - } -} diff --git a/packages/world/types/ethers-contracts/factories/KeysWithValueModule__factory.ts b/packages/world/types/ethers-contracts/factories/KeysWithValueModule__factory.ts deleted file mode 100644 index 1a49e33388..0000000000 --- a/packages/world/types/ethers-contracts/factories/KeysWithValueModule__factory.ts +++ /dev/null @@ -1,158 +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 { - KeysWithValueModule, - KeysWithValueModuleInterface, -} from "../KeysWithValueModule"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resourceSelector", - type: "string", - }, - ], - name: "RequiredModuleNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [], - name: "getName", - outputs: [ - { - internalType: "bytes16", - name: "", - type: "bytes16", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "install", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040526040516100109061004b565b604051809103906000f08015801561002c573d6000803e3d6000fd5b506001600160a01b031660805234801561004557600080fd5b50610059565b6123c98062001ec483390190565b608051611e486200007c600039600081816102e701526103470152611e486000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806313861fb51461003b57806317d7de7c14610050575b600080fd5b61004e61004936600461190d565b610083565b005b604080517f696e646578000000000000000000000000000000000000000000000000000000815290519081900360200190f35b600081806020019051810190610099919061198d565b905060006100c77f6b6579737776616c00000000000000000000000000000000000000000000000083610372565b90506100d16103d2565b73ffffffffffffffffffffffffffffffffffffffff166331b99d89826100f78460801b90565b6100ff6103e1565b610107610459565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b1681527fffffffffffffffffffffffffffffffff000000000000000000000000000000009485166004820152939092166024840152604483015260648201526084016020604051808303816000875af1158015610191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101b5919061198d565b506000806101c1610493565b915091506101cd6103d2565b73ffffffffffffffffffffffffffffffffffffffff1663096fcaa9846101f38660801b90565b85856040518563ffffffff1660e01b815260040161021494939291906119fe565b600060405180830381600087803b15801561022e57600080fd5b505af1158015610242573d6000803e3d6000fd5b5050505061024e6103d2565b73ffffffffffffffffffffffffffffffffffffffff1663f227e653846102748660801b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681527fffffffffffffffffffffffffffffffff0000000000000000000000000000000092831660048201529116602482015273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166044820152606401600060405180830381600087803b15801561032957600080fd5b505af115801561033d573d6000803e3d6000fd5b5050505061036b847f000000000000000000000000000000000000000000000000000000000000000061055b565b5050505050565b60008061037f8360801b90565b7fffffffffffffffff000000000000000000000000000000000000000000000000851677ffffffffffffffff00000000000000000000000000000000604086901c161760809190911c1791505092915050565b60006103dc610600565b905090565b6040805160018082528183019092526000918291906020808301908036833701905050905060c18160008151811061041b5761041b611aa5565b602002602001019060c581111561043457610434611abb565b908160c581111561044757610447611abb565b90525061045381610618565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050605f8160008151811061041b5761041b611aa5565b6040805160018082528183019092526060918291600091816020015b60608152602001906001900390816104af5790505090506040518060400160405280600d81526020017f6b6579735769746856616c7565000000000000000000000000000000000000008152508160008151811061050f5761050f611aa5565b6020026020010181905250806040518060400160405280600d81526020017f4b6579735769746856616c7565000000000000000000000000000000000000008152509092509250509091565b6105636108ad565b1561057657610572828261092b565b5050565b6040517f6e81fd710000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff821660248201523390636e81fd7190604401600060405180830381600087803b1580156105e457600080fd5b505af11580156105f8573d6000803e3d6000fd5b505050505050565b600061060a6108ad565b61061357503390565b503090565b6000601c825111156106645781516040517f5318beb900000000000000000000000000000000000000000000000000000000815260040161065b91815260200190565b60405180910390fd5b60008060008060005b86518110156107905760006106ab88838151811061068d5761068d611aa5565b602002602001015160c58111156106a6576106a6611abb565b610935565b905061ffff8116156107015782156106ef576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836106f981611ae7565b945050610706565b600192505b6107108186611b06565b945061078586610721846004611b2c565b8a858151811061073357610733611aa5565b602002602001015160c581111561074c5761074c611abb565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b95505060010161066d565b5060008287516107a09190611b44565b905060058160ff1611156107e5576040517f5318beb900000000000000000000000000000000000000000000000000000000815260ff8216600482015260240161065b565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b16175b979650505050505050565b6000303b8082036108c057600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561090657600080fd5b505afa925050508015610917575060015b61092357600091505090565b600191505090565b61057282826109ed565b6000808260c581111561094a5761094a611abb565b60ff169050602081101561096a57610963816001611b2c565b9392505050565b604081101561098a576020610980826001611b2c565b6109639190611b67565b60608110156109a0576040610980826001611b2c565b60608360c58111156109b4576109b4611abb565b036109c25750600192915050565b60618360c58111156109d6576109d6611abb565b036109e45750601492915050565b50600092915050565b604080516001808252818301909252600091602080830190803683370190505090508281600081518110610a2357610a23611aa5565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f486f6f6b7300000000000000000000000000000000000000000000000000000060308201528151808203909301835281019052610ae790610a9c90611b7e565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086901b1660208201528390600090603401604051602081830303815290604052610aec565b505050565b610af46108ad565b15610b0a57610b0584848484610b85565b610b7f565b6040517f0c1a60000000000000000000000000000000000000000000000000000000000081523390630c1a600090610b4c908790879087908790600401611be0565b600060405180830381600087803b158015610b6657600080fd5b505af1158015610b7a573d6000803e3d6000fd5b505050505b50505050565b6000610b9085610dbd565b905060ff60e882901c81169084161015610bd6576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610be486868685610e12565b83604051602001610bf6929190611c14565b60405160208183030381529060405290507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4686868684604051610c3c9493929190611be0565b60405180910390a16000610c4f87610e6b565b905060005b8151811015610d00576000828281518110610c7157610c71611aa5565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401610cba9493929190611be0565b600060405180830381600087803b158015610cd457600080fd5b505af1158015610ce8573d6000803e3d6000fd5b50505050508080610cf890611c3a565b915050610c54565b50610d0e8787858888610f40565b60005b8151811015610b7a576000828281518110610d2e57610d2e611aa5565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8a8a8a886040518563ffffffff1660e01b8152600401610d779493929190611be0565b600060405180830381600087803b158015610d9157600080fd5b505af1158015610da5573d6000803e3d6000fd5b50505050508080610db590611c3a565b915050610d11565b6000610dc882610fb9565b905080610e0d5781610dd98361107e565b6040517fd623a70d00000000000000000000000000000000000000000000000000000000815260040161065b929190611c54565b919050565b60606000610e2760ff60e885901c1685611b44565b90506000610e368787846110a9565b90506000610e518360ff16610e4b8a8a611102565b9061110f565b9050610e5d8282611141565b93505050505b949350505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610ea557610ea5611aa5565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f486f6f6b7300000000000000000000000000000000000000000000000000000060308201528151808203909301835281019052600090610f2990610f2190611b7e565b83600061114f565b9050610e63610f3b82600084516111f5565b611285565b6000610f5360ff60e886901c1684611b44565b90506000610f618787611296565b90506000610f6d825490565b90506000610f7e8260ff861661110f565b9050610f9c8460ff16865183610f949190611b2c565b8491906112ec565b8084559150610fae89898684896113c4565b505050505050505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610ff257610ff2611aa5565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d610000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906110749061106e90611b7e565b8361140d565b9050610e63815490565b60608160405160200161109391815260200190565b6040516020818303038152906040529050919050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98484846040516020016110e29493929190611c6d565b60408051601f198184030181529190528051602090910120949350505050565b6000806110748484611296565b60008061111d836005611ca0565b611128906007611b2c565b905061113684826008021b90565b60d81c949350505050565b606061096383836000611444565b60606111596108ad565b15611170576111698484846114a4565b9050610963565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c906111b090879087908790600401611cbf565b600060405180830381865afa1580156111cd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111699190810190611ceb565b6000818311158015611208575083518211155b611244578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161065b93929190611d59565b602084016112528482611b2c565b905060006112608585611b67565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b6060600061096383601460006114c8565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016112cd93929190611d7e565b60408051601f1981840301815291905280516020909101209392505050565b600083816112fa8260c81c90565b9050600061130b878760ff1661110f565b905080851061132f5761131e8186611b67565b6113289083611b2c565b9150611346565b6113398582611b67565b6113439083611b67565b91505b6000611353876005611ca0565b61135e906007611b2c565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c1798975050505050505050565b60006113d18686866110a9565b90506113de602084611df4565b6113e89082611b2c565b905060006113f7602085611e08565b905061140482828561160b565b50505050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016112cd93929190611e1c565b60608267ffffffffffffffff81111561145f5761145f61189e565b6040519080825280601f01601f191660200182016040528015611489576020820181803683370190505b5090506020810161149c85858584611620565b509392505050565b606060006114b185610dbd565b90506114bf858585846116d5565b95945050505050565b606060006114d68560801c90565b90506fffffffffffffffffffffffffffffffff851660008461150e576114fd866008611ca0565b61150990610100611b67565b611511565b60005b9050600086838161152457611524611dde565b0490506115318784611e08565b156115be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a65000000606482015260840161065b565b602080820201604051955080860160405250808552600060208601855b838310156115fd578051851c82526001929092019160209091019089016115db565b505050505050509392505050565b6000602082019050610b7f8484838551611708565b60208204840193506020828161163857611638611dde565b06915081156116895760208290036000600019600883021c1990508554600885021b811984511682821617845250818511611674575050610b7f565b61167f600187611b2c565b9550509283900392015b602083106116b157835481526116a0600185611b2c565b9350601f1990920191602001611689565b8215610b7f576000600019600885021c198251865482169119161782525050505050565b606060ff60e883901c811690841610156116fc576116f5858585856117c6565b9050610e63565b6116f585858585610e12565b60208304840193506020838161172057611720611dde565b06925082156117795760208390036000600019600884021c1990506008850281811c91508451811c9050811987541682821617875550818311611764575050610b7f565b61176f600187611b2c565b9550509182019190035b602081106117a25781518455611790600185611b2c565b935060209190910190601f1901611779565b8015610b7f576000600019600883021c198554845182169119161785555050505050565b606060006117d78360ff8616611826565b905060006117f08260c58111156106a6576106a6611abb565b905060006117fe888861140d565b9050600061180c8688611852565b9050611819828483611444565b9998505050505050505050565b600061183e83611837846004611b2c565b6008021b90565b60f81c60c581111561096357610963611abb565b600080805b8360ff1681101561149c5761188061186f8683611826565b60c58111156106a6576106a6611abb565b61188a9083611b2c565b91508061189681611c3a565b915050611857565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156118dd576118dd61189e565b604052919050565b600067ffffffffffffffff8211156118ff576118ff61189e565b50601f01601f191660200190565b60006020828403121561191f57600080fd5b813567ffffffffffffffff81111561193657600080fd5b8201601f8101841361194757600080fd5b803561195a611955826118e5565b6118b4565b81815285602083850101111561196f57600080fd5b81602084016020830137600091810160200191909152949350505050565b60006020828403121561199f57600080fd5b5051919050565b60005b838110156119c15781810151838201526020016119a9565b83811115610b7f5750506000910152565b600081518084526119ea8160208601602086016119a6565b601f01601f19169290920160200192915050565b60007fffffffffffffffffffffffffffffffff00000000000000000000000000000000808716835260208187168185015260806040850152611a4360808501876119d2565b915083820360608501528185518084528284019150828160051b85010183880160005b83811015611a9457601f19878403018552611a828383516119d2565b94860194925090850190600101611a66565b50909b9a5050505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8103611afd57611afd611ad1565b60010192915050565b600061ffff808316818516808303821115611b2357611b23611ad1565b01949350505050565b60008219821115611b3f57611b3f611ad1565b500190565b600060ff821660ff841680821015611b5e57611b5e611ad1565b90039392505050565b600082821015611b7957611b79611ad1565b500390565b80516020808301519190811015611b9f576000198160200360031b1b821691505b50919050565b600081518084526020808501945080840160005b83811015611bd557815187529582019590820190600101611bb9565b509495945050505050565b848152608060208201526000611bf96080830186611ba5565b60ff8516604084015282810360608401526108a281856119d2565b60008351611c268184602088016119a6565b835190830190611b238183602088016119a6565b60006000198203611c4d57611c4d611ad1565b5060010190565b828152604060208201526000610e6360408301846119d2565b848152836020820152608060408201526000611c8c6080830185611ba5565b905060ff8316606083015295945050505050565b6000816000190483118215151615611cba57611cba611ad1565b500290565b838152606060208201526000611cd86060830185611ba5565b905060ff83166040830152949350505050565b600060208284031215611cfd57600080fd5b815167ffffffffffffffff811115611d1457600080fd5b8201601f81018413611d2557600080fd5b8051611d33611955826118e5565b818152856020838501011115611d4857600080fd5b6114bf8260208301602086016119a6565b606081526000611d6c60608301866119d2565b60208301949094525060400152919050565b838152826020820152608060408201526000611d9d6080830184611ba5565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b634e487b7160e01b600052601260045260246000fd5b600082611e0357611e03611dde565b500490565b600082611e1757611e17611dde565b500690565b8381528260208201526060604082015260006114bf6060830184611ba556fea164736f6c634300080d000a608060405234801561001057600080fd5b506123a9806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063469b7ee2146100515780636b3d7d5f1461006657806382b6745f14610079578063b51fef6c1461008c575b600080fd5b61006461005f366004611e95565b61009f565b005b610064610074366004611e95565b610170565b610064610087366004611f1d565b610239565b61006461009a366004611f8a565b61033e565b604051636624edbf60e11b8152600090339063cc49db7e906100c7908890889060040161200c565b600060405180830381865afa1580156100e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261010c9190810190612051565b80519060200120905060006101417f6b6579737776616c000000000000000000000000000000000000000000000000876103ff565b9050610168818660008151811061015a5761015a6120bf565b60200260200101518461045f565b505050505050565b604051636624edbf60e11b8152600090339063cc49db7e90610198908890889060040161200c565b600060405180830381865afa1580156101b5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101dd9190810190612051565b80519060200120905060006102127f6b6579737776616c000000000000000000000000000000000000000000000000876103ff565b905061016881838760008151811061022c5761022c6120bf565b602002602001015161049a565b60006102657f6b6579737776616c000000000000000000000000000000000000000000000000856103ff565b604051636624edbf60e11b8152909150600090339063cc49db7e90610290908890889060040161200c565b600060405180830381865afa1580156102ad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102d59190810190612051565b805190602001209050828051906020012081036102f3575050505050565b610318828560008151811061030a5761030a6120bf565b60200260200101518361045f565b6103378284805190602001208660008151811061022c5761022c6120bf565b5050505050565b604051636624edbf60e11b8152600090339063cc49db7e90610366908690869060040161200c565b600060405180830381865afa158015610383573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103ab9190810190612051565b80519060200120905060006103e07f6b6579737776616c000000000000000000000000000000000000000000000000856103ff565b90506103f9818460008151811061015a5761015a6120bf565b50505050565b60008061040c8360801b90565b7fffffffffffffffff000000000000000000000000000000000000000000000000851677ffffffffffffffff00000000000000000000000000000000604086901c161760809190911c1791505092915050565b60006104758361046f868561050a565b9061057e565b9050805160000361048f5761048a8483610656565b6103f9565b6103f98483836106a7565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106104d0576104d06120bf565b6020026020010181815250506103f984826000856040516020016104f691815260200190565b6040516020818303038152906040526106fe565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610544576105446120bf565b602002602001018181525050600061055e85836000610791565b9050610575610570826000845161083e565b6108d7565b95945050505050565b60606000835167ffffffffffffffff81111561059c5761059c611d50565b6040519080825280602002602001820160405280156105c5578160200160208202803683370190505b5090506000805b855181101561064c57848682815181106105e8576105e86120bf565b60200260200101511461063a57858181518110610607576106076120bf565b6020026020010151838381518110610621576106216120bf565b602090810291909101015281610636816120eb565b9250505b80610644816120eb565b9150506105cc565b5081529392505050565b60408051600180825281830190925260009160208083019080368337019050509050818160008151811061068c5761068c6120bf565b6020026020010181815250506106a283826108e8565b505050565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106106dd576106dd6120bf565b6020026020010181815250506103f9848260006106f98661096f565b61097f565b6107066109da565b156107175761048a84848484610a58565b6040517f0c1a60000000000000000000000000000000000000000000000000000000000081523390630c1a600090610759908790879087908790600401612131565b600060405180830381600087803b15801561077357600080fd5b505af1158015610787573d6000803e3d6000fd5b5050505050505050565b606061079b6109da565b156107b2576107ab848484610c94565b9050610837565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c906107f290879087908790600401612165565b600060405180830381865afa15801561080f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107ab9190810190612051565b9392505050565b6000818311158015610851575083518211155b610896578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161088d93929190612191565b60405180910390fd5b602084016108a484826121b6565b905060006108b285856121ce565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b606060006108378360206001610caf565b6108f06109da565b15610903576108ff8282610df2565b5050565b6040517f505a181d000000000000000000000000000000000000000000000000000000008152339063505a181d90610941908590859060040161200c565b600060405180830381600087803b15801561095b57600080fd5b505af1158015610168573d6000803e3d6000fd5b6060816108378160206001610f88565b6109876109da565b156109985761048a84848484611013565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a726690610759908790879087908790600401612131565b6000303b8082036109ed57600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b158015610a3357600080fd5b505afa925050508015610a44575060015b610a5057600091505090565b600191505090565b6000610a6385611207565b9050610a6e8161125c565b60ff168360ff161015610aad576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610abb8686868561126d565b83604051602001610acd9291906121e5565b60405160208183030381529060405290507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4686868684604051610b139493929190612131565b60405180910390a16000610b26876112c8565b905060005b8151811015610bd7576000828281518110610b4857610b486120bf565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee28a8a8a886040518563ffffffff1660e01b8152600401610b919493929190612131565b600060405180830381600087803b158015610bab57600080fd5b505af1158015610bbf573d6000803e3d6000fd5b50505050508080610bcf906120eb565b915050610b2b565b50610be5878785888861139d565b60005b8151811015610787576000828281518110610c0557610c056120bf565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f8a8a8a886040518563ffffffff1660e01b8152600401610c4e9493929190612131565b600060405180830381600087803b158015610c6857600080fd5b505af1158015610c7c573d6000803e3d6000fd5b50505050508080610c8c906120eb565b915050610be8565b60606000610ca185611207565b905061057585858584611418565b60606000610cbd8560801c90565b90506fffffffffffffffffffffffffffffffff8516600084610cf557610ce4866008612214565b610cf0906101006121ce565b610cf8565b60005b90506000868381610d0b57610d0b612233565b049050610d188784612249565b15610da5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a65000000606482015260840161088d565b602080820201604051955080860160405250808552600060208601855b83831015610de4578051851c8252600192909201916020909101908901610dc2565b505050505050509392505050565b6000610dfd83611207565b90507f2cc8610b80ef19409ae51ecbdd9c137960fb22ae9ef2d817d36ec1b685d68ecd8383604051610e3092919061200c565b60405180910390a16000610e43846112c8565b905060005b8151811015610ef0576000828281518110610e6557610e656120bf565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663b51fef6c87876040518363ffffffff1660e01b8152600401610eaa92919061200c565b600060405180830381600087803b158015610ec457600080fd5b505af1158015610ed8573d6000803e3d6000fd5b50505050508080610ee8906120eb565b915050610e48565b506000610efd858561144f565b9050610f57816000610f0f8660f01c90565b67ffffffffffffffff811115610f2757610f27611d50565b6040519080825280601f01601f191660200182016040528015610f51576020820181803683370190505b506114a5565b610f60836114ba565b60ff16600003610f71575050505050565b6000610f7d86866114c6565b600081559050610168565b60606000838551610f999190612214565b90508067ffffffffffffffff811115610fb457610fb4611d50565b6040519080825280601f01601f191660200182016040528015610fde576020820181803683370190505b50805190925061100b9086906fffffffffffffffffffffffffffffffff166020850160801b1786866114fd565b509392505050565b600061101e85611207565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c46858585856040516110559493929190612131565b60405180910390a16000611068866112c8565b905060005b815181101561111957600082828151811061108a5761108a6120bf565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee2898989896040518563ffffffff1660e01b81526004016110d39493929190612131565b600060405180830381600087803b1580156110ed57600080fd5b505af1158015611101573d6000803e3d6000fd5b50505050508080611111906120eb565b91505061106d565b506111238261125c565b60ff168460ff1610156111425761113d868684878761161c565b61114f565b61114f86868487876116c7565b60005b81518110156111fe57600082828151811061116f5761116f6120bf565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f898989896040518563ffffffff1660e01b81526004016111b89493929190612131565b600060405180830381600087803b1580156111d257600080fd5b505af11580156111e6573d6000803e3d6000fd5b505050505080806111f6906120eb565b915050611152565b50505050505050565b600061121282611704565b9050806112575781611223836117c9565b6040517fd623a70d00000000000000000000000000000000000000000000000000000000815260040161088d92919061225d565b919050565b6000601082901b5b60f81c92915050565b6060600061127a8361125c565b6112849085612276565b905060006112938787846117f4565b905060006112ae8360ff166112a88a8a61184d565b9061185a565b90506112ba828261188c565b93505050505b949350505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611302576113026120bf565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f486f6f6b73000000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906113869061137e90612299565b836000610791565b90506112c0611398826000845161083e565b61189a565b60006113a88461125c565b6113b29084612276565b905060006113c087876114c6565b905060006113cc825490565b905060006113dd8260ff861661185a565b90506113fb8460ff168651836113f391906121b6565b8491906118ab565b808455915061140d8989868489611983565b505050505050505050565b60606114238261125c565b60ff168360ff1610156114435761143c858585856119c3565b90506112c0565b61143c8585858561126d565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001611486939291906122c0565b60408051601f1981840301815291905280516020909101209392505050565b60006020820190506103f98484838551611a23565b6000601882901b611264565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001611486939291906122df565b8351600061150b8560801c90565b90506000836115305761151f856008612214565b61152b906101006121ce565b611533565b60005b905060006115418685612214565b90506fffffffffffffffffffffffffffffffff87168111156115e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f7061636b46726f6d41727261793a20696e73756666696369656e7420616c6c6f60448201527f6361746564207061636b6564536c696365206c656e6774680000000000000000606482015260840161088d565b600060208901845b8683101561160f578151851b81526001929092019160209091019088016115ed565b5050505050505050505050565b600061162b8460ff8516611ae1565b905081516116498260c58111156116445761164461233f565b611b0d565b146116a0576116638160c58111156116445761164461233f565b82516040517f521b3d330000000000000000000000000000000000000000000000000000000081526004810192909252602482015260440161088d565b60006116ac878761144f565b905060006116ba8686611bbe565b90506107878282866114a5565b60006116d28461125c565b6116dc9084612276565b90506116eb8686838551611c0a565b60006116f88787846117f4565b90506111fe8184611c3c565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061173d5761173d6120bf565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d610000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906117bf906117b990612299565b8361144f565b90506112c0815490565b6060816040516020016117de91815260200190565b6040516020818303038152906040529050919050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d984848460405160200161182d9493929190612355565b60408051601f198184030181529190528051602090910120949350505050565b6000806117bf84846114c6565b600080611868836005612214565b6118739060076121b6565b905061188184826008021b90565b60d81c949350505050565b606061083783836000611c48565b606060006108378360146000610caf565b600083816118b98260c81c90565b905060006118ca878760ff1661185a565b90508085106118ee576118dd81866121ce565b6118e790836121b6565b9150611905565b6118f885826121ce565b61190290836121ce565b91505b6000611912876005612214565b61191d9060076121b6565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c1798975050505050505050565b60006119908686866117f4565b905061199d602084612388565b6119a790826121b6565b905060006119b6602085612249565b90506111fe8282856114a5565b606060006119d48360ff8616611ae1565b905060006119ed8260c58111156116445761164461233f565b905060006119fb888861144f565b90506000611a098688611bbe565b9050611a16828483611c48565b9998505050505050505050565b602083048401935060208381611a3b57611a3b612233565b0692508215611a945760208390036000600019600884021c1990506008850281811c91508451811c9050811987541682821617875550818311611a7f5750506103f9565b611a8a6001876121b6565b9550509182019190035b60208110611abd5781518455611aab6001856121b6565b935060209190910190601f1901611a94565b80156103f9576000600019600883021c198554845182169119161785555050505050565b6000611af983611af28460046121b6565b6008021b90565b60f81c60c58111156108375761083761233f565b6000808260c5811115611b2257611b2261233f565b60ff1690506020811015611b3b576108378160016121b6565b6040811015611b5b576020611b518260016121b6565b61083791906121ce565b6060811015611b71576040611b518260016121b6565b60608360c5811115611b8557611b8561233f565b03611b935750600192915050565b60618360c5811115611ba757611ba761233f565b03611bb55750601492915050565b50600092915050565b600080805b8360ff1681101561100b57611bec611bdb8683611ae1565b60c58111156116445761164461233f565b611bf690836121b6565b915080611c02816120eb565b915050611bc3565b6000611c1685856114c6565b90506000611c22825490565b9050611c328160ff8616856118ab565b8083559050610168565b6108ff826000836114a5565b60608267ffffffffffffffff811115611c6357611c63611d50565b6040519080825280601f01601f191660200182016040528015611c8d576020820181803683370190505b5090506020810161100b85858584602082048401935060208281611cb357611cb3612233565b0691508115611d045760208290036000600019600883021c1990508554600885021b811984511682821617845250818511611cef5750506103f9565b611cfa6001876121b6565b9550509283900392015b60208310611d2c5783548152611d1b6001856121b6565b9350601f1990920191602001611d04565b82156103f9576000600019600885021c198251865482169119161782525050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d8f57611d8f611d50565b604052919050565b600082601f830112611da857600080fd5b8135602067ffffffffffffffff821115611dc457611dc4611d50565b8160051b611dd3828201611d66565b9283528481018201928281019087851115611ded57600080fd5b83870192505b84831015611e0c57823582529183019190830190611df3565b979650505050505050565b600067ffffffffffffffff821115611e3157611e31611d50565b50601f01601f191660200190565b600082601f830112611e5057600080fd5b8135611e63611e5e82611e17565b611d66565b818152846020838601011115611e7857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215611eab57600080fd5b84359350602085013567ffffffffffffffff80821115611eca57600080fd5b611ed688838901611d97565b94506040870135915060ff82168214611eee57600080fd5b90925060608601359080821115611f0457600080fd5b50611f1187828801611e3f565b91505092959194509250565b600080600060608486031215611f3257600080fd5b83359250602084013567ffffffffffffffff80821115611f5157600080fd5b611f5d87838801611d97565b93506040860135915080821115611f7357600080fd5b50611f8086828701611e3f565b9150509250925092565b60008060408385031215611f9d57600080fd5b82359150602083013567ffffffffffffffff811115611fbb57600080fd5b611fc785828601611d97565b9150509250929050565b600081518084526020808501945080840160005b8381101561200157815187529582019590820190600101611fe5565b509495945050505050565b8281526040602082015260006112c06040830184611fd1565b60005b83811015612040578181015183820152602001612028565b838111156103f95750506000910152565b60006020828403121561206357600080fd5b815167ffffffffffffffff81111561207a57600080fd5b8201601f8101841361208b57600080fd5b8051612099611e5e82611e17565b8181528560208385010111156120ae57600080fd5b610575826020830160208601612025565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982036120fe576120fe6120d5565b5060010190565b6000815180845261211d816020860160208601612025565b601f01601f19169290920160200192915050565b84815260806020820152600061214a6080830186611fd1565b60ff851660408401528281036060840152611e0c8185612105565b83815260606020820152600061217e6060830185611fd1565b905060ff83166040830152949350505050565b6060815260006121a46060830186612105565b60208301949094525060400152919050565b600082198211156121c9576121c96120d5565b500190565b6000828210156121e0576121e06120d5565b500390565b600083516121f7818460208801612025565b83519083019061220b818360208801612025565b01949350505050565b600081600019048311821515161561222e5761222e6120d5565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261225857612258612233565b500690565b8281526040602082015260006112c06040830184612105565b600060ff821660ff841680821015612290576122906120d5565b90039392505050565b805160208083015191908110156122ba576000198160200360031b1b821691505b50919050565b8381528260208201526060604082015260006105756060830184611fd1565b8381528260208201526080604082015260006122fe6080830184611fd1565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b634e487b7160e01b600052602160045260246000fd5b8481528360208201526080604082015260006123746080830185611fd1565b905060ff8316606083015295945050505050565b60008261239757612397612233565b50049056fea164736f6c634300080d000a"; - -type KeysWithValueModuleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: KeysWithValueModuleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class KeysWithValueModule__factory extends ContractFactory { - constructor(...args: KeysWithValueModuleConstructorParams) { - 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): KeysWithValueModule { - return super.attach(address) as KeysWithValueModule; - } - override connect(signer: Signer): KeysWithValueModule__factory { - return super.connect(signer) as KeysWithValueModule__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): KeysWithValueModuleInterface { - return new utils.Interface(_abi) as KeysWithValueModuleInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): KeysWithValueModule { - return new Contract(address, _abi, signerOrProvider) as KeysWithValueModule; - } -} diff --git a/packages/world/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts b/packages/world/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts deleted file mode 100644 index ae3ee7e336..0000000000 --- a/packages/world/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts +++ /dev/null @@ -1,138 +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 { - ModuleInstallationSystem, - ModuleInstallationSystemInterface, -} from "../ModuleInstallationSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "contract IModule", - name: "module", - type: "address", - }, - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "installModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506116c9806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80638da798da14610030575b600080fd5b61004361003e3660046111d7565b610045565b005b6100d1610050610155565b836313861fb560e01b8460405160240161006a91906112db565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600080610187565b506101518273ffffffffffffffffffffffffffffffffffffffff166317d7de7c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610120573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014491906112ee565b82516020840120846102b1565b5050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec36013560601c806101845750335b90565b60606000848760405160200161019e929190611330565b604051602081830303815290604052905060008085610225578773ffffffffffffffffffffffffffffffffffffffff1685846040516101dd919061137a565b60006040518083038185875af1925050503d806000811461021a576040519150601f19603f3d011682016040523d82523d6000602084013e61021f565b606091505b5061028c565b8773ffffffffffffffffffffffffffffffffffffffff168360405161024a919061137a565b600060405180830381855af49150503d8060008114610285576040519150601f19603f3d011682016040523d82523d6000602084013e61028a565b606091505b505b9150915081156102a05792506102a8915050565b805160208201fd5b95945050505050565b60006102bc82610391565b6040805160028082526060820183529293506000929091602083019080368337019050509050846fffffffffffffffffffffffffffffffff19168160008151811061030957610309611396565b602002602001018181525050838160018151811061032957610329611396565b602090810291909101810191909152604080516000818401527f496e7374616c6c65644d6f64756c6573000000000000000000000000000000006030820152815180820390930183528101905261038a90610383906113ac565b82846103db565b5050505050565b604051606082811b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166020830152906034015b6040516020818303038152906040529050919050565b6103e361046f565b156103f8576103f38383836104ed565b505050565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f906104389086908690869060040161140e565b600060405180830381600087803b15801561045257600080fd5b505af1158015610466573d6000803e3d6000fd5b50505050505050565b6000303b80820361048257600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b1580156104c857600080fd5b505afa9250505080156104d9575060015b6104e557600091505090565b600191505090565b60006104f8846106ce565b9050600080610507838561072c565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee3286868660405161053e9392919061140e565b60405180910390a16000610551876107ca565b905060005b815181101561060057600082828151811061057357610573611396565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016105ba9392919061140e565b600060405180830381600087803b1580156105d457600080fd5b505af11580156105e8573d6000803e3d6000fd5b505050505080806105f890611459565b915050610556565b50600061060d88886108a7565b90506020860161062082600083886108fd565b61062b856020611473565b6106359082611473565b9050610640866109b9565b60ff1660000361065557505050505050505050565b60006106618a8a6109ca565b858155905060008060005b6106758a6109b9565b60ff168160ff1610156106bf5761068d8d8d83610a01565b925061069c8860ff8316610a5d565b91506106ab83600087856108fd565b6106b58286611473565b945060010161066c565b50505050505050505050505050565b60006106d982610a8f565b90508061072757816106ea83610b54565b6040517fd623a70d00000000000000000000000000000000000000000000000000000000815260040161071e92919061148b565b60405180910390fd5b919050565b6000806107398460f01c90565b9150816000610747866109b9565b60ff16111561077b578284016020015191506107638260c81c90565b61076e906020611473565b6107789082611473565b90505b835181146107c25783516040517f521b3d3300000000000000000000000000000000000000000000000000000000815261071e918391600401918252602082015260400190565b509250929050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061080457610804611396565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f486f6f6b730000000000000000000000000000000000000000000000000000006030820152815180820390930183528101905260009061088890610880906113ac565b836000610b69565b905061089f61089a8260008451610c0f565b610c9f565b949350505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016108de939291906114a4565b60408051601f1981840301815291905280516020909101209392505050565b602083048401935060208381610915576109156114c3565b069250821561096e5760208390036000600019600884021c1990506008850281811c91508451811c90508119875416828216178755508183116109595750506109b3565b610964600187611473565b9550509182019190035b602081106109975781518455610985600185611473565b935060209190910190601f190161096e565b80156109b35783548251600019600884021c9182169119161784555b50505050565b6000601882901b5b60f81c92915050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016108de939291906114d9565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9848484604051602001610a3a9493929190611539565b6040516020818303038152906040528051906020012060001c90505b9392505050565b600080610a6b83600561156c565b610a76906007611473565b9050610a8484826008021b90565b60d81c949350505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610ac857610ac8611396565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d61000000000000000000000000000000000000000000000000000060308201528151808203909301835281019052600090610b4a90610b44906113ac565b836108a7565b905061089f815490565b6060816040516020016103c591815260200190565b6060610b7361046f565b15610b8a57610b83848484610cb0565b9050610a56565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c90610bca9087908790879060040161158b565b600060405180830381865afa158015610be7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b8391908101906115b7565b6000818311158015610c22575083518211155b610c5e578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161071e93929190611625565b60208401610c6c8482611473565b90506000610c7a858561164a565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b60606000610a568360146000610ccb565b60606000610cbd856106ce565b90506102a885858584610e0e565b60606000610cd98560801c90565b90506fffffffffffffffffffffffffffffffff8516600084610d1157610d0086600861156c565b610d0c9061010061164a565b610d14565b60005b90506000868381610d2757610d276114c3565b049050610d348784611661565b15610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a65000000606482015260840161071e565b602080820201604051955080860160405250808552600060208601855b83831015610e00578051851c8252600192909201916020909101908901610dde565b505050505050509392505050565b6060610e1982610e45565b60ff168360ff161015610e3957610e3285858585610e51565b905061089f565b610e3285858585610eb6565b6000601082901b6109c1565b60606000610e628360ff8616610f0f565b90506000610e808260c5811115610e7b57610e7b611683565b610f3b565b90506000610e8e88886108a7565b90506000610e9c8688610fec565b9050610ea9828483611040565b9998505050505050505050565b60606000610ec383610e45565b610ecd9085611699565b90506000610edc878784610a01565b90506000610ef78360ff16610ef18a8a611098565b90610a5d565b9050610f0382826110a5565b98975050505050505050565b6000610f2783610f20846004611473565b6008021b90565b60f81c60c5811115610a5657610a56611683565b6000808260c5811115610f5057610f50611683565b60ff1690506020811015610f6957610a56816001611473565b6040811015610f89576020610f7f826001611473565b610a56919061164a565b6060811015610f9f576040610f7f826001611473565b60608360c5811115610fb357610fb3611683565b03610fc15750600192915050565b60618360c5811115610fd557610fd5611683565b03610fe35750601492915050565b50600092915050565b600080805b8360ff168110156110385761101a6110098683610f0f565b60c5811115610e7b57610e7b611683565b6110249083611473565b91508061103081611459565b915050610ff1565b509392505050565b60608267ffffffffffffffff81111561105b5761105b611168565b6040519080825280601f01601f191660200182016040528015611085576020820181803683370190505b50905060208101611038858585846110b3565b600080610b4a84846109ca565b6060610a5683836000611040565b6020820484019350602082816110cb576110cb6114c3565b069150811561111c5760208290036000600019600883021c1990508554600885021b8119845116828216178452508185116111075750506109b3565b611112600187611473565b9550509283900392015b602083106111445783548152611133600185611473565b9350601f199092019160200161111c565b82156109b3576000600019600885021c198251865482169119161782525050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156111a7576111a7611168565b604052919050565b600067ffffffffffffffff8211156111c9576111c9611168565b50601f01601f191660200190565b600080604083850312156111ea57600080fd5b823573ffffffffffffffffffffffffffffffffffffffff8116811461120e57600080fd5b9150602083013567ffffffffffffffff81111561122a57600080fd5b8301601f8101851361123b57600080fd5b803561124e611249826111af565b61117e565b81815286602083850101111561126357600080fd5b816020840160208301376000602083830101528093505050509250929050565b60005b8381101561129e578181015183820152602001611286565b838111156109b35750506000910152565b600081518084526112c7816020860160208601611283565b601f01601f19169290920160200192915050565b602081526000610a5660208301846112af565b60006020828403121561130057600080fd5b81517fffffffffffffffffffffffffffffffff0000000000000000000000000000000081168114610a5657600080fd5b60008351611342818460208801611283565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b6000825161138c818460208701611283565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b805160208083015191908110156113cd576000198160200360031b1b821691505b50919050565b600081518084526020808501945080840160005b83811015611403578151875295820195908201906001016113e7565b509495945050505050565b83815260606020820152600061142760608301856113d3565b828103604084015261143981856112af565b9695505050505050565b634e487b7160e01b600052601160045260246000fd5b6000600019820361146c5761146c611443565b5060010190565b6000821982111561148657611486611443565b500190565b82815260406020820152600061089f60408301846112af565b8381528260208201526060604082015260006102a860608301846113d3565b634e487b7160e01b600052601260045260246000fd5b8381528260208201526080604082015260006114f860808301846113d3565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b84815283602082015260806040820152600061155860808301856113d3565b905060ff8316606083015295945050505050565b600081600019048311821515161561158657611586611443565b500290565b8381526060602082015260006115a460608301856113d3565b905060ff83166040830152949350505050565b6000602082840312156115c957600080fd5b815167ffffffffffffffff8111156115e057600080fd5b8201601f810184136115f157600080fd5b80516115ff611249826111af565b81815285602083850101111561161457600080fd5b6102a8826020830160208601611283565b60608152600061163860608301866112af565b60208301949094525060400152919050565b60008282101561165c5761165c611443565b500390565b60008261167e57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052602160045260246000fd5b600060ff821660ff8416808210156116b3576116b3611443565b9003939250505056fea164736f6c634300080d000a"; - -type ModuleInstallationSystemConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ModuleInstallationSystemConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class ModuleInstallationSystem__factory extends ContractFactory { - constructor(...args: ModuleInstallationSystemConstructorParams) { - 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): ModuleInstallationSystem { - return super.attach(address) as ModuleInstallationSystem; - } - override connect(signer: Signer): ModuleInstallationSystem__factory { - return super.connect(signer) as ModuleInstallationSystem__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ModuleInstallationSystemInterface { - return new utils.Interface(_abi) as ModuleInstallationSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ModuleInstallationSystem { - return new Contract( - address, - _abi, - signerOrProvider - ) as ModuleInstallationSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/Schema.sol/SchemaLib__factory.ts b/packages/world/types/ethers-contracts/factories/Schema.sol/SchemaLib__factory.ts deleted file mode 100644 index e8ac46549f..0000000000 --- a/packages/world/types/ethers-contracts/factories/Schema.sol/SchemaLib__factory.ts +++ /dev/null @@ -1,76 +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 { SchemaLib, SchemaLibInterface } from "../../Schema.sol/SchemaLib"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type SchemaLibConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SchemaLibConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SchemaLib__factory extends ContractFactory { - constructor(...args: SchemaLibConstructorParams) { - 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): SchemaLib { - return super.attach(address) as SchemaLib; - } - override connect(signer: Signer): SchemaLib__factory { - return super.connect(signer) as SchemaLib__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SchemaLibInterface { - return new utils.Interface(_abi) as SchemaLibInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): SchemaLib { - return new Contract(address, _abi, signerOrProvider) as SchemaLib; - } -} diff --git a/packages/world/types/ethers-contracts/factories/Schema.sol/index.ts b/packages/world/types/ethers-contracts/factories/Schema.sol/index.ts deleted file mode 100644 index 6c05e6269f..0000000000 --- a/packages/world/types/ethers-contracts/factories/Schema.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { SchemaLib__factory } from "./SchemaLib__factory"; diff --git a/packages/world/types/ethers-contracts/factories/Slice.sol/SliceLib__factory.ts b/packages/world/types/ethers-contracts/factories/Slice.sol/SliceLib__factory.ts deleted file mode 100644 index b0bb0de566..0000000000 --- a/packages/world/types/ethers-contracts/factories/Slice.sol/SliceLib__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 { SliceLib, SliceLibInterface } from "../../Slice.sol/SliceLib"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type SliceLibConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SliceLibConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SliceLib__factory extends ContractFactory { - constructor(...args: SliceLibConstructorParams) { - 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): SliceLib { - return super.attach(address) as SliceLib; - } - override connect(signer: Signer): SliceLib__factory { - return super.connect(signer) as SliceLib__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SliceLibInterface { - return new utils.Interface(_abi) as SliceLibInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): SliceLib { - return new Contract(address, _abi, signerOrProvider) as SliceLib; - } -} diff --git a/packages/world/types/ethers-contracts/factories/Slice.sol/index.ts b/packages/world/types/ethers-contracts/factories/Slice.sol/index.ts deleted file mode 100644 index acba22baba..0000000000 --- a/packages/world/types/ethers-contracts/factories/Slice.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { SliceLib__factory } from "./SliceLib__factory"; diff --git a/packages/world/types/ethers-contracts/factories/SnapSyncModule__factory.ts b/packages/world/types/ethers-contracts/factories/SnapSyncModule__factory.ts deleted file mode 100644 index 27803a601d..0000000000 --- a/packages/world/types/ethers-contracts/factories/SnapSyncModule__factory.ts +++ /dev/null @@ -1,100 +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 { - SnapSyncModule, - SnapSyncModuleInterface, -} from "../SnapSyncModule"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resourceSelector", - type: "string", - }, - ], - name: "RequiredModuleNotFound", - type: "error", - }, - { - inputs: [], - name: "getName", - outputs: [ - { - internalType: "bytes16", - name: "", - type: "bytes16", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "install", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040526040516100109061004b565b604051809103906000f08015801561002c573d6000803e3d6000fd5b506001600160a01b031660805234801561004557600080fd5b50610058565b611b90806106a083390190565b60805161062d6100736000396000610116015261062d6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806313861fb51461003b57806317d7de7c14610050575b600080fd5b61004e6100493660046104ef565b610083565b005b604080517f736e617053796e632e6d00000000000000000000000000000000000000000000815290519081900360200190f35b600061008d61041b565b6040517f4c9e9f110000000000000000000000000000000000000000000000000000000081527f736e617053796e6300000000000000000000000000000000000000000000000060048201527f73797374656d0000000000000000000000000000000000000000000000000000602482015273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660448301526001606483015291925090821690634c9e9f11906084016020604051808303816000875af1158015610172573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061019691906105be565b506040517fca4c1f5e0000000000000000000000000000000000000000000000000000000081527f736e617053796e6300000000000000000000000000000000000000000000000060048201527f73797374656d0000000000000000000000000000000000000000000000000000602482015260806044820152600a60848201527f6765745265636f7264730000000000000000000000000000000000000000000060a482015260c06064820152601960c48201527f28627974657333322c75696e743235362c75696e74323536290000000000000060e482015273ffffffffffffffffffffffffffffffffffffffff82169063ca4c1f5e90610104016020604051808303816000875af11580156102b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d691906105d7565b506040517fca4c1f5e0000000000000000000000000000000000000000000000000000000081527f736e617053796e6300000000000000000000000000000000000000000000000060048201527f73797374656d0000000000000000000000000000000000000000000000000000602482015260806044820152601160848201527f6765744e756d4b657973496e5461626c6500000000000000000000000000000060a482015260c06064820152600960c48201527f286279746573333229000000000000000000000000000000000000000000000060e482015273ffffffffffffffffffffffffffffffffffffffff82169063ca4c1f5e90610104016020604051808303816000875af11580156103f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041691906105d7565b505050565b600061042561042a565b905090565b6000610434610442565b61043d57503390565b503090565b6000303b80820361045557600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561049b57600080fd5b505afa9250505080156104ac575060015b6104b857600091505090565b600191505090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561050157600080fd5b813567ffffffffffffffff8082111561051957600080fd5b818401915084601f83011261052d57600080fd5b81358181111561053f5761053f6104c0565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610585576105856104c0565b8160405282815287602084870101111561059e57600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156105d057600080fd5b5051919050565b6000602082840312156105e957600080fd5b81517fffffffff000000000000000000000000000000000000000000000000000000008116811461061957600080fd5b939250505056fea164736f6c634300080d000a608060405234801561001057600080fd5b50611b70806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80639604756e1461003b578063dcd5eaae14610061575b600080fd5b61004e6100493660046115f8565b610081565b6040519081526020015b60405180910390f35b61007461006f366004611611565b610092565b6040516100589190611695565b600061008c826102cf565b92915050565b60608267ffffffffffffffff8111156100ad576100ad61176d565b6040519080825280602002602001820160405280156100f857816020015b60408051606080820183526000825260208083018290529282015282526000199092019101816100cb5790505b509050600061010685610379565b905060006101138261040f565b60ff169050835b6101248587611799565b8110156102c55760008267ffffffffffffffff8111156101465761014661176d565b60405190808252806020026020018201604052801561016f578160200160208202803683370190505b509050821561026a57610182888361042d565b81600081518110610195576101956117b1565b602002602001018181525050600183111561026a576101b488836104f5565b816001815181106101c7576101c76117b1565b602002602001018181525050600283111561026a576101e68883610585565b816002815181106101f9576101f96117b1565b602002602001018181525050600383111561026a576102188883610615565b8160038151811061022b5761022b6117b1565b602002602001018181525050600483111561026a5761024a88836106a5565b8160048151811061025d5761025d6117b1565b6020026020010181815250505b60006102768983610735565b905060405180606001604052808a8152602001838152602001828152508684815181106102a5576102a56117b1565b6020026020010181905250505080806102bd906117c7565b91505061011a565b5050509392505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610308576103086117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526103649101604051602081830303815290604052610354906117e1565b83600061035f6107d8565b610965565b905061037160208261181e565b949350505050565b6000610383610a0a565b156103915761008c82610a88565b6040517fd4285dc200000000000000000000000000000000000000000000000000000000815260048101839052339063d4285dc290602401602060405180830381865afa1580156103e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061008c9190611840565b919050565b600061041a82610ae9565b61042383610afa565b61008c9190611859565b604080516001808252818301909252600091829190602080830190803683370190505090508381600081518110610466576104666117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526104e391016040516020818303038152906040526104b2906117e1565b8360006104bd6107d8565b6104c889602061187e565b6104d38a6001611799565b6104de90602061187e565b610b06565b60208101519091505b95945050505050565b60408051600180825281830190925260009182919060208083019080368337019050509050838160008151811061052e5761052e6117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526104e3910160405160208183030381529060405261057a906117e1565b8360016104bd6107d8565b6040805160018082528183019092526000918291906020808301908036833701905050905083816000815181106105be576105be6117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526104e3910160405160208183030381529060405261060a906117e1565b8360026104bd6107d8565b60408051600180825281830190925260009182919060208083019080368337019050509050838160008151811061064e5761064e6117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526104e3910160405160208183030381529060405261069a906117e1565b8360036104bd6107d8565b6040805160018082528183019092526000918291906020808301908036833701905050905083816000815181106106de576106de6117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526104e3910160405160208183030381529060405261072a906117e1565b8360046104bd6107d8565b606061073f610a0a565b156107555761074e8383610bbf565b905061008c565b6040517fcc49db7e000000000000000000000000000000000000000000000000000000008152339063cc49db7e9061079390869086906004016118d8565b600060405180830381865afa1580156107b0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261074e91908101906118f1565b60408051600580825260c082019092526000918291906020820160a08036833701905050905060c181600081518110610813576108136117b1565b602002602001019060c581111561082c5761082c611993565b908160c581111561083f5761083f611993565b8152505060c181600181518110610858576108586117b1565b602002602001019060c581111561087157610871611993565b908160c581111561088457610884611993565b8152505060c18160028151811061089d5761089d6117b1565b602002602001019060c58111156108b6576108b6611993565b908160c58111156108c9576108c9611993565b8152505060c1816003815181106108e2576108e26117b1565b602002602001019060c58111156108fb576108fb611993565b908160c581111561090e5761090e611993565b8152505060c181600481518110610927576109276117b1565b602002602001019060c581111561094057610940611993565b908160c581111561095357610953611993565b90525061095f81610bd9565b91505090565b600061096f610a0a565b156109875761098085858585610e65565b9050610371565b6040517f9f1fcf0a0000000000000000000000000000000000000000000000000000000081523390639f1fcf0a906109c99088908890889088906004016119a9565b602060405180830381865afa1580156109e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109809190611840565b6000303b808203610a1d57600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b158015610a6357600080fd5b505afa925050508015610a74575060015b610a8057600091505090565b600191505090565b6000610a9382610ed5565b9050610a9e82610faa565b61040a5781610aac83610fc3565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401610ae09291906119d8565b60405180910390fd5b6000601882901b5b60f81c92915050565b6000601082901b610af1565b6060610b10610a0a565b15610b2a57610b23878787878787610fee565b9050610bb5565b6040517fd3a26b06000000000000000000000000000000000000000000000000000000008152339063d3a26b0690610b70908a908a908a908a908a908a906004016119f1565b600060405180830381865afa158015610b8d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b2391908101906118f1565b9695505050505050565b60606000610bcc84611084565b90506103718484836110a0565b6000601c82511115610c1c5781516040517f5318beb9000000000000000000000000000000000000000000000000000000008152600401610ae091815260200190565b60008060008060005b8651811015610d48576000610c63888381518110610c4557610c456117b1565b602002602001015160c5811115610c5e57610c5e611993565b611207565b905061ffff811615610cb9578215610ca7576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83610cb181611a32565b945050610cbe565b600192505b610cc88186611a51565b9450610d3d86610cd9846004611799565b8a8581518110610ceb57610ceb6117b1565b602002602001015160c5811115610d0457610d04611993565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101610c25565b506000828751610d589190611a77565b905060058160ff161115610d9d576040517f5318beb900000000000000000000000000000000000000000000000000000000815260ff82166004820152602401610ae0565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b16175b979650505050505050565b600080610e7183610afa565b90508060ff168460ff161015610eb0576000610e908460ff87166112b8565b9050610ea78160c5811115610c5e57610c5e611993565b92505050610371565b6000610ebc8286611a77565b9050610ea78160ff16610ecf89896112e4565b906112fb565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610f0e57610f0e6117b1565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000928101929092527f736368656d6100000000000000000000000000000000000000000000000000006030830152600091610f9691015b604051602081830303815290604052610f90906117e1565b8361132d565b9050610371610fa6826001611799565b5490565b6000610fbc610fb883611383565b1590565b1592915050565b606081604051602001610fd891815260200190565b6040516020818303038152906040529050919050565b60606000610ffb85610afa565b905061100685610afa565b60ff168660ff161015611045576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006110518288611a77565b905060006110608a8a8461142a565b9050611076816110708888611a9a565b88611483565b9a9950505050505050505050565b600061108f82611383565b90508061040a5781610aac83610fc3565b606060006110ae8360f01c90565b9050806000806110bd86610ae9565b60ff1690508015611108576110d288886112e4565b915060006110e08360c81c90565b1115611108576110f08260c81c90565b6110fb906020611799565b6111059084611799565b92505b60008367ffffffffffffffff8111156111235761112361176d565b6040519080825280601f01601f19166020018201604052801561114d576020820181803683370190505b509050602081016111608a8a88846114e3565b61116a8460c81c90565b60000361117e575094506112009350505050565b6111888682611799565b8481529050611198602082611799565b905060005b838160ff1610156111f65760006111b58c8c8461142a565b905060006111c68760ff85166112fb565b90506111d5828260008761150c565b6111df8185611799565b9350505080806111ee90611a32565b91505061119d565b5090955050505050505b9392505050565b6000808260c581111561121c5761121c611993565b60ff169050602081101561123557611200816001611799565b604081101561125557602061124b826001611799565b6112009190611a9a565b606081101561126b57604061124b826001611799565b60608360c581111561127f5761127f611993565b0361128d5750600192915050565b60618360c58111156112a1576112a1611993565b036112af5750601492915050565b50600092915050565b60006112d0836112c9846004611799565b6008021b90565b60f81c60c581111561120057611200611993565b6000806112f184846115c1565b9050610371815490565b60008061130983600561187e565b611314906007611799565b905061132284826008021b90565b60d81c949350505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9838360405160200161136493929190611ab1565b60408051601f1981840301815291905280516020909101209392505050565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106113bc576113bc6117b1565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000928101929092527f736368656d61000000000000000000000000000000000000000000000000000060308301526000916112f19101610f78565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98484846040516020016114639493929190611ad0565b60408051601f198184030181529190528051602090910120949350505050565b60608267ffffffffffffffff81111561149e5761149e61176d565b6040519080825280601f01601f1916602001820160405280156114c8576020820181803683370190505b509050602081016114db8585858461150c565b509392505050565b81156115065760006114f5858561132d565b9050611504818460008561150c565b505b50505050565b60208204840193506020828161152457611524611808565b06915081156115755760208290036000600019600883021c1990508554600885021b811984511682821617845250818511611560575050611506565b61156b600187611799565b9550509283900392015b6020831061159d578354815261158c600185611799565b9350601f1990920191602001611575565b8215611506576000600019600885021c198251865482169119161782525050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9838360405160200161136493929190611b03565b60006020828403121561160a57600080fd5b5035919050565b60008060006060848603121561162657600080fd5b505081359360208301359350604090920135919050565b60005b83811015611658578181015183820152602001611640565b838111156115065750506000910152565b6000815180845261168181602086016020860161163d565b601f01601f19169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561175e578984037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00186528251805185528881015160608a8701819052815190870181905260808701918b019085905b808210156117315782518452928c0192918c019160019190910190611711565b50505090880151858203868a01529061174a8183611669565b978a019795505050918701916001016116bd565b50919998505050505050505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156117ac576117ac611783565b500190565b634e487b7160e01b600052603260045260246000fd5b600060001982036117da576117da611783565b5060010190565b80516020808301519190811015611802576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052601260045260246000fd5b60008261183b57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561185257600080fd5b5051919050565b600060ff821660ff84168060ff0382111561187657611876611783565b019392505050565b600081600019048311821515161561189857611898611783565b500290565b600081518084526020808501945080840160005b838110156118cd578151875295820195908201906001016118b1565b509495945050505050565b828152604060208201526000610371604083018461189d565b60006020828403121561190357600080fd5b815167ffffffffffffffff8082111561191b57600080fd5b818401915084601f83011261192f57600080fd5b8151818111156119415761194161176d565b604051601f8201601f19908116603f011681019083821181831017156119695761196961176d565b8160405282815287602084870101111561198257600080fd5b610e5a83602083016020880161163d565b634e487b7160e01b600052602160045260246000fd5b8481526080602082015260006119c2608083018661189d565b60ff949094166040830152506060015292915050565b8281526040602082015260006103716040830184611669565b86815260c060208201526000611a0a60c083018861189d565b905060ff861660408301528460608301528360808301528260a0830152979650505050505050565b600060ff821660ff8103611a4857611a48611783565b60010192915050565b600061ffff808316818516808303821115611a6e57611a6e611783565b01949350505050565b600060ff821660ff841680821015611a9157611a91611783565b90039392505050565b600082821015611aac57611aac611783565b500390565b8381528260208201526060604082015260006104ec606083018461189d565b848152836020820152608060408201526000611aef608083018561189d565b905060ff8316606083015295945050505050565b838152826020820152608060408201526000611b22608083018461189d565b8281036060840152600681527f6c656e677468000000000000000000000000000000000000000000000000000060208201526040810191505094935050505056fea164736f6c634300080d000a"; - -type SnapSyncModuleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SnapSyncModuleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SnapSyncModule__factory extends ContractFactory { - constructor(...args: SnapSyncModuleConstructorParams) { - 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): SnapSyncModule { - return super.attach(address) as SnapSyncModule; - } - override connect(signer: Signer): SnapSyncModule__factory { - return super.connect(signer) as SnapSyncModule__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SnapSyncModuleInterface { - return new utils.Interface(_abi) as SnapSyncModuleInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): SnapSyncModule { - return new Contract(address, _abi, signerOrProvider) as SnapSyncModule; - } -} diff --git a/packages/world/types/ethers-contracts/factories/SnapSyncSystem__factory.ts b/packages/world/types/ethers-contracts/factories/SnapSyncSystem__factory.ts deleted file mode 100644 index 5c67490660..0000000000 --- a/packages/world/types/ethers-contracts/factories/SnapSyncSystem__factory.ts +++ /dev/null @@ -1,165 +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 { - SnapSyncSystem, - SnapSyncSystemInterface, -} from "../SnapSyncSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - ], - name: "getNumKeysInTable", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "uint256", - name: "limit", - type: "uint256", - }, - { - internalType: "uint256", - name: "offset", - type: "uint256", - }, - ], - name: "getRecords", - outputs: [ - { - components: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "keyTuple", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "value", - type: "bytes", - }, - ], - internalType: "struct SyncRecord[]", - name: "records", - type: "tuple[]", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b50611b70806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80639604756e1461003b578063dcd5eaae14610061575b600080fd5b61004e6100493660046115f8565b610081565b6040519081526020015b60405180910390f35b61007461006f366004611611565b610092565b6040516100589190611695565b600061008c826102cf565b92915050565b60608267ffffffffffffffff8111156100ad576100ad61176d565b6040519080825280602002602001820160405280156100f857816020015b60408051606080820183526000825260208083018290529282015282526000199092019101816100cb5790505b509050600061010685610379565b905060006101138261040f565b60ff169050835b6101248587611799565b8110156102c55760008267ffffffffffffffff8111156101465761014661176d565b60405190808252806020026020018201604052801561016f578160200160208202803683370190505b509050821561026a57610182888361042d565b81600081518110610195576101956117b1565b602002602001018181525050600183111561026a576101b488836104f5565b816001815181106101c7576101c76117b1565b602002602001018181525050600283111561026a576101e68883610585565b816002815181106101f9576101f96117b1565b602002602001018181525050600383111561026a576102188883610615565b8160038151811061022b5761022b6117b1565b602002602001018181525050600483111561026a5761024a88836106a5565b8160048151811061025d5761025d6117b1565b6020026020010181815250505b60006102768983610735565b905060405180606001604052808a8152602001838152602001828152508684815181106102a5576102a56117b1565b6020026020010181905250505080806102bd906117c7565b91505061011a565b5050509392505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610308576103086117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526103649101604051602081830303815290604052610354906117e1565b83600061035f6107d8565b610965565b905061037160208261181e565b949350505050565b6000610383610a0a565b156103915761008c82610a88565b6040517fd4285dc200000000000000000000000000000000000000000000000000000000815260048101839052339063d4285dc290602401602060405180830381865afa1580156103e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061008c9190611840565b919050565b600061041a82610ae9565b61042383610afa565b61008c9190611859565b604080516001808252818301909252600091829190602080830190803683370190505090508381600081518110610466576104666117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526104e391016040516020818303038152906040526104b2906117e1565b8360006104bd6107d8565b6104c889602061187e565b6104d38a6001611799565b6104de90602061187e565b610b06565b60208101519091505b95945050505050565b60408051600180825281830190925260009182919060208083019080368337019050509050838160008151811061052e5761052e6117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526104e3910160405160208183030381529060405261057a906117e1565b8360016104bd6107d8565b6040805160018082528183019092526000918291906020808301908036833701905050905083816000815181106105be576105be6117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526104e3910160405160208183030381529060405261060a906117e1565b8360026104bd6107d8565b60408051600180825281830190925260009182919060208083019080368337019050509050838160008151811061064e5761064e6117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526104e3910160405160208183030381529060405261069a906117e1565b8360036104bd6107d8565b6040805160018082528183019092526000918291906020808301908036833701905050905083816000815181106106de576106de6117b1565b6020908102919091018101919091526040805160009281018390526a4b657973496e5461626c6560a81b60308201526104e3910160405160208183030381529060405261072a906117e1565b8360046104bd6107d8565b606061073f610a0a565b156107555761074e8383610bbf565b905061008c565b6040517fcc49db7e000000000000000000000000000000000000000000000000000000008152339063cc49db7e9061079390869086906004016118d8565b600060405180830381865afa1580156107b0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261074e91908101906118f1565b60408051600580825260c082019092526000918291906020820160a08036833701905050905060c181600081518110610813576108136117b1565b602002602001019060c581111561082c5761082c611993565b908160c581111561083f5761083f611993565b8152505060c181600181518110610858576108586117b1565b602002602001019060c581111561087157610871611993565b908160c581111561088457610884611993565b8152505060c18160028151811061089d5761089d6117b1565b602002602001019060c58111156108b6576108b6611993565b908160c58111156108c9576108c9611993565b8152505060c1816003815181106108e2576108e26117b1565b602002602001019060c58111156108fb576108fb611993565b908160c581111561090e5761090e611993565b8152505060c181600481518110610927576109276117b1565b602002602001019060c581111561094057610940611993565b908160c581111561095357610953611993565b90525061095f81610bd9565b91505090565b600061096f610a0a565b156109875761098085858585610e65565b9050610371565b6040517f9f1fcf0a0000000000000000000000000000000000000000000000000000000081523390639f1fcf0a906109c99088908890889088906004016119a9565b602060405180830381865afa1580156109e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109809190611840565b6000303b808203610a1d57600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b158015610a6357600080fd5b505afa925050508015610a74575060015b610a8057600091505090565b600191505090565b6000610a9382610ed5565b9050610a9e82610faa565b61040a5781610aac83610fc3565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401610ae09291906119d8565b60405180910390fd5b6000601882901b5b60f81c92915050565b6000601082901b610af1565b6060610b10610a0a565b15610b2a57610b23878787878787610fee565b9050610bb5565b6040517fd3a26b06000000000000000000000000000000000000000000000000000000008152339063d3a26b0690610b70908a908a908a908a908a908a906004016119f1565b600060405180830381865afa158015610b8d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b2391908101906118f1565b9695505050505050565b60606000610bcc84611084565b90506103718484836110a0565b6000601c82511115610c1c5781516040517f5318beb9000000000000000000000000000000000000000000000000000000008152600401610ae091815260200190565b60008060008060005b8651811015610d48576000610c63888381518110610c4557610c456117b1565b602002602001015160c5811115610c5e57610c5e611993565b611207565b905061ffff811615610cb9578215610ca7576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83610cb181611a32565b945050610cbe565b600192505b610cc88186611a51565b9450610d3d86610cd9846004611799565b8a8581518110610ceb57610ceb6117b1565b602002602001015160c5811115610d0457610d04611993565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101610c25565b506000828751610d589190611a77565b905060058160ff161115610d9d576040517f5318beb900000000000000000000000000000000000000000000000000000000815260ff82166004820152602401610ae0565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b16175b979650505050505050565b600080610e7183610afa565b90508060ff168460ff161015610eb0576000610e908460ff87166112b8565b9050610ea78160c5811115610c5e57610c5e611993565b92505050610371565b6000610ebc8286611a77565b9050610ea78160ff16610ecf89896112e4565b906112fb565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610f0e57610f0e6117b1565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000928101929092527f736368656d6100000000000000000000000000000000000000000000000000006030830152600091610f9691015b604051602081830303815290604052610f90906117e1565b8361132d565b9050610371610fa6826001611799565b5490565b6000610fbc610fb883611383565b1590565b1592915050565b606081604051602001610fd891815260200190565b6040516020818303038152906040529050919050565b60606000610ffb85610afa565b905061100685610afa565b60ff168660ff161015611045576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006110518288611a77565b905060006110608a8a8461142a565b9050611076816110708888611a9a565b88611483565b9a9950505050505050505050565b600061108f82611383565b90508061040a5781610aac83610fc3565b606060006110ae8360f01c90565b9050806000806110bd86610ae9565b60ff1690508015611108576110d288886112e4565b915060006110e08360c81c90565b1115611108576110f08260c81c90565b6110fb906020611799565b6111059084611799565b92505b60008367ffffffffffffffff8111156111235761112361176d565b6040519080825280601f01601f19166020018201604052801561114d576020820181803683370190505b509050602081016111608a8a88846114e3565b61116a8460c81c90565b60000361117e575094506112009350505050565b6111888682611799565b8481529050611198602082611799565b905060005b838160ff1610156111f65760006111b58c8c8461142a565b905060006111c68760ff85166112fb565b90506111d5828260008761150c565b6111df8185611799565b9350505080806111ee90611a32565b91505061119d565b5090955050505050505b9392505050565b6000808260c581111561121c5761121c611993565b60ff169050602081101561123557611200816001611799565b604081101561125557602061124b826001611799565b6112009190611a9a565b606081101561126b57604061124b826001611799565b60608360c581111561127f5761127f611993565b0361128d5750600192915050565b60618360c58111156112a1576112a1611993565b036112af5750601492915050565b50600092915050565b60006112d0836112c9846004611799565b6008021b90565b60f81c60c581111561120057611200611993565b6000806112f184846115c1565b9050610371815490565b60008061130983600561187e565b611314906007611799565b905061132284826008021b90565b60d81c949350505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9838360405160200161136493929190611ab1565b60408051601f1981840301815291905280516020909101209392505050565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106113bc576113bc6117b1565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000928101929092527f736368656d61000000000000000000000000000000000000000000000000000060308301526000916112f19101610f78565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98484846040516020016114639493929190611ad0565b60408051601f198184030181529190528051602090910120949350505050565b60608267ffffffffffffffff81111561149e5761149e61176d565b6040519080825280601f01601f1916602001820160405280156114c8576020820181803683370190505b509050602081016114db8585858461150c565b509392505050565b81156115065760006114f5858561132d565b9050611504818460008561150c565b505b50505050565b60208204840193506020828161152457611524611808565b06915081156115755760208290036000600019600883021c1990508554600885021b811984511682821617845250818511611560575050611506565b61156b600187611799565b9550509283900392015b6020831061159d578354815261158c600185611799565b9350601f1990920191602001611575565b8215611506576000600019600885021c198251865482169119161782525050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9838360405160200161136493929190611b03565b60006020828403121561160a57600080fd5b5035919050565b60008060006060848603121561162657600080fd5b505081359360208301359350604090920135919050565b60005b83811015611658578181015183820152602001611640565b838111156115065750506000910152565b6000815180845261168181602086016020860161163d565b601f01601f19169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561175e578984037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00186528251805185528881015160608a8701819052815190870181905260808701918b019085905b808210156117315782518452928c0192918c019160019190910190611711565b50505090880151858203868a01529061174a8183611669565b978a019795505050918701916001016116bd565b50919998505050505050505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156117ac576117ac611783565b500190565b634e487b7160e01b600052603260045260246000fd5b600060001982036117da576117da611783565b5060010190565b80516020808301519190811015611802576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052601260045260246000fd5b60008261183b57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561185257600080fd5b5051919050565b600060ff821660ff84168060ff0382111561187657611876611783565b019392505050565b600081600019048311821515161561189857611898611783565b500290565b600081518084526020808501945080840160005b838110156118cd578151875295820195908201906001016118b1565b509495945050505050565b828152604060208201526000610371604083018461189d565b60006020828403121561190357600080fd5b815167ffffffffffffffff8082111561191b57600080fd5b818401915084601f83011261192f57600080fd5b8151818111156119415761194161176d565b604051601f8201601f19908116603f011681019083821181831017156119695761196961176d565b8160405282815287602084870101111561198257600080fd5b610e5a83602083016020880161163d565b634e487b7160e01b600052602160045260246000fd5b8481526080602082015260006119c2608083018661189d565b60ff949094166040830152506060015292915050565b8281526040602082015260006103716040830184611669565b86815260c060208201526000611a0a60c083018861189d565b905060ff861660408301528460608301528360808301528260a0830152979650505050505050565b600060ff821660ff8103611a4857611a48611783565b60010192915050565b600061ffff808316818516808303821115611a6e57611a6e611783565b01949350505050565b600060ff821660ff841680821015611a9157611a91611783565b90039392505050565b600082821015611aac57611aac611783565b500390565b8381528260208201526060604082015260006104ec606083018461189d565b848152836020820152608060408201526000611aef608083018561189d565b905060ff8316606083015295945050505050565b838152826020820152608060408201526000611b22608083018461189d565b8281036060840152600681527f6c656e677468000000000000000000000000000000000000000000000000000060208201526040810191505094935050505056fea164736f6c634300080d000a"; - -type SnapSyncSystemConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SnapSyncSystemConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SnapSyncSystem__factory extends ContractFactory { - constructor(...args: SnapSyncSystemConstructorParams) { - 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): SnapSyncSystem { - return super.attach(address) as SnapSyncSystem; - } - override connect(signer: Signer): SnapSyncSystem__factory { - return super.connect(signer) as SnapSyncSystem__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SnapSyncSystemInterface { - return new utils.Interface(_abi) as SnapSyncSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): SnapSyncSystem { - return new Contract(address, _abi, signerOrProvider) as SnapSyncSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/StoreCore__factory.ts b/packages/world/types/ethers-contracts/factories/StoreCore__factory.ts deleted file mode 100644 index 400f32a540..0000000000 --- a/packages/world/types/ethers-contracts/factories/StoreCore__factory.ts +++ /dev/null @@ -1,160 +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 { StoreCore, StoreCoreInterface } from "../StoreCore"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type StoreCoreConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreCoreConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreCore__factory extends ContractFactory { - constructor(...args: StoreCoreConstructorParams) { - 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): StoreCore { - return super.attach(address) as StoreCore; - } - override connect(signer: Signer): StoreCore__factory { - return super.connect(signer) as StoreCore__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreCoreInterface { - return new utils.Interface(_abi) as StoreCoreInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreCore { - return new Contract(address, _abi, signerOrProvider) as StoreCore; - } -} diff --git a/packages/world/types/ethers-contracts/factories/StoreRead__factory.ts b/packages/world/types/ethers-contracts/factories/StoreRead__factory.ts deleted file mode 100644 index afd0e1a7a0..0000000000 --- a/packages/world/types/ethers-contracts/factories/StoreRead__factory.ts +++ /dev/null @@ -1,376 +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 { StoreRead, StoreReadInterface } from "../StoreRead"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60806040523480156200001157600080fd5b50620000276200002d60201b620002511760201c565b620027cf565b60408051676d756473746f726560c01b602082015265736368656d6160d01b6030820152620000a69101604051602081830303815290604052620000719062002273565b62000089605f806200024c60201b6200042c1760201c565b620000a0605f6200031d60201b620004e11760201c565b620003a0565b620000bb6200044160201b620005591760201c565b620000d0620004ab60201b620005ae1760201c565b620000e56200050060201b6200060e1760201c565b620000fa6200056e60201b6200066b1760201c565b60408051600280825260608201909252600091816020015b6060815260200190600190039081620001125790505090506040518060400160405280600b81526020016a76616c7565536368656d6160a81b81525081600081518110620001645762000164620022b1565b6020026020010181905250604051806040016040528060098152602001686b6579536368656d6160b81b81525081600181518110620001a757620001a7620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b603082015281518082039093018352810190526200024990620001f79062002273565b60405180604001604052806006815260200165736368656d6160d01b8152508360405160200162000229919062002380565b604051602081830303815290604052620005b860201b620006c11760201c565b50565b604080516002808252606082018352600092839291906020830190803683370190505090508381600081518110620002885762000288620022b1565b602002602001019060c5811115620002a457620002a462002395565b908160c5811115620002ba57620002ba62002395565b815250508281600181518110620002d557620002d5620022b1565b602002602001019060c5811115620002f157620002f162002395565b908160c581111562000307576200030762002395565b905250620003158162000674565b949350505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110620003595762000359620022b1565b602002602001019060c581111562000375576200037562002395565b908160c58111156200038b576200038b62002395565b905250620003998162000674565b9392505050565b620003bb6000836200085660201b620007791790919060201c565b620003d66001826200085660201b620007791790919060201c565b620003e18362000a51565b15620004245782620003fe8462000a8560201b620009541760201c565b60405163051eeee360e21b81526004016200041b929190620023ab565b60405180910390fd5b6200043c83838362000ab160201b6200097f1760201c565b505050565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b6030820152620004a99101604051602081830303815290604052620004849062002273565b6200048e62000c55565b6200049862000ce4565b62000d2160201b62000ad11760201c565b565b60408051676d756473746f726560c01b60208201526c53746f72654d6574616461746160981b6030820152620004a99101604051602081830303815290604052620004f69062002273565b6200048e62000db0565b6000806200050d62000e3b565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b60308201529294509092506200056a91015b604051602081830303815290604052620005579062002273565b838362000ed760201b62000b6c1760201c565b5050565b6000806200057b62000f28565b60408051676d756473746f726560c01b60208201526c53746f72654d6574616461746160981b60308201529294509092506200056a91016200053d565b6000620005c6838362001026565b60408051600180825281830190925291925060009190602080830190803683370190505090508481600081518110620006035762000603620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b818401526c53746f72654d6574616461746160981b603082015281518082039093018352810190526200066d906200065a9062002273565b82846200111260201b62000bc41760201c565b5050505050565b6000601c82511115620006a0578151604051635318beb960e01b81526004016200041b91815260200190565b60008060008060005b8651811015620007b3576000620006fb888381518110620006ce57620006ce620022b1565b602002602001015160c5811115620006ea57620006ea62002395565b6200116360201b62000c1c1760201c565b905061ffff8116156200073d5782156200072857604051633c795af960e21b815260040160405180910390fd5b836200073481620023dc565b94505062000742565b600192505b6200074e8186620023fe565b9450620007a7866200076284600462002427565b8a8581518110620007775762000777620022b1565b602002602001015160c581111562000793576200079362002395565b60f81b6200122a60201b62000ccd1760201c565b955050600101620006a9565b506000828751620007c5919062002442565b905060058160ff161115620007f357604051635318beb960e01b815260ff821660048201526024016200041b565b6200080f8560008660f01b6200126060201b62000d031760201c565b94506200082d8560028560f81b6200122a60201b62000ccd1760201c565b94506200084b8560038360f81b6200122a60201b62000ccd1760201c565b979650505050505050565b8015801562000876575062000876826200127e60201b62000d391760201c565b156200089957604051635318beb960e01b8152600060048201526024016200041b565b6000620008b1836200128260201b62000d3d1760201c565b60ff1690506005811115620008dd57604051635318beb960e01b8152600481018290526024016200041b565b6000620008f584620012a560201b62000d4e1760201c565b60ff169050601c62000908838362002427565b111562000938576200091b828262002427565b604051635318beb960e01b81526004016200041b91815260200190565b60008060005b6200094a858562002427565b811015620009fe5760006200098662000972838a620012bf60201b62000d5a1790919060201c565b60c5811115620006ea57620006ea62002395565b1115620009c357838110620009ae57604051633c795af960e21b815260040160405180910390fd5b82620009ba8162002468565b935050620009f5565b83811015620009e557604051633c795af960e21b815260040160405180910390fd5b81620009f18162002468565b9250505b6001016200093e565b5082821462000a2457604051635318beb960e01b8152600481018390526024016200041b565b83811462000a4957604051635318beb960e01b8152600481018290526024016200041b565b505050505050565b600062000a7e62000a6d83620012fb60201b62000d861760201c565b6200127e60201b62000d391760201c565b1592915050565b60608160405160200162000a9b91815260200190565b6040516020818303038152906040529050919050565b60408051600180825281830190925260009160208083019080368337019050509050838160008151811062000aea5762000aea620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b6030820152815180820390930183528101905260009062000b449062000b3d9062002273565b83620013b4565b905062000b728162000b6186620013fb60201b62000e0b1760201c565b620013fe60201b62000a1b1760201c565b62000b9962000b8382600162002427565b62000b6185620013fb60201b62000e0b1760201c565b60408051676d756473746f726560c01b602082015265736368656d6160d01b603082015260008051602062005515833981519152910160405160208183030381529060405262000be99062002273565b8362000c0087620013fb60201b62000e0b1760201c565b62000c1687620013fb60201b62000e0b1760201c565b60408051602081019390935282015260600160408051601f198184030181529082905262000c46939291620024c1565b60405180910390a15050505050565b6040805160018082528183019092526000918291906020808301908036833701905050905060c38160008151811062000c925762000c92620022b1565b602002602001019060c581111562000cae5762000cae62002395565b908160c581111562000cc45762000cc462002395565b8152505062000cde816200067460201b62000e0e1760201c565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050605f8160008151811062000c925762000c92620022b1565b62000d2b62001402565b1562000d49576200043c838383620003a060201b6200105c1760201c565b604051636ac99b4360e11b8152600481018490526024810183905260448101829052339063d5933686906064015b600060405180830381600087803b15801562000d9257600080fd5b505af115801562000da7573d6000803e3d6000fd5b50505050505050565b6040805160028082526060820183526000928392919060208301908036833701905050905060c58160008151811062000ded5762000ded620022b1565b602002602001019060c581111562000e095762000e0962002395565b908160c581111562000e1f5762000e1f62002395565b8152505060c48160018151811062000c925762000c92620022b1565b6040805160018082528183019092526060918291600091816020015b606081526020019060019003908162000e575790505090506040518060400160405280600581526020016476616c756560d81b8152508160008151811062000ea35762000ea3620022b1565b60200260200101819052508060405180604001604052806005815260200164486f6f6b7360d81b8152509092509250509091565b62000ee162001402565b1562000eff576200043c8383836200147760201b620010c91760201c565b60405163fe86a89f60e01b8152339063fe86a89f9062000d7790869086908690600401620024fa565b60408051600280825260608281019093528291600091816020015b606081526020019060019003908162000f43579050509050604051806040016040528060098152602001687461626c654e616d6560b81b8152508160008151811062000f935762000f93620022b1565b60200260200101819052506040518060400160405280601481526020017f616269456e636f6465644669656c644e616d65730000000000000000000000008152508160018151811062000fea5762000fea620022b1565b6020026020010181905250806040518060400160405280600d81526020016c53746f72654d6574616461746160981b8152509092509250509091565b60408051600280825260608083018452926000929190602083019080368337019050509050835181600081518110620010635762001063620022b1565b602002602001019064ffffffffff16908164ffffffffff1681525050825181600181518110620010975762001097620022b1565b602002602001019064ffffffffff16908164ffffffffff16815250506000620010cb826200151060201b620011591760201c565b9050620010e381620013fb60201b62000e0b1760201c565b8585604051602001620010f99392919062002529565b6040516020818303038152906040529250505092915050565b6200111c62001402565b156200113a576200043c838383620015cc60201b620012361760201c565b604051638ed41f2f60e01b81523390638ed41f2f9062000d7790869086908690600401620024c1565b6000808260c58111156200117b576200117b62002395565b60ff169050602081101562001197576200039981600162002427565b6040811015620011bc576020620011b082600162002427565b6200039991906200256a565b6060811015620011d5576040620011b082600162002427565b60608360c5811115620011ec57620011ec62002395565b03620011fb5750600192915050565b60618360c581111562001212576200121262002395565b03620012215750601492915050565b50600092915050565b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c6001600160f01b031990911c198416179392505050565b1590565b60006200129c8260036200185a60201b62000d6b1760201c565b60f81c92915050565b60006200129c8260026200185a60201b62000d6b1760201c565b6000620012e483620012d384600462002427565b6200185a60201b62000d6b1760201c565b60f81c60c581111562000399576200039962002395565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110620013375762001337620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b603082015281518082039093018352810190526000906200139c906200138a9062002273565b83620013b460201b620014171760201c565b905062000315816200186160201b6200146d1760201c565b6000600080516020620054f58339815191528383604051602001620013dc9392919062002584565b60408051601f1981840301815291905280516020909101209392505050565b90565b9055565b6000303b8082036200141657600191505090565b306001600160a01b031663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b1580156200145057600080fd5b505afa92505050801562001462575060015b6200146f57600091505090565b600191505090565b6000620014848462001865565b9050815160001480620014af5750620014a881620018d460201b620014711760201c565b60ff168251145b620014f157620014ca81620018d460201b620014711760201c565b825160405163f2b2755960e01b815260ff909216600483015260248201526044016200041b565b6200150a84848460405160200162000229919062002380565b50505050565b6000806000805b8451811015620015af57620015718362001533836005620025a5565b6200154090600762002427565b878481518110620015555762001555620022b1565b602002602001015160d81b620018fe60201b6200148f1760201c565b9250848181518110620015885762001588620022b1565b602002602001015164ffffffffff1682620015a49190620025c7565b915060010162001517565b50620003158260008360c81b6200191c60201b620014c51760201c565b6000620015d98462001865565b9050600080620015f583856200193a60201b620014fb1760201c565b91509150600080516020620055158339815191528686866040516200161d93929190620024c1565b60405180910390a160006200163d87620019ff60201b620015991760201c565b905060005b8151811015620016ea576000828281518110620016635762001663620022b1565b60200260200101519050806001600160a01b03166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016200169f93929190620024c1565b600060405180830381600087803b158015620016ba57600080fd5b505af1158015620016cf573d6000803e3d6000fd5b50505050508080620016e19062002468565b91505062001642565b506000620017048888620013b460201b620014171760201c565b905060006200171e8762001ad360201b620016411760201c565b90506200173a826000838862001ad960201b620016471760201c565b6200174785602062002427565b62001753908262002427565b90506200176b866200128260201b62000d3d1760201c565b60ff166000036200178157505050505050505050565b60006200179a8a8a62001bc160201b620017051760201c565b9050620017b78162000b6187620013fb60201b62000e0b1760201c565b60008060005b620017d38a6200128260201b62000d3d1760201c565b60ff168160ff1610156200184b57620017f98d8d8362001be960201b6200173c1760201c565b9250620018188160ff168962001c3360201b620017951790919060201c565b915062001834836000878562001ad960201b620016471760201c565b62001840828662002427565b9450600101620017bd565b50505050505050505050505050565b6008021b90565b5490565b60006200187d82620012fb60201b62000d861760201c565b905062001895816200127e60201b62000d391760201c565b15620018cf5781620018b28362000a8560201b620009541760201c565b60405163d623a70d60e01b81526004016200041b929190620023ab565b919050565b6000620018e18262001282565b620018ec83620012a5565b620018f89190620025ec565b92915050565b6008820281811c6001600160d81b031990911c198416179392505050565b6008820281811c6001600160c81b031990911c198416179392505050565b600080620019538462001c7460201b620017c71760201c565b91506000829050600062001972866200128260201b62000d3d1760201c565b60ff161115620019c75762001993848462001c7a60201b620017cd1760201c565b9150620019ab8262001c8260201b620017d51760201c565b620019b890602062002427565b620019c4908262002427565b90505b83518114620019f757835160405163521b3d3360e01b81526200041b918391600401918252602082015260400190565b509250929050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811062001a3c5762001a3c620022b1565b60209081029190910181019190915260408051676d756473746f726560c01b8184015264486f6f6b7360d81b6030820152815180820390930183528101905260009062001aa29062001a8e9062002273565b83600062001c8860201b620017db1760201c565b90506200031562001ac2826000845162001d2b60201b620018811760201c565b62001da160201b620019111760201c565b60200190565b60208304840193506020838162001af45762001af462002614565b069250821562001b62576000836020039050600062001b1e8362001dbf60201b620019221760201c565b90506008850281811c91508451811c905081198754168282161787555081831162001b4b5750506200150a565b62001b5860018762002427565b9550509182019190035b6020811062001b8f578151845562001b7c60018562002427565b935060209190910190601f190162001b62565b80156200150a57600062001bae8262001dbf60201b620019221760201c565b8554845182169119161785555050505050565b6000600080516020620054f58339815191528383604051602001620013dc939291906200262a565b6000600080516020620054f583398151915284848460405160200162001c13949392919062002675565b60408051601f198184030181529190528051602090910120949350505050565b60008062001c43836005620025a5565b62001c5090600762002427565b905062001c6984826200185a60201b62000d6b1760201c565b60d81c949350505050565b60f01c90565b016020015190565b60c81c90565b606062001c9462001402565b1562001cba5762001cb284848462001dcc60201b6200192f1760201c565b905062000399565b60405163340fb6e360e21b8152339063d03edb8c9062001ce390879087908790600401620026aa565b600060405180830381865afa15801562001d01573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001cb29190810190620026d8565b600081831115801562001d3f575083518211155b62001d65578383836040516323230fa360e01b81526004016200041b9392919062002785565b6020840162001d75848262002427565b9050600062001d8585856200256a565b6001600160801b031660809290921b9190911795945050505050565b6060600062000399836014600062001df460201b6200194a1760201c565b60001960089091021c1990565b6060600062001ddb8562001865565b905062001deb8585858462001f3f565b95945050505050565b6060600062001e0e8562001f9f60201b62001a8d1760201c565b9050600062001e288662001fa560201b62001a931760201c565b905060008462001e535762001e3f866008620025a5565b62001e4d906101006200256a565b62001e56565b60005b9050600086838162001e6c5762001e6c62002614565b04905062001e7b8784620027ac565b1562001ef05760405162461bcd60e51b815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a6500000060648201526084016200041b565b602080820201604051955080860160405250808552600060208601855b8383101562001f31578051851c825260019290920191602090910190890162001f0d565b505050505050509392505050565b606062001f5782620012a560201b62000d4e1760201c565b60ff168360ff16101562001f865762001f7e8585858562001fb160201b62001aa81760201c565b905062000315565b62001f7e858585856200203660201b62001b081760201c565b60801c90565b6001600160801b031690565b6060600062001fd28460ff1684620012bf60201b62000d5a1790919060201c565b9050600062001fef8260c5811115620006ea57620006ea62002395565b9050600062001fff8888620013b4565b905060006200200f8688620020be565b9050620020298284836200211860201b62001b611760201c565b9998505050505050505050565b606060006200205083620012a560201b62000d4e1760201c565b6200205c908562002442565b905060006200206d87878462001be9565b905060006200209960ff8416620020858a8a62002175565b62001c3360201b620017951790919060201c565b9050620020b282826200218460201b62001bc11760201c565b98975050505050505050565b600080805b8360ff168110156200211057620020ed620009728287620012bf60201b62000d5a1790919060201c565b620020f9908362002427565b915080620021078162002468565b915050620020c3565b509392505050565b6060826001600160401b038111156200213557620021356200229b565b6040519080825280601f01601f19166020018201604052801562002160576020820181803683370190505b50905060208101620021108585858462002194565b6000806200139c848462001bc1565b6060620003998383600062002118565b602082048401935060208281620021af57620021af62002614565b0691508115620022155760008260200390506000620021d98262001dbf60201b620019221760201c565b90508554600885021b811984511682821617845250818511620021fe5750506200150a565b6200220b60018762002427565b9550509283900392015b602083106200224157835481526200222f60018562002427565b9350601f199092019160200162002215565b82156200150a576000620022608462001dbf60201b620019221760201c565b8251865482169119161782525050505050565b8051602080830151919081101562002295576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b83811015620022e4578181015183820152602001620022ca565b838111156200150a5750506000910152565b6000815180845262002310816020860160208601620022c7565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b848110156200237357601f1986840301895262002360838351620022f6565b9884019892509083019060010162002341565b5090979650505050505050565b60208152600062000399602083018462002324565b634e487b7160e01b600052602160045260246000fd5b828152604060208201526000620003156040830184620022f6565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8103620023f557620023f5620023c6565b60010192915050565b600061ffff8083168185168083038211156200241e576200241e620023c6565b01949350505050565b600082198211156200243d576200243d620023c6565b500190565b600060ff821660ff8416808210156200245f576200245f620023c6565b90039392505050565b6000600182016200247d576200247d620023c6565b5060010190565b600081518084526020808501945080840160005b83811015620024b65781518752958201959082019060010162002498565b509495945050505050565b838152606060208201526000620024dc606083018562002484565b8281036040840152620024f08185620022f6565b9695505050505050565b838152606060208201526000620025156060830185620022f6565b8281036040840152620024f0818562002324565b8381526000835162002543816020850160208801620022c7565b808301905083516200255d816020840160208801620022c7565b0160200195945050505050565b6000828210156200257f576200257f620023c6565b500390565b83815282602082015260606040820152600062001deb606083018462002484565b6000816000190483118215151615620025c257620025c2620023c6565b500290565b600066ffffffffffffff8083168185168083038211156200241e576200241e620023c6565b600060ff821660ff84168060ff038211156200260c576200260c620023c6565b019392505050565b634e487b7160e01b600052601260045260246000fd5b8381528260208201526080604082015260006200264b608083018462002484565b828103606084015260068152650d8cadccee8d60d31b602082015260408101915050949350505050565b84815283602082015260806040820152600062002696608083018562002484565b905060ff8316606083015295945050505050565b838152606060208201526000620026c5606083018562002484565b905060ff83166040830152949350505050565b600060208284031215620026eb57600080fd5b81516001600160401b03808211156200270357600080fd5b818401915084601f8301126200271857600080fd5b8151818111156200272d576200272d6200229b565b604051601f8201601f19908116603f011681019083821181831017156200275857620027586200229b565b816040528281528760208487010111156200277257600080fd5b6200084b836020830160208801620022c7565b6060815260006200279a6060830186620022f6565b60208301949094525060400152919050565b600082620027ca57634e487b7160e01b600052601260045260246000fd5b500690565b612d1680620027df6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063cc49db7e1161005b578063cc49db7e146100ec578063d03edb8c146100ff578063d3a26b0614610112578063d4285dc21461012557600080fd5b8063419b58fd1461008d5780639f1fcf0a146100b6578063a2ea7c6e146100d7578063a5c2f007146100ea575b600080fd5b6100a061009b366004612544565b610138565b6040516100ad91906125ef565b60405180910390f35b6100c96100c43660046126cf565b610182565b6040519081526020016100ad565b6100c96100e536600461272e565b610198565b005b6100a06100fa366004612747565b6101ab565b6100a061010d366004612793565b6101ea565b6100a06101203660046127f1565b61022b565b6100c961013336600461272e565b610246565b606061017985858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250879250611bcf915050565b95945050505050565b600061017985858585611d34565b949350505050565b60006101a382611d9e565b92915050565b565b606061019084848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611df392505050565b60606101798585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525087925061192f915050565b606061023b878787878787611e0d565b979650505050505050565b60006101a382611ea3565b60408051676d756473746f726560c01b602082015265736368656d6160d01b60308201526102ac910160405160208183030381529060405261029290612864565b61029d605f8061042c565b6102a7605f6104e1565b61105c565b6102b4610559565b6102bc6105ae565b6102c461060e565b6102cc61066b565b60408051600280825260608201909252600091816020015b60608152602001906001900390816102e45790505090506040518060400160405280600b81526020017f76616c7565536368656d61000000000000000000000000000000000000000000815250816000815181106103445761034461288b565b60200260200101819052506040518060400160405280600981526020017f6b6579536368656d610000000000000000000000000000000000000000000000815250816001815181106103985761039861288b565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b60308201528151808203909301835281019052610429906103e590612864565b60405180604001604052806006815260200165736368656d6160d01b8152508360405160200161041591906128f3565b6040516020818303038152906040526106c1565b50565b6040805160028082526060820183526000928392919060208301908036833701905050905083816000815181106104655761046561288b565b602002602001019060c581111561047e5761047e612906565b908160c581111561049157610491612906565b8152505082816001815181106104a9576104a961288b565b602002602001019060c58111156104c2576104c2612906565b908160c58111156104d5576104d5612906565b90525061019081610e0e565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061051a5761051a61288b565b602002602001019060c581111561053357610533612906565b908160c581111561054657610546612906565b90525061055281610e0e565b9392505050565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b60308201526101a9910160405160208183030381529060405261059990612864565b6105a1611ec7565b6105a9611f3f565b610ad1565b60408051676d756473746f726560c01b60208201527f53746f72654d657461646174610000000000000000000000000000000000000060308201526101a9910160405160208183030381529060405261060690612864565b6105a1611f79565b600080610619611ff8565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b603082015292945090925061066791015b60405160208183030381529060405261066090612864565b8383610b6c565b5050565b6000806106766120a8565b60408051676d756473746f726560c01b60208201527f53746f72654d657461646174610000000000000000000000000000000000000060308201529294509092506106679101610648565b60006106cd83836121c3565b604080516001808252818301909252919250600091906020808301908036833701905050905084816000815181106107075761070761288b565b60209081029190910181019190915260408051676d756473746f726560c01b818401527f53746f72654d6574616461746100000000000000000000000000000000000000603082015281518082039093018352810190526107729061076b90612864565b8284610bc4565b5050505050565b80158015610785575081155b156107ab57604051635318beb960e01b8152600060048201526024015b60405180910390fd5b60006107b683610d3d565b60ff16905060058111156107e057604051635318beb960e01b8152600481018290526024016107a2565b60006107eb84610d4e565b60ff169050601c6107fc8383612932565b11156108285761080c8282612932565b604051635318beb960e01b81526004016107a291815260200190565b60008060005b6108388585612932565b81101561090557600061086461084e8984610d5a565b60c581111561085f5761085f612906565b610c1c565b11156108b5578381106108a3576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826108ad8161294a565b9350506108fd565b838110156108ef576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816108f98161294a565b9250505b60010161082e565b5082821461092957604051635318beb960e01b8152600481018390526024016107a2565b83811461094c57604051635318beb960e01b8152600481018290526024016107a2565b505050505050565b60608160405160200161096991815260200190565b6040516020818303038152906040529050919050565b6040805160018082528183019092526000916020808301908036833701905050905083816000815181106109b5576109b561288b565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b6030830152600091610a1191015b604051602081830303815290604052610a0b90612864565b83611417565b8481559050610a1f565b9055565b610a32610a2d826001612932565b849055565b60408051676d756473746f726560c01b602082015265736368656d6160d01b60308201527f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee329101604051602081830303815290604052610a9190612864565b83868660408051602081019390935282015260600160408051601f1981840301815290829052610ac293929161299f565b60405180910390a15050505050565b610ad9612285565b15610aee57610ae983838361105c565b505050565b6040517fd5933686000000000000000000000000000000000000000000000000000000008152600481018490526024810183905260448101829052339063d5933686906064015b600060405180830381600087803b158015610b4f57600080fd5b505af1158015610b63573d6000803e3d6000fd5b50505050505050565b610b74612285565b15610b8457610ae98383836110c9565b6040517ffe86a89f000000000000000000000000000000000000000000000000000000008152339063fe86a89f90610b35908690869086906004016129d4565b610bcc612285565b15610bdc57610ae9838383611236565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f90610b359086908690869060040161299f565b6000808260c5811115610c3157610c31612906565b60ff1690506020811015610c4a57610552816001612932565b6040811015610c6a576020610c60826001612932565b61055291906129ff565b6060811015610c80576040610c60826001612932565b60608360c5811115610c9457610c94612906565b03610ca25750600192915050565b60618360c5811115610cb657610cb6612906565b03610cc45750601492915050565b50600092915050565b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c7fffff00000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b1590565b6000601882901b5b60f81c92915050565b6000601082901b610d45565b6000610d7283610d6b846004612932565b6008021b90565b60f81c60c581111561055257610552612906565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610dbf57610dbf61288b565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b6030830152600091610e0191016109f3565b9050610190815490565b90565b6000601c82511115610e38578151604051635318beb960e01b81526004016107a291815260200190565b60008060008060005b8651811015610f5f576000610e7a888381518110610e6157610e6161288b565b602002602001015160c581111561085f5761085f612906565b905061ffff811615610ed0578215610ebe576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83610ec881612a16565b945050610ed5565b600192505b610edf8186612a35565b9450610f5486610ef0846004612932565b8a8581518110610f0257610f0261288b565b602002602001015160c5811115610f1b57610f1b612906565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101610e41565b506000828751610f6f9190612a5b565b905060058160ff161115610f9b57604051635318beb960e01b815260ff821660048201526024016107a2565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b161761023b565b611067826000610779565b611072816001610779565b61107b83612303565b156110be578261108a84610954565b6040517f147bbb8c0000000000000000000000000000000000000000000000000000000081526004016107a2929190612a7e565b610ae983838361097f565b60006110d484611d9e565b90508151600014806110f157506110ea81611471565b60ff168251145b61113d576110fe81611471565b82516040517ff2b2755900000000000000000000000000000000000000000000000000000000815260ff909216600483015260248201526044016107a2565b61115384848460405160200161041591906128f3565b50505050565b6000806000805b845181101561120e576111d683611178836005612a97565b611183906007612932565b8784815181106111955761119561288b565b602002602001015160d81b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b92508481815181106111ea576111ea61288b565b602002602001015164ffffffffff16826112049190612ab6565b9150600101611160565b5078ffffffffffffffffffffffffffffffffffffffffffffffffff821660c882901b17610190565b600061124184611d9e565b905060008061125083856114fb565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee328686866040516112879392919061299f565b60405180910390a1600061129a87611599565b905060005b81518110156113495760008282815181106112bc576112bc61288b565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016113039392919061299f565b600060405180830381600087803b15801561131d57600080fd5b505af1158015611331573d6000803e3d6000fd5b505050505080806113419061294a565b91505061129f565b5060006113568888611417565b9050602086016113698260008388611647565b611374856020612932565b61137e9082612932565b905061138986610d3d565b60ff1660000361139e57505050505050505050565b60006113aa8a8a611705565b858155905060008060005b6113be8a610d3d565b60ff168160ff161015611408576113d68d8d8361173c565b92506113e58860ff8316611795565b91506113f48360008785611647565b6113fe8286612932565b94506001016113b5565b50505050505050505050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9838360405160200161144e93929190612ad8565b60408051601f1981840301815291905280516020909101209392505050565b5490565b600061147c82610d3d565b61148583610d4e565b6101a39190612af7565b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c7fffffffffffffff0000000000000000000000000000000000000000000000000090911c198416179392505050565b6000806115088460f01c90565b915081600061151686610d3d565b60ff16111561154a578284016020015191506115328260c81c90565b61153d906020612932565b6115479082612932565b90505b835181146115915783516040517f521b3d330000000000000000000000000000000000000000000000000000000081526107a2918391600401918252602082015260400190565b509250929050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106115d3576115d361288b565b60209081029190910181019190915260408051676d756473746f726560c01b8184015264486f6f6b7360d81b6030820152815180820390930183528101905260009061162a9061162290612864565b8360006117db565b905061019061163c8260008451611881565b611911565b60200190565b60208304840193506020838161165f5761165f612b1c565b06925082156116b85760208390036000600019600884021c1990506008850281811c91508451811c90508119875416828216178755508183116116a3575050611153565b6116ae600187612932565b9550509182019190035b602081106116e157815184556116cf600185612932565b935060209190910190601f19016116b8565b8015611153576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9838360405160200161144e93929190612b32565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98484846040516020016117759493929190612b92565b60408051601f198184030181529190528051602090910120949350505050565b6000806117a3836005612a97565b6117ae906007612932565b90506117bc84826008021b90565b60d81c949350505050565b60f01c90565b016020015190565b60c81c90565b60606117e5612285565b156117fc576117f584848461192f565b9050610552565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c9061183c90879087908790600401612bc5565b600060405180830381865afa158015611859573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117f59190810190612bf1565b6000818311158015611894575083518211155b6118d0578383836040517f23230fa30000000000000000000000000000000000000000000000000000000081526004016107a293929190612c85565b602084016118de8482612932565b905060006118ec85856129ff565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b60606000610552836014600061194a565b60001960089091021c1990565b6060600061193c85611d9e565b905061017985858584612318565b606060006119588560801c90565b90506fffffffffffffffffffffffffffffffff85166000846119905761197f866008612a97565b61198b906101006129ff565b611993565b60005b905060008683816119a6576119a6612b1c565b0490506119b38784612caa565b15611a40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a6500000060648201526084016107a2565b602080820201604051955080860160405250808552600060208601855b83831015611a7f578051851c8252600192909201916020909101908901611a5d565b505050505050509392505050565b60801c90565b6fffffffffffffffffffffffffffffffff1690565b60606000611ab98360ff8616610d5a565b90506000611ad28260c581111561085f5761085f612906565b90506000611ae08888611417565b90506000611aee868861234f565b9050611afb828483611b61565b9998505050505050505050565b60606000611b1583610d4e565b611b1f9085612a5b565b90506000611b2e87878461173c565b90506000611b498360ff16611b438a8a61238a565b90611795565b9050611b558282611bc1565b98975050505050505050565b60608267ffffffffffffffff811115611b7c57611b7c612602565b6040519080825280601f01601f191660200182016040528015611ba6576020820181803683370190505b50905060208101611bb985858584612397565b509392505050565b606061055283836000611b61565b60606000611bdd8360f01c90565b905080600080611bec86610d3d565b60ff1690508015611c3757611c01888861238a565b91506000611c0f8360c81c90565b1115611c3757611c1f8260c81c90565b611c2a906020612932565b611c349084612932565b92505b60008367ffffffffffffffff811115611c5257611c52612602565b6040519080825280601f01601f191660200182016040528015611c7c576020820181803683370190505b50905060208101611c8f8a8a888461244c565b611c998460c81c90565b600003611cad575094506105529350505050565b611cb78682612932565b8481529050611cc7602082612932565b905060005b838160ff161015611d25576000611ce48c8c8461173c565b90506000611cf58760ff8516611795565b9050611d048282600087612397565b611d0e8185612932565b935050508080611d1d90612a16565b915050611ccc565b50909998505050505050505050565b600080611d4083610d4e565b90508060ff168460ff161015611d7f576000611d5f8460ff8716610d5a565b9050611d768160c581111561085f5761085f612906565b92505050610190565b6000611d8b8286612a5b565b9050611d768160ff16611b43898961238a565b6000611da982610d86565b905080611dee5781611dba83610954565b6040517fd623a70d0000000000000000000000000000000000000000000000000000000081526004016107a2929190612a7e565b919050565b60606000611e0084611d9e565b9050610190848483611bcf565b60606000611e1a85610d4e565b9050611e2585610d4e565b60ff168660ff161015611e64576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e708288612a5b565b90506000611e7f8a8a8461173c565b9050611e9581611e8f88886129ff565b88611b61565b9a9950505050505050505050565b6000611eae8261246d565b9050611eb982612303565b611dee5781611dba83610954565b6040805160018082528183019092526000918291906020808301908036833701905050905060c381600081518110611f0157611f0161288b565b602002602001019060c5811115611f1a57611f1a612906565b908160c5811115611f2d57611f2d612906565b905250611f3981610e0e565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050605f81600081518110611f0157611f0161288b565b6040805160028082526060820183526000928392919060208301908036833701905050905060c581600081518110611fb357611fb361288b565b602002602001019060c5811115611fcc57611fcc612906565b908160c5811115611fdf57611fdf612906565b8152505060c481600181518110611f0157611f0161288b565b6040805160018082528183019092526060918291600091816020015b60608152602001906001900390816120145790505090506040518060400160405280600581526020017f76616c7565000000000000000000000000000000000000000000000000000000815250816000815181106120745761207461288b565b60200260200101819052508060405180604001604052806005815260200164486f6f6b7360d81b8152509092509250509091565b60408051600280825260608281019093528291600091816020015b60608152602001906001900390816120c35790505090506040518060400160405280600981526020017f7461626c654e616d650000000000000000000000000000000000000000000000815250816000815181106121235761212361288b565b60200260200101819052506040518060400160405280601481526020017f616269456e636f6465644669656c644e616d6573000000000000000000000000815250816001815181106121775761217761288b565b6020026020010181905250806040518060400160405280600d81526020017f53746f72654d65746164617461000000000000000000000000000000000000008152509092509250509091565b604080516002808252606080830184529260009291906020830190803683370190505090508351816000815181106121fd576121fd61288b565b602002602001019064ffffffffff16908164ffffffffff168152505082518160018151811061222e5761222e61288b565b602002602001019064ffffffffff16908164ffffffffff1681525050600061225582611159565b905080858560405160200161226c93929190612ccc565b6040516020818303038152906040529250505092915050565b6000303b80820361229857600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b1580156122de57600080fd5b505afa9250505080156122ef575060015b6122fb57600091505090565b600191505090565b6000612311610d3983610d86565b1592915050565b606061232382610d4e565b60ff168360ff1610156123435761233c85858585611aa8565b9050610190565b61233c85858585611b08565b600080805b8360ff16811015611bb95761236c61084e8683610d5a565b6123769083612932565b9150806123828161294a565b915050612354565b600080610e018484611705565b6020820484019350602082816123af576123af612b1c565b06915081156124005760208290036000600019600883021c1990508554600885021b8119845116828216178452508185116123eb575050611153565b6123f6600187612932565b9550509283900392015b602083106124285783548152612417600185612932565b9350601f1990920191602001612400565b8215611153576000600019600885021c198251865482169119161782525050505050565b811561115357600061245e8585611417565b90506107728184600085612397565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106124a6576124a661288b565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b60308301526000916124e891016109f3565b905061019061146d826001612932565b60008083601f84011261250a57600080fd5b50813567ffffffffffffffff81111561252257600080fd5b6020830191508360208260051b850101111561253d57600080fd5b9250929050565b6000806000806060858703121561255a57600080fd5b84359350602085013567ffffffffffffffff81111561257857600080fd5b612584878288016124f8565b9598909750949560400135949350505050565b60005b838110156125b257818101518382015260200161259a565b838111156111535750506000910152565b600081518084526125db816020860160208601612597565b601f01601f19169290920160200192915050565b60208152600061055260208301846125c3565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561264157612641612602565b604052919050565b600082601f83011261265a57600080fd5b8135602067ffffffffffffffff82111561267657612676612602565b8160051b612685828201612618565b928352848101820192828101908785111561269f57600080fd5b83870192505b8483101561023b578235825291830191908301906126a5565b803560ff81168114611dee57600080fd5b600080600080608085870312156126e557600080fd5b84359350602085013567ffffffffffffffff81111561270357600080fd5b61270f87828801612649565b93505061271e604086016126be565b9396929550929360600135925050565b60006020828403121561274057600080fd5b5035919050565b60008060006040848603121561275c57600080fd5b83359250602084013567ffffffffffffffff81111561277a57600080fd5b612786868287016124f8565b9497909650939450505050565b600080600080606085870312156127a957600080fd5b84359350602085013567ffffffffffffffff8111156127c757600080fd5b6127d3878288016124f8565b90945092506127e69050604086016126be565b905092959194509250565b60008060008060008060c0878903121561280a57600080fd5b86359550602087013567ffffffffffffffff81111561282857600080fd5b61283489828a01612649565b955050612843604088016126be565b9350606087013592506080870135915060a087013590509295509295509295565b80516020808301519190811015612885576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052603260045260246000fd5b6000815180845260208085019450848260051b860182860160005b858110156128e65783830389526128d48383516125c3565b988501989250908401906001016128bc565b5090979650505050505050565b60208152600061055260208301846128a1565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156129455761294561291c565b500190565b6000600019820361295d5761295d61291c565b5060010190565b600081518084526020808501945080840160005b8381101561299457815187529582019590820190600101612978565b509495945050505050565b8381526060602082015260006129b86060830185612964565b82810360408401526129ca81856125c3565b9695505050505050565b8381526060602082015260006129ed60608301856125c3565b82810360408401526129ca81856128a1565b600082821015612a1157612a1161291c565b500390565b600060ff821660ff8103612a2c57612a2c61291c565b60010192915050565b600061ffff808316818516808303821115612a5257612a5261291c565b01949350505050565b600060ff821660ff841680821015612a7557612a7561291c565b90039392505050565b82815260406020820152600061019060408301846125c3565b6000816000190483118215151615612ab157612ab161291c565b500290565b600066ffffffffffffff808316818516808303821115612a5257612a5261291c565b8381528260208201526060604082015260006101796060830184612964565b600060ff821660ff84168060ff03821115612b1457612b1461291c565b019392505050565b634e487b7160e01b600052601260045260246000fd5b838152826020820152608060408201526000612b516080830184612964565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b848152836020820152608060408201526000612bb16080830185612964565b905060ff8316606083015295945050505050565b838152606060208201526000612bde6060830185612964565b905060ff83166040830152949350505050565b600060208284031215612c0357600080fd5b815167ffffffffffffffff80821115612c1b57600080fd5b818401915084601f830112612c2f57600080fd5b815181811115612c4157612c41612602565b612c546020601f19601f84011601612618565b9150808252856020828501011115612c6b57600080fd5b612c7c816020840160208601612597565b50949350505050565b606081526000612c9860608301866125c3565b60208301949094525060400152919050565b600082612cc757634e487b7160e01b600052601260045260246000fd5b500690565b83815260008351612ce4816020850160208801612597565b80830190508351612cfc816020840160208801612597565b016020019594505050505056fea164736f6c634300080d000a86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee32"; - -type StoreReadConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreReadConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreRead__factory extends ContractFactory { - constructor(...args: StoreReadConstructorParams) { - 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): StoreRead { - return super.attach(address) as StoreRead; - } - override connect(signer: Signer): StoreRead__factory { - return super.connect(signer) as StoreRead__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreReadInterface { - return new utils.Interface(_abi) as StoreReadInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreRead { - return new Contract(address, _abi, signerOrProvider) as StoreRead; - } -} diff --git a/packages/world/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts b/packages/world/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts deleted file mode 100644 index e1867ae37f..0000000000 --- a/packages/world/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts +++ /dev/null @@ -1,147 +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 { - StoreRegistrationSystem, - StoreRegistrationSystemInterface, -} from "../StoreRegistrationSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "Schema", - name: "valueSchema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b50611388806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80636e81fd7114610046578063d59336861461005b578063fe86a89f1461006e575b600080fd5b610059610054366004610d70565b610081565b005b610059610069366004610db9565b610198565b61005961007c366004610de5565b61023e565b600061009c6f636f72652e73000000000000000000006102b6565b5090506101926100aa61037b565b827f8ae710e900000000000000000000000000000000000000000000000000000000866100d78860801b90565b6040517fffffffffffffffffffffffffffffffff0000000000000000000000000000000092831660248201529116604482015273ffffffffffffffffffffffffffffffffffffffff871660648201526084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600160006103ad565b50505050565b60006101b36f636f72652e73000000000000000000006102b6565b5090506102376101c161037b565b827f31b99d8900000000000000000000000000000000000000000000000000000000876101ee8960801b90565b6040517fffffffffffffffffffffffffffffffff00000000000000000000000000000000928316602482015291166044820152606481018890526084810187905260a40161012a565b5050505050565b60006102596f636f72652e73000000000000000000006102b6565b5090506102ad61026761037b565b827f096fcaa900000000000000000000000000000000000000000000000000000000896102948b60801b90565b8a8a8a8a60405160240161012a96959493929190610ee5565b50505050505050565b604080516001808252818301909252600091829182916020808301908036833701905050905083816000815181106102f0576102f0610ffc565b6020908102919091018101919091526040805160009281018390527f53797374656d7300000000000000000000000000000000000000000000000000603082015261035c910160405160208183030381529060405261034e90611012565b836103576104d7565b610594565b6020810151603482015191925060601c9060f81c935093505050915091565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec36013560601c806103aa5750335b90565b6060600084876040516020016103c4929190611065565b60405160208183030381529060405290506000808561044b578773ffffffffffffffffffffffffffffffffffffffff16858460405161040391906110af565b60006040518083038185875af1925050503d8060008114610440576040519150601f19603f3d011682016040523d82523d6000602084013e610445565b606091505b506104b2565b8773ffffffffffffffffffffffffffffffffffffffff168360405161047091906110af565b600060405180830381855af49150503d80600081146104ab576040519150601f19603f3d011682016040523d82523d6000602084013e6104b0565b606091505b505b9150915081156104c65792506104ce915050565b805160208201fd5b95945050505050565b6040805160028082526060820183526000928392919060208301908036833701905050905060618160008151811061051157610511610ffc565b602002602001019060c581111561052a5761052a6110cb565b908160c581111561053d5761053d6110cb565b8152505060608160018151811061055657610556610ffc565b602002602001019060c581111561056f5761056f6110cb565b908160c5811115610582576105826110cb565b90525061058e81610641565b91505090565b606061059e6108d6565b156105b5576105ae848484610954565b905061063a565b6040517f419b58fd000000000000000000000000000000000000000000000000000000008152339063419b58fd906105f59087908790879060040161111c565b600060405180830381865afa158015610612573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105ae9190810190611145565b9392505050565b6000601c8251111561068d5781516040517f5318beb900000000000000000000000000000000000000000000000000000000815260040161068491815260200190565b60405180910390fd5b60008060008060005b86518110156107b95760006106d48883815181106106b6576106b6610ffc565b602002602001015160c58111156106cf576106cf6110cb565b610ab2565b905061ffff81161561072a578215610718576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83610722816111fd565b94505061072f565b600192505b610739818661121c565b94506107ae8661074a846004611242565b8a858151811061075c5761075c610ffc565b602002602001015160c5811115610775576107756110cb565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b955050600101610696565b5060008287516107c9919061125a565b905060058160ff16111561080e576040517f5318beb900000000000000000000000000000000000000000000000000000000815260ff82166004820152602401610684565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b16175b979650505050505050565b6000303b8082036108e957600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561092f57600080fd5b505afa925050508015610940575060015b61094c57600091505090565b600191505090565b606060006109628360f01c90565b905080600060ff60e086901c1680156109b55761097f8888610b63565b9150600061098d8360c81c90565b11156109b55761099d8260c81c90565b6109a8906020611242565b6109b29084611242565b92505b60008367ffffffffffffffff8111156109d0576109d0610fe6565b6040519080825280601f01601f1916602001820160405280156109fa576020820181803683370190505b50905060208101610a0d8a8a8884610b82565b610a178460c81c90565b600003610a2b5750945061063a9350505050565b610a358682611242565b8481529050610a45602082611242565b905060005b838160ff161015610aa3576000610a628c8c84610ba3565b90506000610a738760ff8516610bfc565b9050610a828282600087610c2e565b610a8c8185611242565b935050508080610a9b906111fd565b915050610a4a565b50909998505050505050505050565b6000808260c5811115610ac757610ac76110cb565b60ff1690506020811015610ae05761063a816001611242565b6040811015610b00576020610af6826001611242565b61063a919061127d565b6060811015610b16576040610af6826001611242565b60608360c5811115610b2a57610b2a6110cb565b03610b385750600192915050565b60618360c5811115610b4c57610b4c6110cb565b03610b5a5750601492915050565b50600092915050565b600080610b708484610ce3565b9050610b7a815490565b949350505050565b8115610192576000610b948585610d39565b90506102378184600085610c2e565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9848484604051602001610bdc9493929190611294565b60408051601f198184030181529190528051602090910120949350505050565b600080610c0a8360056112c7565b610c15906007611242565b9050610c2384826008021b90565b60d81c949350505050565b602082048401935060208281610c4657610c466112e6565b0691508115610c975760208290036000600019600883021c1990508554600885021b811984511682821617845250818511610c82575050610192565b610c8d600187611242565b9550509283900392015b60208310610cbf5783548152610cae600185611242565b9350601f1990920191602001610c97565b8215610192576000600019600885021c198251865482169119161782525050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001610d1a939291906112fc565b60408051601f1981840301815291905280516020909101209392505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001610d1a9392919061135c565b60008060408385031215610d8357600080fd5b82359150602083013573ffffffffffffffffffffffffffffffffffffffff81168114610dae57600080fd5b809150509250929050565b600080600060608486031215610dce57600080fd5b505081359360208301359350604090920135919050565b600080600080600060608688031215610dfd57600080fd5b85359450602086013567ffffffffffffffff80821115610e1c57600080fd5b818801915088601f830112610e3057600080fd5b813581811115610e3f57600080fd5b896020828501011115610e5157600080fd5b602083019650809550506040880135915080821115610e6f57600080fd5b818801915088601f830112610e8357600080fd5b813581811115610e9257600080fd5b8960208260051b8501011115610ea757600080fd5b9699959850939650602001949392505050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b60007fffffffffffffffffffffffffffffffff00000000000000000000000000000000808916835260208189168185015260806040850152610f2b60808501888a610eba565b84810360608601528581529150808201600586901b830182018760005b88811015610fd457601f1986840301845281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18b3603018112610f8b57600080fd5b8a01803567ffffffffffffffff811115610fa457600080fd5b8036038c1315610fb357600080fd5b610fc08582898501610eba565b958701959450505090840190600101610f48565b50909c9b505050505050505050505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b80516020808301519190811015611033576000198160200360031b1b821691505b50919050565b60005b8381101561105457818101518382015260200161103c565b838111156101925750506000910152565b60008351611077818460208801611039565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b600082516110c1818460208701611039565b9190910192915050565b634e487b7160e01b600052602160045260246000fd5b600081518084526020808501945080840160005b83811015611111578151875295820195908201906001016110f5565b509495945050505050565b83815260606020820152600061113560608301856110e1565b9050826040830152949350505050565b60006020828403121561115757600080fd5b815167ffffffffffffffff8082111561116f57600080fd5b818401915084601f83011261118357600080fd5b81518181111561119557611195610fe6565b604051601f8201601f19908116603f011681019083821181831017156111bd576111bd610fe6565b816040528281528760208487010111156111d657600080fd5b6108cb836020830160208801611039565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8103611213576112136111e7565b60010192915050565b600061ffff808316818516808303821115611239576112396111e7565b01949350505050565b60008219821115611255576112556111e7565b500190565b600060ff821660ff841680821015611274576112746111e7565b90039392505050565b60008282101561128f5761128f6111e7565b500390565b8481528360208201526080604082015260006112b360808301856110e1565b905060ff8316606083015295945050505050565b60008160001904831182151516156112e1576112e16111e7565b500290565b634e487b7160e01b600052601260045260246000fd5b83815282602082015260806040820152600061131b60808301846110e1565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b8381528260208201526060604082015260006104ce60608301846110e156fea164736f6c634300080d000a"; - -type StoreRegistrationSystemConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreRegistrationSystemConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreRegistrationSystem__factory extends ContractFactory { - constructor(...args: StoreRegistrationSystemConstructorParams) { - 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): StoreRegistrationSystem { - return super.attach(address) as StoreRegistrationSystem; - } - override connect(signer: Signer): StoreRegistrationSystem__factory { - return super.connect(signer) as StoreRegistrationSystem__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreRegistrationSystemInterface { - return new utils.Interface(_abi) as StoreRegistrationSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreRegistrationSystem { - return new Contract( - address, - _abi, - signerOrProvider - ) as StoreRegistrationSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/StoreSwitch__factory.ts b/packages/world/types/ethers-contracts/factories/StoreSwitch__factory.ts deleted file mode 100644 index aa07cb8832..0000000000 --- a/packages/world/types/ethers-contracts/factories/StoreSwitch__factory.ts +++ /dev/null @@ -1,65 +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 { StoreSwitch, StoreSwitchInterface } from "../StoreSwitch"; - -const _abi = [ - { - inputs: [], - name: "StoreSwitch_InvalidInsideConstructor", - type: "error", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type StoreSwitchConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreSwitchConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreSwitch__factory extends ContractFactory { - constructor(...args: StoreSwitchConstructorParams) { - 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): StoreSwitch { - return super.attach(address) as StoreSwitch; - } - override connect(signer: Signer): StoreSwitch__factory { - return super.connect(signer) as StoreSwitch__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreSwitchInterface { - return new utils.Interface(_abi) as StoreSwitchInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreSwitch { - return new Contract(address, _abi, signerOrProvider) as StoreSwitch; - } -} diff --git a/packages/world/types/ethers-contracts/factories/UniqueEntityModule__factory.ts b/packages/world/types/ethers-contracts/factories/UniqueEntityModule__factory.ts deleted file mode 100644 index e58026bbcd..0000000000 --- a/packages/world/types/ethers-contracts/factories/UniqueEntityModule__factory.ts +++ /dev/null @@ -1,116 +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 { - UniqueEntityModule, - UniqueEntityModuleInterface, -} from "../UniqueEntityModule"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resourceSelector", - type: "string", - }, - ], - name: "RequiredModuleNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [], - name: "getName", - outputs: [ - { - internalType: "bytes16", - name: "", - type: "bytes16", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - name: "install", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040526040516100109061004b565b604051809103906000f08015801561002c573d6000803e3d6000fd5b506001600160a01b031660805234801561004557600080fd5b50610058565b61140380610d6483390190565b608051610cf1610073600039600061030d0152610cf16000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806313861fb51461003b57806317d7de7c14610050575b600080fd5b61004e610049366004610a0b565b610083565b005b604080517f756e69717565456e746974792e6d000000000000000000000000000000000000815290519081900360200190f35b600061008d6104d2565b90508073ffffffffffffffffffffffffffffffffffffffff166331b99d897f756e69717565456e7469747900000000000000000000000000000000000000007f7461626c650000000000000000000000000000000000000000000000000000006100f56104e1565b6100fd610559565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b1681527fffffffffffffffffffffffffffffffff000000000000000000000000000000009485166004820152939092166024840152604483015260648201526084016020604051808303816000875af1158015610187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ab9190610abc565b506000806101b7610572565b6040517f096fcaa9000000000000000000000000000000000000000000000000000000008152919350915073ffffffffffffffffffffffffffffffffffffffff84169063096fcaa990610254907f756e69717565456e746974790000000000000000000000000000000000000000907f7461626c650000000000000000000000000000000000000000000000000000009087908790600401610b22565b600060405180830381600087803b15801561026e57600080fd5b505af1158015610282573d6000803e3d6000fd5b50506040517f4c9e9f110000000000000000000000000000000000000000000000000000000081527f756e69717565456e74697479000000000000000000000000000000000000000060048201527f73797374656d0000000000000000000000000000000000000000000000000000602482015273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660448301526001606483015286169250634c9e9f1191506084016020604051808303816000875af1158015610367573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038b9190610abc565b506040517fca4c1f5e0000000000000000000000000000000000000000000000000000000081527f756e69717565456e74697479000000000000000000000000000000000000000060048201527f73797374656d0000000000000000000000000000000000000000000000000000602482015260806044820152600f60848201527f676574556e69717565456e74697479000000000000000000000000000000000060a482015260c06064820152600260c48201527f282900000000000000000000000000000000000000000000000000000000000060e482015273ffffffffffffffffffffffffffffffffffffffff84169063ca4c1f5e90610104016020604051808303816000875af11580156104a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104cb9190610bc9565b5050505050565b60006104dc61063a565b905090565b60408051600180825281830190925260009182919060208083019080368337019050509050601f8160008151811061051b5761051b610c0b565b602002602001019060c581111561053457610534610c21565b908160c581111561054757610547610c21565b90525061055381610652565b91505090565b6040805160008082526020820190925261055381610652565b6040805160018082528183019092526060918291600091816020015b606081526020019060019003908161058e5790505090506040518060400160405280600581526020017f76616c7565000000000000000000000000000000000000000000000000000000815250816000815181106105ee576105ee610c0b565b6020026020010181905250806040518060400160405280600c81526020017f556e69717565456e7469747900000000000000000000000000000000000000008152509092509250509091565b60006106446108bf565b61064d57503390565b503090565b6000601c8251111561069e5781516040517f5318beb900000000000000000000000000000000000000000000000000000000815260040161069591815260200190565b60405180910390fd5b60008060008060005b86518110156107ca5760006106e58883815181106106c7576106c7610c0b565b602002602001015160c58111156106e0576106e0610c21565b61093d565b905061ffff81161561073b578215610729576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8361073381610c4d565b945050610740565b600192505b61074a8186610c6c565b94506107bf8661075b846004610c92565b8a858151811061076d5761076d610c0b565b602002602001015160c581111561078657610786610c21565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b9550506001016106a7565b5060008287516107da9190610caa565b905060058160ff16111561081f576040517f5318beb900000000000000000000000000000000000000000000000000000000815260ff82166004820152602401610695565b60e01b7cff00000000000000000000000000000000000000000000000000000000167fffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f09490941b939093167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff9094169390931760e89190911b7dff00000000000000000000000000000000000000000000000000000000001617179392505050565b6000303b8082036108d257600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561091857600080fd5b505afa925050508015610929575060015b61093557600091505090565b600191505090565b6000808260c581111561095257610952610c21565b60ff16905060208110156109725761096b816001610c92565b9392505050565b6040811015610992576020610988826001610c92565b61096b9190610ccd565b60608110156109a8576040610988826001610c92565b60608360c58111156109bc576109bc610c21565b036109ca5750600192915050565b60618360c58111156109de576109de610c21565b036109ec5750601492915050565b50600092915050565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610a1d57600080fd5b813567ffffffffffffffff80821115610a3557600080fd5b818401915084601f830112610a4957600080fd5b813581811115610a5b57610a5b6109f5565b604051601f8201601f19908116603f01168101908382118183101715610a8357610a836109f5565b81604052828152876020848701011115610a9c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208284031215610ace57600080fd5b5051919050565b6000815180845260005b81811015610afb57602081850181015186830182015201610adf565b81811115610b0d576000602083870101525b50601f01601f19169290920160200192915050565b60007fffffffffffffffffffffffffffffffff00000000000000000000000000000000808716835260208187168185015260806040850152610b676080850187610ad5565b915083820360608501528185518084528284019150828160051b85010183880160005b83811015610bb857601f19878403018552610ba6838351610ad5565b94860194925090850190600101610b8a565b50909b9a5050505050505050505050565b600060208284031215610bdb57600080fd5b81517fffffffff000000000000000000000000000000000000000000000000000000008116811461096b57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8103610c6357610c63610c37565b60010192915050565b600061ffff808316818516808303821115610c8957610c89610c37565b01949350505050565b60008219821115610ca557610ca5610c37565b500190565b600060ff821660ff841680821015610cc457610cc4610c37565b90039392505050565b600082821015610cdf57610cdf610c37565b50039056fea164736f6c634300080d000a608060405234801561001057600080fd5b506113e3806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063490923cd14610030575b600080fd5b61003861004a565b60405190815260200160405180910390f35b60007f756e69717565456e74697479000000007461626c6500000000000000000000008161007782610094565b61008290600161101a565b905061008e82826100c3565b92915050565b6040805160008082526020820190925260006100b2848360006100fe565b60208101519091505b949350505050565b604080516000808252602082018352918101839052906100f99084908390606082016040516020818303038152906040526101ab565b505050565b6060610108610244565b1561011f576101188484846102c2565b90506101a4565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c9061015f90879087908790600401611083565b600060405180830381865afa15801561017c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261011891908101906110db565b9392505050565b6101b3610244565b156101c9576101c4848484846102e6565b61023e565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a72669061020b9087908790879087906004016111b4565b600060405180830381600087803b15801561022557600080fd5b505af1158015610239573d6000803e3d6000fd5b505050505b50505050565b6000303b80820361025757600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561029d57600080fd5b505afa9250505080156102ae575060015b6102ba57600091505090565b600191505090565b606060006102cf856104d6565b90506102dd85858584610534565b95945050505050565b60006102f1856104d6565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c468585858560405161032894939291906111b4565b60405180910390a1600061033b86610567565b905060005b81518110156103ec57600082828151811061035d5761035d6111e8565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee2898989896040518563ffffffff1660e01b81526004016103a694939291906111b4565b600060405180830381600087803b1580156103c057600080fd5b505af11580156103d4573d6000803e3d6000fd5b505050505080806103e4906111fe565b915050610340565b5060ff60e883901c811690851610156104115761040c868684878761063c565b61041e565b61041e86868487876106e7565b60005b81518110156104cd57600082828151811061043e5761043e6111e8565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f898989896040518563ffffffff1660e01b815260040161048794939291906111b4565b600060405180830381600087803b1580156104a157600080fd5b505af11580156104b5573d6000803e3d6000fd5b505050505080806104c5906111fe565b915050610421565b50505050505050565b60006104e182610722565b90508061052f57816104f2836107e7565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401610526929190611218565b60405180910390fd5b919050565b606060ff60e883901c8116908416101561055b5761055485858585610812565b90506100bb565b61055485858585610872565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106105a1576105a16111e8565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f486f6f6b73000000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906106259061061d90611231565b8360006100fe565b90506100bb61063782600084516108c9565b610959565b600061064b8460ff851661096a565b905081516106698260c581111561066457610664611258565b610996565b146106c0576106838160c581111561066457610664611258565b82516040517f521b3d3300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401610526565b60006106cc8787610a47565b905060006106da8686610a9d565b9050610239828286610af1565b60006106fa60ff60e886901c168461126e565b90506107098686838551610b06565b6000610716878784610b38565b90506104cd8184610b91565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061075b5761075b6111e8565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d610000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906107dd906107d790611231565b83610a47565b90506100bb815490565b6060816040516020016107fc91815260200190565b6040516020818303038152906040529050919050565b606060006108238360ff861661096a565b9050600061083c8260c581111561066457610664611258565b9050600061084a8888610a47565b905060006108588688610a9d565b9050610865828483610ba1565b9998505050505050505050565b6060600061088760ff60e885901c168561126e565b90506000610896878784610b38565b905060006108b18360ff166108ab8a8a610bf9565b90610c06565b90506108bd8282610c38565b98975050505050505050565b60008183111580156108dc575083518211155b610918578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161052693929190611291565b60208401610926848261101a565b9050600061093485856112b6565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b606060006101a48360146000610c46565b60006109828361097b84600461101a565b6008021b90565b60f81c60c58111156101a4576101a4611258565b6000808260c58111156109ab576109ab611258565b60ff16905060208110156109c4576101a481600161101a565b60408110156109e45760206109da82600161101a565b6101a491906112b6565b60608110156109fa5760406109da82600161101a565b60608360c5811115610a0e57610a0e611258565b03610a1c5750600192915050565b60618360c5811115610a3057610a30611258565b03610a3e5750601492915050565b50600092915050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001610a7e939291906112cd565b60408051601f1981840301815291905280516020909101209392505050565b600080805b8360ff16811015610ae957610acb610aba868361096a565b60c581111561066457610664611258565b610ad5908361101a565b915080610ae1816111fe565b915050610aa2565b509392505050565b600060208201905061023e8484838551610d89565b6000610b128585610e47565b90506000610b1e825490565b9050610b2e8160ff861685610e7e565b9091555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9848484604051602001610b7194939291906112ec565b60408051601f198184030181529190528051602090910120949350505050565b610b9d82600083610af1565b5050565b60608267ffffffffffffffff811115610bbc57610bbc611032565b6040519080825280601f01601f191660200182016040528015610be6576020820181803683370190505b50905060208101610ae985858584610f4f565b6000806107dd8484610e47565b600080610c1483600561131f565b610c1f90600761101a565b9050610c2d84826008021b90565b60d81c949350505050565b60606101a483836000610ba1565b60606000610c548560801c90565b90506fffffffffffffffffffffffffffffffff8516600084610c8c57610c7b86600861131f565b610c87906101006112b6565b610c8f565b60005b90506000868381610ca257610ca261133e565b049050610caf8784611354565b15610d3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401610526565b602080820201604051955080860160405250808552600060208601855b83831015610d7b578051851c8252600192909201916020909101908901610d59565b505050505050509392505050565b602083048401935060208381610da157610da161133e565b0692508215610dfa5760208390036000600019600884021c1990506008850281811c91508451811c9050811987541682821617875550818311610de557505061023e565b610df060018761101a565b9550509182019190035b60208110610e235781518455610e1160018561101a565b935060209190910190601f1901610dfa565b801561023e576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001610a7e93929190611376565b60008381610e8c8260c81c90565b90506000610e9d878760ff16610c06565b9050808510610ec157610eb081866112b6565b610eba908361101a565b9150610ed8565b610ecb85826112b6565b610ed590836112b6565b91505b6000610ee587600561131f565b610ef090600761101a565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c176108bd565b602082048401935060208281610f6757610f6761133e565b0691508115610fb85760208290036000600019600883021c1990508554600885021b811984511682821617845250818511610fa357505061023e565b610fae60018761101a565b9550509283900392015b60208310610fe05783548152610fcf60018561101a565b9350601f1990920191602001610fb8565b821561023e576000600019600885021c198251865482169119161782525050505050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561102d5761102d611004565b500190565b634e487b7160e01b600052604160045260246000fd5b600081518084526020808501945080840160005b838110156110785781518752958201959082019060010161105c565b509495945050505050565b83815260606020820152600061109c6060830185611048565b905060ff83166040830152949350505050565b60005b838110156110ca5781810151838201526020016110b2565b8381111561023e5750506000910152565b6000602082840312156110ed57600080fd5b815167ffffffffffffffff8082111561110557600080fd5b818401915084601f83011261111957600080fd5b81518181111561112b5761112b611032565b604051601f8201601f19908116603f0116810190838211818310171561115357611153611032565b8160405282815287602084870101111561116c57600080fd5b61117d8360208301602088016110af565b979650505050505050565b600081518084526111a08160208601602086016110af565b601f01601f19169290920160200192915050565b8481526080602082015260006111cd6080830186611048565b60ff85166040840152828103606084015261117d8185611188565b634e487b7160e01b600052603260045260246000fd5b6000600019820361121157611211611004565b5060010190565b8281526040602082015260006100bb6040830184611188565b80516020808301519190811015611252576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052602160045260246000fd5b600060ff821660ff84168082101561128857611288611004565b90039392505050565b6060815260006112a46060830186611188565b60208301949094525060400152919050565b6000828210156112c8576112c8611004565b500390565b8381528260208201526060604082015260006102dd6060830184611048565b84815283602082015260806040820152600061130b6080830185611048565b905060ff8316606083015295945050505050565b600081600019048311821515161561133957611339611004565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261137157634e487b7160e01b600052601260045260246000fd5b500690565b8381528260208201526080604082015260006113956080830184611048565b8281036060840152600681527f6c656e677468000000000000000000000000000000000000000000000000000060208201526040810191505094935050505056fea164736f6c634300080d000a"; - -type UniqueEntityModuleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: UniqueEntityModuleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class UniqueEntityModule__factory extends ContractFactory { - constructor(...args: UniqueEntityModuleConstructorParams) { - 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): UniqueEntityModule { - return super.attach(address) as UniqueEntityModule; - } - override connect(signer: Signer): UniqueEntityModule__factory { - return super.connect(signer) as UniqueEntityModule__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): UniqueEntityModuleInterface { - return new utils.Interface(_abi) as UniqueEntityModuleInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): UniqueEntityModule { - return new Contract(address, _abi, signerOrProvider) as UniqueEntityModule; - } -} diff --git a/packages/world/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts b/packages/world/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts deleted file mode 100644 index 9dbc85b85b..0000000000 --- a/packages/world/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts +++ /dev/null @@ -1,129 +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 { - UniqueEntitySystem, - UniqueEntitySystemInterface, -} from "../UniqueEntitySystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [], - name: "getUniqueEntity", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506113e3806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063490923cd14610030575b600080fd5b61003861004a565b60405190815260200160405180910390f35b60007f756e69717565456e74697479000000007461626c6500000000000000000000008161007782610094565b61008290600161101a565b905061008e82826100c3565b92915050565b6040805160008082526020820190925260006100b2848360006100fe565b60208101519091505b949350505050565b604080516000808252602082018352918101839052906100f99084908390606082016040516020818303038152906040526101ab565b505050565b6060610108610244565b1561011f576101188484846102c2565b90506101a4565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c9061015f90879087908790600401611083565b600060405180830381865afa15801561017c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261011891908101906110db565b9392505050565b6101b3610244565b156101c9576101c4848484846102e6565b61023e565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a72669061020b9087908790879087906004016111b4565b600060405180830381600087803b15801561022557600080fd5b505af1158015610239573d6000803e3d6000fd5b505050505b50505050565b6000303b80820361025757600191505090565b3073ffffffffffffffffffffffffffffffffffffffff1663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561029d57600080fd5b505afa9250505080156102ae575060015b6102ba57600091505090565b600191505090565b606060006102cf856104d6565b90506102dd85858584610534565b95945050505050565b60006102f1856104d6565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c468585858560405161032894939291906111b4565b60405180910390a1600061033b86610567565b905060005b81518110156103ec57600082828151811061035d5761035d6111e8565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff1663469b7ee2898989896040518563ffffffff1660e01b81526004016103a694939291906111b4565b600060405180830381600087803b1580156103c057600080fd5b505af11580156103d4573d6000803e3d6000fd5b505050505080806103e4906111fe565b915050610340565b5060ff60e883901c811690851610156104115761040c868684878761063c565b61041e565b61041e86868487876106e7565b60005b81518110156104cd57600082828151811061043e5761043e6111e8565b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff16636b3d7d5f898989896040518563ffffffff1660e01b815260040161048794939291906111b4565b600060405180830381600087803b1580156104a157600080fd5b505af11580156104b5573d6000803e3d6000fd5b505050505080806104c5906111fe565b915050610421565b50505050505050565b60006104e182610722565b90508061052f57816104f2836107e7565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401610526929190611218565b60405180910390fd5b919050565b606060ff60e883901c8116908416101561055b5761055485858585610812565b90506100bb565b61055485858585610872565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106105a1576105a16111e8565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f486f6f6b73000000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906106259061061d90611231565b8360006100fe565b90506100bb61063782600084516108c9565b610959565b600061064b8460ff851661096a565b905081516106698260c581111561066457610664611258565b610996565b146106c0576106838160c581111561066457610664611258565b82516040517f521b3d3300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401610526565b60006106cc8787610a47565b905060006106da8686610a9d565b9050610239828286610af1565b60006106fa60ff60e886901c168461126e565b90506107098686838551610b06565b6000610716878784610b38565b90506104cd8184610b91565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061075b5761075b6111e8565b602090810291909101810191909152604080517f6d756473746f7265000000000000000000000000000000000000000000000000818401527f736368656d610000000000000000000000000000000000000000000000000000603082015281518082039093018352810190526000906107dd906107d790611231565b83610a47565b90506100bb815490565b6060816040516020016107fc91815260200190565b6040516020818303038152906040529050919050565b606060006108238360ff861661096a565b9050600061083c8260c581111561066457610664611258565b9050600061084a8888610a47565b905060006108588688610a9d565b9050610865828483610ba1565b9998505050505050505050565b6060600061088760ff60e885901c168561126e565b90506000610896878784610b38565b905060006108b18360ff166108ab8a8a610bf9565b90610c06565b90506108bd8282610c38565b98975050505050505050565b60008183111580156108dc575083518211155b610918578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161052693929190611291565b60208401610926848261101a565b9050600061093485856112b6565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b606060006101a48360146000610c46565b60006109828361097b84600461101a565b6008021b90565b60f81c60c58111156101a4576101a4611258565b6000808260c58111156109ab576109ab611258565b60ff16905060208110156109c4576101a481600161101a565b60408110156109e45760206109da82600161101a565b6101a491906112b6565b60608110156109fa5760406109da82600161101a565b60608360c5811115610a0e57610a0e611258565b03610a1c5750600192915050565b60618360c5811115610a3057610a30611258565b03610a3e5750601492915050565b50600092915050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001610a7e939291906112cd565b60408051601f1981840301815291905280516020909101209392505050565b600080805b8360ff16811015610ae957610acb610aba868361096a565b60c581111561066457610664611258565b610ad5908361101a565b915080610ae1816111fe565b915050610aa2565b509392505050565b600060208201905061023e8484838551610d89565b6000610b128585610e47565b90506000610b1e825490565b9050610b2e8160ff861685610e7e565b9091555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9848484604051602001610b7194939291906112ec565b60408051601f198184030181529190528051602090910120949350505050565b610b9d82600083610af1565b5050565b60608267ffffffffffffffff811115610bbc57610bbc611032565b6040519080825280601f01601f191660200182016040528015610be6576020820181803683370190505b50905060208101610ae985858584610f4f565b6000806107dd8484610e47565b600080610c1483600561131f565b610c1f90600761101a565b9050610c2d84826008021b90565b60d81c949350505050565b60606101a483836000610ba1565b60606000610c548560801c90565b90506fffffffffffffffffffffffffffffffff8516600084610c8c57610c7b86600861131f565b610c87906101006112b6565b610c8f565b60005b90506000868381610ca257610ca261133e565b049050610caf8784611354565b15610d3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401610526565b602080820201604051955080860160405250808552600060208601855b83831015610d7b578051851c8252600192909201916020909101908901610d59565b505050505050509392505050565b602083048401935060208381610da157610da161133e565b0692508215610dfa5760208390036000600019600884021c1990506008850281811c91508451811c9050811987541682821617875550818311610de557505061023e565b610df060018761101a565b9550509182019190035b60208110610e235781518455610e1160018561101a565b935060209190910190601f1901610dfa565b801561023e576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001610a7e93929190611376565b60008381610e8c8260c81c90565b90506000610e9d878760ff16610c06565b9050808510610ec157610eb081866112b6565b610eba908361101a565b9150610ed8565b610ecb85826112b6565b610ed590836112b6565b91505b6000610ee587600561131f565b610ef090600761101a565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c176108bd565b602082048401935060208281610f6757610f6761133e565b0691508115610fb85760208290036000600019600883021c1990508554600885021b811984511682821617845250818511610fa357505061023e565b610fae60018761101a565b9550509283900392015b60208310610fe05783548152610fcf60018561101a565b9350601f1990920191602001610fb8565b821561023e576000600019600885021c198251865482169119161782525050505050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561102d5761102d611004565b500190565b634e487b7160e01b600052604160045260246000fd5b600081518084526020808501945080840160005b838110156110785781518752958201959082019060010161105c565b509495945050505050565b83815260606020820152600061109c6060830185611048565b905060ff83166040830152949350505050565b60005b838110156110ca5781810151838201526020016110b2565b8381111561023e5750506000910152565b6000602082840312156110ed57600080fd5b815167ffffffffffffffff8082111561110557600080fd5b818401915084601f83011261111957600080fd5b81518181111561112b5761112b611032565b604051601f8201601f19908116603f0116810190838211818310171561115357611153611032565b8160405282815287602084870101111561116c57600080fd5b61117d8360208301602088016110af565b979650505050505050565b600081518084526111a08160208601602086016110af565b601f01601f19169290920160200192915050565b8481526080602082015260006111cd6080830186611048565b60ff85166040840152828103606084015261117d8185611188565b634e487b7160e01b600052603260045260246000fd5b6000600019820361121157611211611004565b5060010190565b8281526040602082015260006100bb6040830184611188565b80516020808301519190811015611252576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052602160045260246000fd5b600060ff821660ff84168082101561128857611288611004565b90039392505050565b6060815260006112a46060830186611188565b60208301949094525060400152919050565b6000828210156112c8576112c8611004565b500390565b8381528260208201526060604082015260006102dd6060830184611048565b84815283602082015260806040820152600061130b6080830185611048565b905060ff8316606083015295945050505050565b600081600019048311821515161561133957611339611004565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261137157634e487b7160e01b600052601260045260246000fd5b500690565b8381528260208201526080604082015260006113956080830184611048565b8281036060840152600681527f6c656e677468000000000000000000000000000000000000000000000000000060208201526040810191505094935050505056fea164736f6c634300080d000a"; - -type UniqueEntitySystemConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: UniqueEntitySystemConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class UniqueEntitySystem__factory extends ContractFactory { - constructor(...args: UniqueEntitySystemConstructorParams) { - 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): UniqueEntitySystem { - return super.attach(address) as UniqueEntitySystem; - } - override connect(signer: Signer): UniqueEntitySystem__factory { - return super.connect(signer) as UniqueEntitySystem__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): UniqueEntitySystemInterface { - return new utils.Interface(_abi) as UniqueEntitySystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): UniqueEntitySystem { - return new Contract(address, _abi, signerOrProvider) as UniqueEntitySystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts b/packages/world/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts deleted file mode 100644 index 576ac75bfe..0000000000 --- a/packages/world/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts +++ /dev/null @@ -1,512 +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 { - WorldRegistrationSystem, - WorldRegistrationSystemInterface, -} from "../WorldRegistrationSystem"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - { - internalType: "address", - name: "caller", - type: "address", - }, - ], - name: "AccessDenied", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "InvalidSelector", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "module", - type: "string", - }, - ], - name: "ModuleAlreadyInstalled", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceExists", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "system", - type: "address", - }, - ], - name: "SystemExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "string", - name: "systemFunctionName", - type: "string", - }, - { - internalType: "string", - name: "systemFunctionArguments", - type: "string", - }, - ], - name: "registerFunctionSelector", - outputs: [ - { - internalType: "bytes4", - name: "worldFunctionSelector", - type: "bytes4", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "address", - name: "hook", - type: "address", - }, - ], - name: "registerHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - ], - name: "registerNamespace", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes4", - name: "worldFunctionSelector", - type: "bytes4", - }, - { - internalType: "bytes4", - name: "systemFunctionSelector", - type: "bytes4", - }, - ], - name: "registerRootFunctionSelector", - outputs: [ - { - internalType: "bytes4", - name: "", - type: "bytes4", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract System", - name: "system", - type: "address", - }, - { - internalType: "bool", - name: "publicAccess", - type: "bool", - }, - ], - name: "registerSystem", - outputs: [ - { - internalType: "bytes32", - name: "resourceSelector", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract ISystemHook", - name: "hook", - type: "address", - }, - ], - name: "registerSystemHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "Schema", - name: "valueSchema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerTable", - outputs: [ - { - internalType: "bytes32", - name: "resourceSelector", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerTableHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5061395a806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c806356f55a97116100765780638ae710e91161005b5780638ae710e914610160578063a886545e14610173578063ca4c1f5e1461018657600080fd5b806356f55a97146101095780637a58dce41461014d57600080fd5b8063096fcaa9146100a857806331b99d89146100bd5780633ca90f22146100e35780634c9e9f11146100f6575b600080fd5b6100bb6100b6366004612f62565b610199565b005b6100d06100cb366004613021565b610204565b6040519081526020015b60405180910390f35b6100bb6100f136600461307b565b610331565b6100d06101043660046130c2565b610352565b61011c61011736600461314f565b610473565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020016100da565b6100bb61015b36600461307b565b61052e565b6100bb61016e36600461307b565b6105ac565b6100bb6101813660046131a3565b6105c7565b61011c610194366004613283565b610639565b60006101ad87876101a8610784565b6107b6565b90506101fb8186868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506101f69250879150889050613308565b610844565b50505050505050565b60006001600160801b03198516608085901c1790506001600160801b0319841661026d57610231816108e2565b6040517fe56728c000000000000000000000000000000000000000000000000000000000815260040161026491906133e4565b60405180910390fd5b60006102826001600160801b031987166109b6565b6003811115610293576102936133f7565b036102a6576102a1856105c7565b6102b6565b6102b48560006101a8610784565b505b60006102c1826109b6565b60038111156102d2576102d26133f7565b14610313576102e0816108e2565b6040517f0f2fac6100000000000000000000000000000000000000000000000000000000815260040161026491906133e4565b61031e816002610a72565b610329818484610b6b565b949350505050565b600061034084846101a8610784565b905061034c8183610bd8565b50505050565b60006001600160801b03198516608085901c1790506001600160801b0319841661037f57610231816108e2565b61038883610ca6565b156103ca576040517fb86487840000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610264565b60006103df6001600160801b031987166109b6565b60038111156103f0576103f06133f7565b03610403576103fe856105c7565b610413565b6104118560006101a8610784565b505b600061041e826109b6565b600381111561042f5761042f6133f7565b1461043d576102e0816108e2565b610448816003610a72565b610453818484610d43565b61045d8382610e22565b6103296001600160801b03198616846001610ed4565b600061048281806101a8610784565b50600061048e84610faa565b9050600061049b8561104d565b90506001600160801b031982161580156104bd57506001600160801b03198116155b610517576040517f9b2a16a90000000000000000000000000000000000000000000000000000000081527fffffffff0000000000000000000000000000000000000000000000000000000086166004820152602401610264565b6105238588888761110b565b509295945050505050565b60006105496001600160801b03198516608085901c176109b6565b9050600281600381111561055f5761055f6133f7565b0361056f5761034c8484846105ac565b6003816003811115610583576105836133f7565b036105935761034c848484610331565b6102316001600160801b03198516608085901c176108e2565b60006105bb84846101a8610784565b905061034c818361120b565b6001600160801b0319811660006105dd826109b6565b60038111156105ee576105ee6133f7565b146105fc576102e0816108e2565b6106116001600160801b031983166001610a72565b6106228261061d610784565b611215565b6106358161062e610784565b6001610ed4565b5050565b600061064885856101a8610784565b506000610654866112e1565b90506000610661866112e1565b90508181868660405160200161067a949392919061340d565b604051602081830303815290604052805190602001209250600061069d84610faa565b905060006106aa8561104d565b90506001600160801b031982161515806106cd57506001600160801b0319811615155b15610728576040517f9b2a16a90000000000000000000000000000000000000000000000000000000081527fffffffff0000000000000000000000000000000000000000000000000000000086166004820152602401610264565b6000878760405160200161073d92919061349a565b6040516020818303038152906040529050600081516000146107655781516020830120610768565b60005b9050610776878c8c8461110b565b505050505050949350505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec36013560601c806107b35750335b90565b608082901c6001600160801b03198416176001600160a01b03821630148015906107fa5750816001600160a01b03166107ee8561135f565b6001600160a01b031614155b1561083d57610808816108e2565b826040517fe64c03480000000000000000000000000000000000000000000000000000000081526004016102649291906134c9565b9392505050565b600061084f84611405565b905081516000148061086c57506108658161145a565b60ff168251145b6108b8576108798161145a565b82516040517ff2b2755900000000000000000000000000000000000000000000000000000000815260ff90921660048301526024820152604401610264565b61034c8484846040516020016108ce91906134f4565b60405160208183030381529060405261147e565b606081608081901b6001600160801b03198216156109005781610922565b7f524f4f545f4e414d4553504143450000000000000000000000000000000000005b6001600160801b0319821615610938578161095a565b7f524f4f545f4e414d4500000000000000000000000000000000000000000000005b6040516001600160801b031992831660208201527f2f0000000000000000000000000000000000000000000000000000000000000060308201529116603182015260410160405160208183030381529060405292505050919050565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106109ef576109ef613574565b6020908102919091018101919091526040805160009281018390527f5265736f757263655479706500000000000000000000000000000000000000006030820152610a5691015b604051602081830303815290604052610a4e9061358a565b83600061151a565b602081015190915060f81c6003811115610329576103296133f7565b604080516001808252818301909252600091602080830190803683370190505090508281600081518110610aa857610aa8613574565b602090810291909101810191909152604080516000818401527f5265736f7572636554797065000000000000000000000000000000000000000060308201528151808203909301835281019052610b6690610b029061358a565b826000856003811115610b1757610b176133f7565b604051602001610b52919060f89190911b7fff0000000000000000000000000000000000000000000000000000000000000016815260010190565b6040516020818303038152906040526115c0565b505050565b610b76826000611658565b610b81816001611658565b610b8a83611826565b15610bcd5782610b998461183f565b6040517f147bbb8c0000000000000000000000000000000000000000000000000000000081526004016102649291906135b1565b610b6683838361186a565b604080516001808252818301909252600091602080830190803683370190505090508281600081518110610c0e57610c0e613574565b602090810291909101810191909152604080516000928101929092527f53797374656d486f6f6b730000000000000000000000000000000000000000006030830152610b6691015b604051602081830303815290604052610c6e9061358a565b6040516bffffffffffffffffffffffff19606086901b16602082015283906000906034016040516020818303038152906040526119e1565b60408051600180825281830190925260009182919060208083019080368337019050509050826001600160a01b031660001b81600081518110610ceb57610ceb613574565b6020908102919091018101919091526040805160009281018390527f53797374656d52656769737472790000000000000000000000000000000000006030820152610d369101610a36565b6020810151909150610329565b60408051606084901b6bffffffffffffffffffffffff191660208083019190915283151560f81b6034830152825180830360150181526001603584018181526075850190955290936000939092605590910190803683370190505090508481600081518110610db457610db4613574565b602090810291909101810191909152604080516000928101929092527f53797374656d73000000000000000000000000000000000000000000000000006030830152610e1b91015b604051602081830303815290604052610e149061358a565b8284611a3c565b5050505050565b60408051600180825281830190925260009160208083019080368337019050509050826001600160a01b031660001b81600081518110610e6457610e64613574565b602090810291909101810191909152604080516000818401527f53797374656d526567697374727900000000000000000000000000000000000060308201528151808203909301835281019052610b6690610ebe9061358a565b82600085604051602001610b5291815260200190565b6040805160028082526060820183526000926020830190803683370190505090508381600081518110610f0957610f09613574565b602002602001018181525050826001600160a01b031660001b81600181518110610f3557610f35613574565b602090810291909101810191909152604080516000818401527f5265736f757263654163636573730000000000000000000000000000000000006030820152815180820390930183528101905261034c90610f8f9061358a565b82600085604051602001610b5291151560f81b815260010190565b60408051600180825281830190925260009182919060208083019080368337019050509050827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168160008151811061100257611002613574565b6020908102919091018101919091526040805160009281018390527f46756e6374696f6e53656c6563746f72000000000000000000000000000000006030820152610d369101610a36565b60408051600180825281830190925260009182919060208083019080368337019050509050827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916816000815181106110a5576110a5613574565b6020908102919091018101919091526040805160009281018390527f46756e6374696f6e53656c6563746f72000000000000000000000000000000006030820152610d3691016040516020818303038152906040526111039061358a565b83600161151a565b604080516001600160801b031985811660208084019190915290851660308301527fffffffff0000000000000000000000000000000000000000000000000000000084168284015282516024818403018152600160448401818152608485019095529093600093909260649091019080368337019050509050857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916816000815181106111b7576111b7613574565b602090810291909101810191909152604080516000928101929092527f46756e6374696f6e53656c6563746f720000000000000000000000000000000060308301526112039101610dfc565b505050505050565b6106358282611ac2565b60408051600180825281830190925260009160208083019080368337019050509050826fffffffffffffffffffffffffffffffff19168160008151811061125e5761125e613574565b602090810291909101810191909152604080516000818401527f4e616d6573706163654f776e657200000000000000000000000000000000000060308201528151808203909301835281019052610b66906112b89061358a565b6040516bffffffffffffffffffffffff19606086901b1660208201528390600090603401610b52565b606060005b6010811015611338576001600160801b03198316600882021b7fff0000000000000000000000000000000000000000000000000000000000000016156113385780611330816135e0565b9150506112e6565b604080516001600160801b0319851660208201528151603090910190915281815280610329565b60408051600180825281830190925260009182919060208083019080368337019050509050826fffffffffffffffffffffffffffffffff1916816000815181106113ab576113ab613574565b6020908102919091018101919091526040805160009281018390527f4e616d6573706163654f776e657200000000000000000000000000000000000060308201526113f69101610a36565b6020015160601c949350505050565b600061141082611b4e565b90508061145557816114218361183f565b6040517fd623a70d0000000000000000000000000000000000000000000000000000000081526004016102649291906135b1565b919050565b600061146582611bea565b61146e83611bfb565b61147891906135fa565b92915050565b600061148a8383611c07565b604080516001808252818301909252919250600091906020808301908036833701905050905084816000815181106114c4576114c4613574565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f53746f72654d65746164617461000000000000000000000000000000000000006030830152610e1b9101610dfc565b6060611524611cc9565b1561153b57611534848484611d3a565b905061083d565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c9061157b9087908790879060040161365a565b600060405180830381865afa158015611598573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115349190810190613686565b6115c8611cc9565b156115de576115d984848484611d5e565b61034c565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a7266906116209087908790879087906004016136f4565b600060405180830381600087803b15801561163a57600080fd5b505af115801561164e573d6000803e3d6000fd5b5050505050505050565b80158015611664575081155b1561168557604051635318beb960e01b815260006004820152602401610264565b600061169083611bea565b60ff16905060058111156116ba57604051635318beb960e01b815260048101829052602401610264565b60006116c584611bfb565b60ff169050601c6116d68383613733565b1115611702576116e68282613733565b604051635318beb960e01b815260040161026491815260200190565b60008060005b6117128585613733565b8110156117df57600061173e6117288984611f2f565b60c5811115611739576117396133f7565b611f5b565b111561178f5783811061177d576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82611787816135e0565b9350506117d7565b838110156117c9576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816117d3816135e0565b9250505b600101611708565b5082821461180357604051635318beb960e01b815260048101839052602401610264565b83811461120357604051635318beb960e01b815260048101829052602401610264565b600061183861183483611b4e565b1590565b1592915050565b60608160405160200161185491815260200190565b6040516020818303038152906040529050919050565b6040805160018082528183019092526000916020808301908036833701905050905083816000815181106118a0576118a0613574565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f736368656d610000000000000000000000000000000000000000000000000000603083015260009161191391015b60405160208183030381529060405261190d9061358a565b8361200c565b848155905061192b611926826001613733565b849055565b60408051676d756473746f726560c01b60208201527f736368656d61000000000000000000000000000000000000000000000000000060308201527f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee3291016040516020818303038152906040526119a19061358a565b83868660408051602081019390935282015260600160408051601f19818403018152908290526119d293929161374b565b60405180910390a15050505050565b6119e9611cc9565b156119fa576115d984848484612062565b6040517f0c1a60000000000000000000000000000000000000000000000000000000000081523390630c1a6000906116209087908790879087906004016136f4565b611a44611cc9565b15611a5457610b66838383612284565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f90611a949086908690869060040161374b565b600060405180830381600087803b158015611aae57600080fd5b505af11580156101fb573d6000803e3d6000fd5b604080516001808252818301909252600091602080830190803683370190505090508281600081518110611af857611af8613574565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f486f6f6b730000000000000000000000000000000000000000000000000000006030830152610b669101610c56565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110611b8757611b87613574565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f736368656d6100000000000000000000000000000000000000000000000000006030830152600091611be091016118f5565b9050610329815490565b6000601882901b5b60f81c92915050565b6000601082901b611bf2565b60408051600280825260608083018452926000929190602083019080368337019050509050835181600081518110611c4157611c41613574565b602002602001019064ffffffffff16908164ffffffffff1681525050825181600181518110611c7257611c72613574565b602002602001019064ffffffffff16908164ffffffffff16815250506000611c9982612458565b9050808585604051602001611cb093929190613780565b6040516020818303038152906040529250505092915050565b6000303b808203611cdc57600191505090565b306001600160a01b031663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b158015611d1557600080fd5b505afa925050508015611d26575060015b611d3257600091505090565b600191505090565b60606000611d4785611405565b9050611d5585858584612535565b95945050505050565b6000611d6985611405565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4685858585604051611da094939291906136f4565b60405180910390a16000611db38661256c565b905060005b8151811015611e57576000828281518110611dd557611dd5613574565b60200260200101519050806001600160a01b031663469b7ee2898989896040518563ffffffff1660e01b8152600401611e1194939291906136f4565b600060405180830381600087803b158015611e2b57600080fd5b505af1158015611e3f573d6000803e3d6000fd5b50505050508080611e4f906135e0565b915050611db8565b50611e6182611bfb565b60ff168460ff161015611e8057611e7b8686848787612616565b611e8d565b611e8d86868487876126bc565b60005b81518110156101fb576000828281518110611ead57611ead613574565b60200260200101519050806001600160a01b0316636b3d7d5f898989896040518563ffffffff1660e01b8152600401611ee994939291906136f4565b600060405180830381600087803b158015611f0357600080fd5b505af1158015611f17573d6000803e3d6000fd5b50505050508080611f27906135e0565b915050611e90565b6000611f4783611f40846004613733565b6008021b90565b60f81c60c581111561083d5761083d6133f7565b6000808260c5811115611f7057611f706133f7565b60ff1690506020811015611f895761083d816001613733565b6040811015611fa9576020611f9f826001613733565b61083d91906137bd565b6060811015611fbf576040611f9f826001613733565b60608360c5811115611fd357611fd36133f7565b03611fe15750600192915050565b60618360c5811115611ff557611ff56133f7565b036120035750601492915050565b50600092915050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001612043939291906137d4565b60408051601f1981840301815291905280516020909101209392505050565b600061206d85611405565b905061207881611bfb565b60ff168360ff1610156120b7576040517f14306eb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006120c5868686856126f9565b836040516020016120d792919061349a565b60405160208183030381529060405290507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c468686868460405161211d94939291906136f4565b60405180910390a160006121308761256c565b905060005b81518110156121d457600082828151811061215257612152613574565b60200260200101519050806001600160a01b031663469b7ee28a8a8a886040518563ffffffff1660e01b815260040161218e94939291906136f4565b600060405180830381600087803b1580156121a857600080fd5b505af11580156121bc573d6000803e3d6000fd5b505050505080806121cc906135e0565b915050612135565b506121e28787858888612752565b60005b815181101561164e57600082828151811061220257612202613574565b60200260200101519050806001600160a01b0316636b3d7d5f8a8a8a886040518563ffffffff1660e01b815260040161223e94939291906136f4565b600060405180830381600087803b15801561225857600080fd5b505af115801561226c573d6000803e3d6000fd5b5050505050808061227c906135e0565b9150506121e5565b600061228f84611405565b905060008061229e83856127cd565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee328686866040516122d59392919061374b565b60405180910390a160006122e88761256c565b905060005b815181101561238a57600082828151811061230a5761230a613574565b60200260200101519050806001600160a01b03166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016123449392919061374b565b600060405180830381600087803b15801561235e57600080fd5b505af1158015612372573d6000803e3d6000fd5b50505050508080612382906135e0565b9150506122ed565b506000612397888861200c565b9050602086016123aa826000838861286b565b6123b5856020613733565b6123bf9082613733565b90506123ca86611bea565b60ff166000036123df57505050505050505050565b60006123eb8a8a612929565b858155905060008060005b6123ff8a611bea565b60ff168160ff161015612449576124178d8d83612960565b92506124268860ff83166129b9565b9150612435836000878561286b565b61243f8286613733565b94506001016123f6565b50505050505050505050505050565b6000806000805b845181101561250d576124d5836124778360056137f3565b612482906007613733565b87848151811061249457612494613574565b602002602001015160d81b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b92508481815181106124e9576124e9613574565b602002602001015164ffffffffff16826125039190613812565b915060010161245f565b5078ffffffffffffffffffffffffffffffffffffffffffffffffff821660c882901b17610329565b606061254082611bfb565b60ff168360ff16101561256057612559858585856129eb565b9050610329565b612559858585856126f9565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106125a6576125a6613574565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f486f6f6b7300000000000000000000000000000000000000000000000000000060308301526000916125ff9101610a36565b90506103296126118260008451612a4b565b612adb565b60006126258460ff8516611f2f565b9050815161263e8260c5811115611739576117396133f7565b14612695576126588160c5811115611739576117396133f7565b82516040517f521b3d3300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401610264565b60006126a1878761200c565b905060006126af8686612aec565b905061164e828286612b2f565b60006126c784611bfb565b6126d19084613834565b90506126e08686838551612b44565b60006126ed878784612960565b90506101fb8184612b76565b6060600061270683611bfb565b6127109085613834565b9050600061271f878784612960565b9050600061273a8360ff166127348a8a612b82565b906129b9565b90506127468282612b8f565b98975050505050505050565b600061275d84611bfb565b6127679084613834565b905060006127758787612929565b90506000612781825490565b905060006127928260ff86166129b9565b90506127b08460ff168651836127a89190613733565b849190612b9d565b80845591506127c28989868489612c6e565b505050505050505050565b6000806127da8460f01c90565b91508160006127e886611bea565b60ff16111561281c578284016020015191506128048260c81c90565b61280f906020613733565b6128199082613733565b90505b835181146128635783516040517f521b3d33000000000000000000000000000000000000000000000000000000008152610264918391600401918252602082015260400190565b509250929050565b60208304840193506020838161288357612883613857565b06925082156128dc5760208390036000600019600884021c1990506008850281811c91508451811c90508119875416828216178755508183116128c757505061034c565b6128d2600187613733565b9550509182019190035b6020811061290557815184556128f3600185613733565b935060209190910190601f19016128dc565b801561034c576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d983836040516020016120439392919061386d565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d984848460405160200161299994939291906138cd565b60408051601f198184030181529190528051602090910120949350505050565b6000806129c78360056137f3565b6129d2906007613733565b90506129e084826008021b90565b60d81c949350505050565b606060006129fc8360ff8616611f2f565b90506000612a158260c5811115611739576117396133f7565b90506000612a23888861200c565b90506000612a318688612aec565b9050612a3e828483612cae565b9998505050505050505050565b6000818311158015612a5e575083518211155b612a9a578383836040517f23230fa300000000000000000000000000000000000000000000000000000000815260040161026493929190613900565b60208401612aa88482613733565b90506000612ab685856137bd565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b6060600061083d8360146000612d06565b600080805b8360ff16811015612b2757612b096117288683611f2f565b612b139083613733565b915080612b1f816135e0565b915050612af1565b509392505050565b600060208201905061034c848483855161286b565b6000612b508585612929565b90506000612b5c825490565b9050612b6c8160ff861685612b9d565b8083559050611203565b61063582600083612b2f565b600080611be08484612929565b606061083d83836000612cae565b60008381612bab8260c81c90565b90506000612bbc878760ff166129b9565b9050808510612be057612bcf81866137bd565b612bd99083613733565b9150612bf7565b612bea85826137bd565b612bf490836137bd565b91505b6000612c048760056137f3565b612c0f906007613733565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c17612746565b6000612c7b868686612960565b9050612c88602084613925565b612c929082613733565b90506000612ca1602085613939565b90506101fb828285612b2f565b60608267ffffffffffffffff811115612cc957612cc96131be565b6040519080825280601f01601f191660200182016040528015612cf3576020820181803683370190505b50905060208101612b2785858584612e49565b60606000612d148560801c90565b90506fffffffffffffffffffffffffffffffff8516600084612d4c57612d3b8660086137f3565b612d47906101006137bd565b612d4f565b60005b90506000868381612d6257612d62613857565b049050612d6f8784613939565b15612dfc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401610264565b602080820201604051955080860160405250808552600060208601855b83831015612e3b578051851c8252600192909201916020909101908901612e19565b505050505050509392505050565b602082048401935060208281612e6157612e61613857565b0691508115612eb25760208290036000600019600883021c1990508554600885021b811984511682821617845250818511612e9d57505061034c565b612ea8600187613733565b9550509283900392015b60208310612eda5783548152612ec9600185613733565b9350601f1990920191602001612eb2565b821561034c576000600019600885021c198251865482169119161782525050505050565b80356001600160801b03198116811461145557600080fd5b60008083601f840112612f2857600080fd5b50813567ffffffffffffffff811115612f4057600080fd5b6020830191508360208260051b8501011115612f5b57600080fd5b9250929050565b60008060008060008060808789031215612f7b57600080fd5b612f8487612efe565b9550612f9260208801612efe565b9450604087013567ffffffffffffffff80821115612faf57600080fd5b818901915089601f830112612fc357600080fd5b813581811115612fd257600080fd5b8a6020828501011115612fe457600080fd5b60208301965080955050606089013591508082111561300257600080fd5b5061300f89828a01612f16565b979a9699509497509295939492505050565b6000806000806080858703121561303757600080fd5b61304085612efe565b935061304e60208601612efe565b93969395505050506040820135916060013590565b6001600160a01b038116811461307857600080fd5b50565b60008060006060848603121561309057600080fd5b61309984612efe565b92506130a760208501612efe565b915060408401356130b781613063565b809150509250925092565b600080600080608085870312156130d857600080fd5b6130e185612efe565b93506130ef60208601612efe565b925060408501356130ff81613063565b91506060850135801515811461311457600080fd5b939692955090935050565b80357fffffffff000000000000000000000000000000000000000000000000000000008116811461145557600080fd5b6000806000806080858703121561316557600080fd5b61316e85612efe565b935061317c60208601612efe565b925061318a6040860161311f565b91506131986060860161311f565b905092959194509250565b6000602082840312156131b557600080fd5b61083d82612efe565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156131fd576131fd6131be565b604052919050565b600067ffffffffffffffff82111561321f5761321f6131be565b50601f01601f191660200190565b600082601f83011261323e57600080fd5b813561325161324c82613205565b6131d4565b81815284602083860101111561326657600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561329957600080fd5b6132a285612efe565b93506132b060208601612efe565b9250604085013567ffffffffffffffff808211156132cd57600080fd5b6132d98883890161322d565b935060608701359150808211156132ef57600080fd5b506132fc8782880161322d565b91505092959194509250565b600067ffffffffffffffff80841115613323576133236131be565b8360051b60206133348183016131d4565b86815291850191818101903684111561334c57600080fd5b865b84811015613380578035868111156133665760008081fd5b61337236828b0161322d565b84525091830191830161334e565b50979650505050505050565b60005b838110156133a757818101518382015260200161338f565b8381111561034c5750506000910152565b600081518084526133d081602086016020860161338c565b601f01601f19169290920160200192915050565b60208152600061083d60208301846133b8565b634e487b7160e01b600052602160045260246000fd5b6000855161341f818460208a0161338c565b80830190507f5f00000000000000000000000000000000000000000000000000000000000000808252865161345b816001850160208b0161338c565b6001920191820152845161347681600284016020890161338c565b845191019061348c81600284016020880161338c565b016002019695505050505050565b600083516134ac81846020880161338c565b8351908301906134c081836020880161338c565b01949350505050565b6040815260006134dc60408301856133b8565b90506001600160a01b03831660208301529392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015613567577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08886030184526135558583516133b8565b9450928501929085019060010161351b565b5092979650505050505050565b634e487b7160e01b600052603260045260246000fd5b805160208083015191908110156135ab576000198160200360031b1b821691505b50919050565b82815260406020820152600061032960408301846133b8565b634e487b7160e01b600052601160045260246000fd5b600060001982036135f3576135f36135ca565b5060010190565b600060ff821660ff84168060ff03821115613617576136176135ca565b019392505050565b600081518084526020808501945080840160005b8381101561364f57815187529582019590820190600101613633565b509495945050505050565b838152606060208201526000613673606083018561361f565b905060ff83166040830152949350505050565b60006020828403121561369857600080fd5b815167ffffffffffffffff8111156136af57600080fd5b8201601f810184136136c057600080fd5b80516136ce61324c82613205565b8181528560208385010111156136e357600080fd5b611d5582602083016020860161338c565b84815260806020820152600061370d608083018661361f565b60ff85166040840152828103606084015261372881856133b8565b979650505050505050565b60008219821115613746576137466135ca565b500190565b838152606060208201526000613764606083018561361f565b828103604084015261377681856133b8565b9695505050505050565b8381526000835161379881602085016020880161338c565b808301905083516137b081602084016020880161338c565b0160200195945050505050565b6000828210156137cf576137cf6135ca565b500390565b838152826020820152606060408201526000611d55606083018461361f565b600081600019048311821515161561380d5761380d6135ca565b500290565b600066ffffffffffffff8083168185168083038211156134c0576134c06135ca565b600060ff821660ff84168082101561384e5761384e6135ca565b90039392505050565b634e487b7160e01b600052601260045260246000fd5b83815282602082015260806040820152600061388c608083018461361f565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b8481528360208201526080604082015260006138ec608083018561361f565b905060ff8316606083015295945050505050565b60608152600061391360608301866133b8565b60208301949094525060400152919050565b60008261393457613934613857565b500490565b60008261394857613948613857565b50069056fea164736f6c634300080d000a"; - -type WorldRegistrationSystemConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: WorldRegistrationSystemConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class WorldRegistrationSystem__factory extends ContractFactory { - constructor(...args: WorldRegistrationSystemConstructorParams) { - 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): WorldRegistrationSystem { - return super.attach(address) as WorldRegistrationSystem; - } - override connect(signer: Signer): WorldRegistrationSystem__factory { - return super.connect(signer) as WorldRegistrationSystem__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): WorldRegistrationSystemInterface { - return new utils.Interface(_abi) as WorldRegistrationSystemInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): WorldRegistrationSystem { - return new Contract( - address, - _abi, - signerOrProvider - ) as WorldRegistrationSystem; - } -} diff --git a/packages/world/types/ethers-contracts/factories/World__factory.ts b/packages/world/types/ethers-contracts/factories/World__factory.ts deleted file mode 100644 index ef7f4a534f..0000000000 --- a/packages/world/types/ethers-contracts/factories/World__factory.ts +++ /dev/null @@ -1,964 +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 { World, WorldInterface } from "../World"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - { - internalType: "address", - name: "caller", - type: "address", - }, - ], - name: "AccessDenied", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "functionSelector", - type: "bytes4", - }, - ], - name: "FunctionSelectorNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "InvalidSelector", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "module", - type: "string", - }, - ], - name: "ModuleAlreadyInstalled", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceExists", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "resource", - type: "string", - }, - ], - name: "ResourceNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_DataIndexOverflow", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "system", - type: "address", - }, - ], - name: "SystemExists", - type: "error", - }, - { - anonymous: false, - inputs: [], - name: "HelloWorld", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - stateMutability: "payable", - type: "fallback", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes", - name: "funcSelectorAndArgs", - type: "bytes", - }, - ], - name: "call", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "contract IModule", - name: "module", - type: "address", - }, - { - internalType: "bytes", - name: "args", - type: "bytes", - }, - ], - name: "installRootModule", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes16", - name: "namespace", - type: "bytes16", - }, - { - internalType: "bytes16", - name: "name", - type: "bytes16", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - stateMutability: "payable", - type: "receive", - }, -] as const; - -const _bytecode = - "0x6080604052348015630000001257600080fd5b50630000002b630000009160201b6300000e231760201c565b630000004363000002d460201b6300000ffe1760201c565b6300000061600060801b33630000034660201b63000010611760201c565b6040517f7fffb7bdf7d16635144da549e9a4eedff43ed43d64e49e18d7e365f9e552123290600090a163000032ad565b60408051676d756473746f726560c01b602082015265736368656d6160d01b60308201526300000114910160405160208183030381529060405263000000d8906300002cc7565b63000000f3605f80630000042360201b630000113c1760201c565b630000010d605f630000050860201b63000011f11760201c565b6300000596565b630000012c630000064360201b63000012621760201c565b630000014463000006a160201b63000012b21760201c565b630000015c63000006fb60201b63000013121760201c565b6300000174630000077060201b630000136b1760201c565b60408051600280825260608201909252600091816020015b6060815260200190600190039081630000018c5790505090506040518060400160405280600b81526020016a76616c7565536368656d6160a81b8152508160008151811063000001e25763000001e26300002d06565b6020026020010181905250604051806040016040528060098152602001686b6579536368656d6160b81b8152508160018151811063000002285763000002286300002d06565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b6030820152815180820390930183528101905263000002d190630000027b906300002cc7565b60405180604001604052806006815260200165736368656d6160d01b8152508360405160200163000002af91906300002dde565b60405160208183030381529060405263000007be60201b63000013c11760201c565b50565b60408051600060208201526d2730b6b2b9b830b1b2a7bbb732b960911b6030820152630000034491016040516020818303038152906040526300000319906300002cc7565b63000003256300000884565b6300000331630000091f565b630000095f60201b63000014781760201c565b565b60408051600180825281830190925260009160208083019080368337019050509050826001600160801b03191681600081518110630000038c57630000038c6300002d06565b602090810291909101810191909152604080516000818401526d2730b6b2b9b830b1b2a7bbb732b960911b60308201528151808203909301835281019052630000041e9063000003dd906300002cc7565b6040516001600160601b0319606086901b166020820152839060009060340160405160208183030381529060405263000009f660201b63000015051760201c565b505050565b60408051600280825260608201835260009283929190602083019080368337019050509050838160008151811063000004625763000004626300002d06565b602002602001019060c581111563000004815763000004816300002df5565b908160c5811115630000049a57630000049a6300002df5565b81525050828160018151811063000004b85763000004b86300002d06565b602002602001019060c581111563000004d75763000004d76300002df5565b908160c581111563000004f05763000004f06300002df5565b9052506300000500816300000a96565b949350505050565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811063000005475763000005476300002d06565b602002602001019060c581111563000005665763000005666300002df5565b908160c5811115630000057f57630000057f6300002df5565b905250630000058f816300000a96565b9392505050565b63000005b46000836300000ca460201b63000015991790919060201c565b63000005d26001826300000ca460201b63000015991790919060201c565b63000005df836300000eca565b15630000062857826300000600846300000f0460201b63000017671760201c565b60405163051eeee360e21b8152600401630000061f9291906300002e0b565b60405180910390fd5b630000041e8383836300000f3160201b63000017921760201c565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b6030820152630000034491016040516020818303038152906040526300000689906300002cc7565b630000069563000010f3565b63000003316300001133565b60408051676d756473746f726560c01b60208201526c53746f72654d6574616461746160981b60308201526300000344910160405160208183030381529060405263000006ef906300002cc7565b63000006956300001173565b600080630000070a630000120a565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b6030820152929450909250630000076c91015b6040516020818303038152906040526300000757906300002cc7565b838363000012aa60201b63000018e41760201c565b5050565b600080630000077f6300001303565b60408051676d756473746f726560c01b60208201526c53746f72654d6574616461746160981b6030820152929450909250630000076c9101630000073b565b600063000007ce83836300001408565b60408051600180825281830190925291925060009190602080830190803683370190505090508481600081518110630000080e57630000080e6300002d06565b60209081029190910181019190915260408051676d756473746f726560c01b818401526c53746f72654d6574616461746160981b60308201528151808203909301835281019052630000087d906300000868906300002cc7565b8284630000150260201b630000193c1760201c565b5050505050565b6040805160018082528183019092526000918291906020808301908036833701905050905060618160008151811063000008c45763000008c46300002d06565b602002602001019060c581111563000008e35763000008e36300002df5565b908160c581111563000008fc5763000008fc6300002df5565b815250506300000919816300000a9660201b63000019941760201c565b91505090565b60408051600180825281830190925260009182919060208083019080368337019050509050604f8160008151811063000008c45763000008c46300002d06565b630000096b630000155b565b15630000098d57630000041e838383630000059660201b6300001be21760201c565b604051636ac99b4360e11b8152600481018490526024810183905260448101829052339063d5933686906064015b600060405180830381600087803b15801563000009d757600080fd5b505af115801563000009ed573d6000803e3d6000fd5b50505050505050565b6300000a02630000155b565b156300000a2c576300000a258484848463000015d460201b6300001c4f1760201c565b6300000a90565b6040516308a5393360e11b8152339063114a7266906300000a599087908790879087906004016300002e67565b600060405180830381600087803b1580156300000a7557600080fd5b505af11580156300000a8b573d6000803e3d6000fd5b505050505b50505050565b6000601c825111156300000ac4578151604051635318beb960e01b8152600401630000061f91815260200190565b60008060008060005b86518110156300000bf45760006300000b298883815181106300000af7576300000af76300002d06565b602002602001015160c58111156300000b16576300000b166300002df5565b630000181d60201b6300001e201760201c565b905061ffff8116156300000b705782156300000b5857604051633c795af960e21b815260040160405180910390fd5b836300000b66816300002eb9565b9450506300000b75565b600192505b6300000b8381866300002ede565b94506300000be7866300000b9a8460046300002f0a565b8a85815181106300000bb2576300000bb26300002d06565b602002602001015160c58111156300000bd1576300000bd16300002df5565b60f81b63000018fa60201b6300001ed11760201c565b9550506001016300000acd565b5060008287516300000c0891906300002f28565b905060058160ff1611156300000c3857604051635318beb960e01b815260ff82166004820152602401630000061f565b6300000c578560008660f01b630000193060201b6300001f071760201c565b94506300000c788560028560f81b63000018fa60201b6300001ed11760201c565b94506300000c998560038360f81b63000018fa60201b6300001ed11760201c565b979650505050505050565b801580156300000cc857506300000cc882630000194e60201b6300001f3d1760201c565b156300000ced57604051635318beb960e01b815260006004820152602401630000061f565b60006300000d0883630000195260201b6300001f411760201c565b60ff16905060058111156300000d3657604051635318beb960e01b815260048101829052602401630000061f565b60006300000d5184630000197860201b6300001f521760201c565b60ff169050601c6300000d6683836300002f0a565b11156300000d9a576300000d7c82826300002f0a565b604051635318beb960e01b8152600401630000061f91815260200190565b60008060005b6300000dae85856300002f0a565b8110156300000e735760006300000df26300000ddb838a630000199560201b6300001f5e1790919060201c565b60c58111156300000b16576300000b166300002df5565b11156300000e34578381106300000e1c57604051633c795af960e21b815260040160405180910390fd5b826300000e2a816300002f51565b9350506300000e69565b838110156300000e5757604051633c795af960e21b815260040160405180910390fd5b816300000e65816300002f51565b9250505b6001016300000da0565b508282146300000e9b57604051635318beb960e01b815260048101839052602401630000061f565b8381146300000ec257604051635318beb960e01b815260048101829052602401630000061f565b505050505050565b60006300000efd6300000eea8363000019d960201b6300001f8a1760201c565b630000194e60201b6300001f3d1760201c565b1592915050565b6060816040516020016300000f1b91815260200190565b6040516020818303038152906040529050919050565b6040805160018082528183019092526000916020808301908036833701905050905083816000815181106300000f6d576300000f6d6300002d06565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b603082015281518082039093018352810190526000906300000fcb906300000fc3906300002cc7565b836300001a9d565b90506300000fff816300000fec866300001ae760201b630000200f1760201c565b6300001aea60201b630000182e1760201c565b630000102c63000010138260016300002f0a565b6300000fec856300001ae760201b630000200f1760201c565b60408051676d756473746f726560c01b602082015265736368656d6160d01b60308201526000805160206300008bad8339815191529101604051602081830303815290604052630000107f906300002cc7565b836300001099876300001ae760201b630000200f1760201c565b63000010b2876300001ae760201b630000200f1760201c565b60408051602081019390935282015260600160408051601f198184030181529082905263000010e49392916300002f70565b60405180910390a15050505050565b6040805160018082528183019092526000918291906020808301908036833701905050905060c38160008151811063000008c45763000008c46300002d06565b60408051600180825281830190925260009182919060208083019080368337019050509050605f8160008151811063000008c45763000008c46300002d06565b6040805160028082526060820183526000928392919060208301908036833701905050905060c58160008151811063000011b35763000011b36300002d06565b602002602001019060c581111563000011d25763000011d26300002df5565b908160c581111563000011eb5763000011eb6300002df5565b8152505060c48160018151811063000008c45763000008c46300002d06565b6040805160018082528183019092526060918291600091816020015b606081526020019060019003908163000012265790505090506040518060400160405280600581526020016476616c756560d81b8152508160008151811063000012765763000012766300002d06565b60200260200101819052508060405180604001604052806005815260200164486f6f6b7360d81b8152509092509250509091565b63000012b6630000155b565b1563000012d857630000041e8383836300001aee60201b63000020121760201c565b60405163fe86a89f60e01b8152339063fe86a89f9063000009bb908690869086906004016300002fad565b60408051600280825260608281019093528291600091816020015b6060815260200190600190039081630000131e579050509050604051806040016040528060098152602001687461626c654e616d6560b81b8152508160008151811063000013725763000013726300002d06565b60200260200101819052506040518060400160405280601481526020017f616269456e636f6465644669656c644e616d65730000000000000000000000008152508160018151811063000013cc5763000013cc6300002d06565b6020026020010181905250806040518060400160405280600d81526020016c53746f72654d6574616461746160981b8152509092509250509091565b6040805160028082526060808301845292600092919060208301908036833701905050905083518160008151811063000014485763000014486300002d06565b602002602001019064ffffffffff16908164ffffffffff1681525050825181600181518110630000147f57630000147f6300002d06565b602002602001019064ffffffffff16908164ffffffffff1681525050600063000014b6826300001b8f60201b630000209c1760201c565b905063000014d1816300001ae760201b630000200f1760201c565b858560405160200163000014e9939291906300002fe0565b6040516020818303038152906040529250505092915050565b630000150e630000155b565b15630000153057630000041e8383836300001c5f60201b63000021791760201c565b604051638ed41f2f60e01b81523390638ed41f2f9063000009bb908690869086906004016300002f70565b6000303b808203630000157057600191505090565b306001600160a01b031663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801563000015ab57600080fd5b505afa92505050801563000015be575060015b63000015cc57600091505090565b600191505090565b600063000015e3856300001f2b565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4685858585604051630000161e94939291906300002e67565b60405180910390a160006300001641866300001fa660201b630000234d1760201c565b905060005b815181101563000016fb576000828281518110630000166b57630000166b6300002d06565b60200260200101519050806001600160a01b031663469b7ee2898989896040518563ffffffff1660e01b815260040163000016ab94939291906300002e67565b600060405180830381600087803b15801563000016c757600080fd5b505af115801563000016dd573d6000803e3d6000fd5b5050505050808063000016f1906300002f51565b9150506300001646565b50630000171582630000197860201b6300001f521760201c565b60ff168460ff16101563000017485763000017418686848787630000208860201b63000023fb1760201c565b6300001765565b63000017658686848787630000215460201b63000024a11760201c565b60005b815181101563000009ed576000828281518110630000178d57630000178d6300002d06565b60200260200101519050806001600160a01b0316636b3d7d5f898989896040518563ffffffff1660e01b815260040163000017cd94939291906300002e67565b600060405180830381600087803b15801563000017e957600080fd5b505af115801563000017ff573d6000803e3d6000fd5b505050505080806300001813906300002f51565b9150506300001768565b6000808260c581111563000018385763000018386300002df5565b60ff1690506020811015630000185757630000058f8160016300002f0a565b6040811015630000188157602063000018738260016300002f0a565b630000058f91906300003025565b6060811015630000189d57604063000018738260016300002f0a565b60608360c581111563000018b75763000018b76300002df5565b0363000018c75750600192915050565b60618360c581111563000018e15763000018e16300002df5565b0363000018f15750601492915050565b50600092915050565b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c6001600160f01b031990911c198416179392505050565b1590565b6000630000196f82600363000021c360201b6300001f6f1760201c565b60f81c92915050565b6000630000196f82600263000021c360201b6300001f6f1760201c565b600063000019bf8363000019ac8460046300002f0a565b63000021c360201b6300001f6f1760201c565b60f81c60c5811115630000058f57630000058f6300002df5565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106300001a18576300001a186300002d06565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b603082015281518082039093018352810190526000906300001a82906300001a6e906300002cc7565b836300001a9d60201b63000024de1760201c565b905063000005008163000021ca60201b63000025341760201c565b60006000805160206300008b8d83398151915283836040516020016300001ac8939291906300003042565b60408051601f1981840301815291905280516020909101209392505050565b90565b9055565b60006300001afd846300001f2b565b90508151600014806300001b2c57506300001b258163000021ce60201b63000025381760201c565b60ff168251145b6300001b73576300001b4b8163000021ce60201b63000025381760201c565b825160405163f2b2755960e01b815260ff90921660048301526024820152604401630000061f565b6300000a9084848460405160200163000002af91906300002dde565b6000806000805b84518110156300001c3f576300001bfb836300001bb68360056300003065565b6300001bc59060076300002f0a565b8784815181106300001bdd576300001bdd6300002d06565b602002602001015160d81b63000021fe60201b63000025561760201c565b92508481815181106300001c15576300001c156300002d06565b602002602001015164ffffffffff16826300001c339190630000308a565b91506001016300001b96565b5063000005008260008360c81b630000221c60201b630000258c1760201c565b60006300001c6e846300001f2b565b90506000806300001c8d8385630000223a60201b63000025c21760201c565b915091506000805160206300008bad8339815191528686866040516300001cb8939291906300002f70565b60405180910390a160006300001cdb876300001fa660201b630000234d1760201c565b905060005b81518110156300001d935760008282815181106300001d05576300001d056300002d06565b60200260200101519050806001600160a01b03166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016300001d43939291906300002f70565b600060405180830381600087803b1580156300001d5f57600080fd5b505af11580156300001d75573d6000803e3d6000fd5b505050505080806300001d89906300002f51565b9150506300001ce0565b5060006300001db088886300001a9d60201b63000024de1760201c565b905060006300001dcd87630000231260201b63000026601760201c565b90506300001dec8260008388630000231860201b63000026661760201c565b6300001dfb8560206300002f0a565b6300001e0990826300002f0a565b90506300001e2486630000195260201b6300001f411760201c565b60ff166000036300001e3b57505050505050505050565b60006300001e578a8a630000241360201b63000027241760201c565b90506300001e78816300000fec876300001ae760201b630000200f1760201c565b60008060005b6300001e978a630000195260201b6300001f411760201c565b60ff168160ff1610156300001f1c576300001ec18d8d83630000243e60201b630000275b1760201c565b92506300001ee38160ff1689630000248b60201b63000027b41790919060201c565b91506300001f028360008785630000231860201b63000026661760201c565b6300001f1082866300002f0a565b94506001016300001e7e565b50505050505050505050505050565b60006300001f468263000019d960201b6300001f8a1760201c565b90506300001f6181630000194e60201b6300001f3d1760201c565b156300001fa157816300001f82836300000f0460201b63000017671760201c565b60405163d623a70d60e01b8152600401630000061f9291906300002e0b565b919050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106300001fe6576300001fe66300002d06565b60209081029190910181019190915260408051676d756473746f726560c01b8184015264486f6f6b7360d81b60308201528151808203909301835281019052600090630000205190630000203b906300002cc7565b83600063000024d360201b63000027e61760201c565b9050630000050063000020758260008451630000258260201b630000288c1760201c565b630000260060201b630000291c1760201c565b600063000020aa8360ff1685630000199560201b6300001f5e1790919060201c565b9050815163000020cb8260c58111156300000b16576300000b166300002df5565b1463000021155763000020ef8160c58111156300000b16576300000b166300002df5565b825160405163521b3d3360e01b815260048101929092526024820152604401630000061f565b6000630000212587876300001a9d565b90506000630000213786866300002621565b90506300000a8b828286630000268560201b630000292d1760201c565b6000630000216f84630000197860201b6300001f521760201c565b630000217d90846300002f28565b90506300002196868683855163000026a460201b60201c565b600063000021a7878784630000243e565b905063000009ed8184630000271660201b63000029421760201c565b6008021b90565b5490565b600063000021dd826300001952565b63000021ea836300001978565b63000021f8919063000030b2565b92915050565b6008820281811c6001600160d81b031990911c198416179392505050565b6008820281811c6001600160c81b031990911c198416179392505050565b600080630000225684630000272660201b630000294e1760201c565b915060008290506000630000227886630000195260201b6300001f411760201c565b60ff16111563000022d857630000229d8484630000272c60201b63000029541760201c565b915063000022b882630000273460201b630000295c1760201c565b63000022c79060206300002f0a565b63000022d590826300002f0a565b90505b83518114630000230a57835160405163521b3d3360e01b8152630000061f918391600401918252602082015260400190565b509250929050565b60200190565b602083048401935060208381630000233657630000233663000030dd565b069250821563000023ac5760008360200390506000630000236483630000273a60201b63000029621760201c565b90506008850281811c91508451811c905081198754168282161787555081831163000023935750506300000a90565b63000023a26001876300002f0a565b9550509182019190035b6020811063000023dd578151845563000023c96001856300002f0a565b935060209190910190601f190163000023ac565b80156300000a90576000630000240082630000273a60201b63000029621760201c565b8554845182169119161785555050505050565b60006000805160206300008b8d83398151915283836040516020016300001ac89392919063000030f3565b60006000805160206300008b8d833981519152848484604051602001630000246b94939291906300003140565b60408051601f198184030181529190528051602090910120949350505050565b600080630000249d8360056300003065565b63000024ac9060076300002f0a565b905063000024c8848263000021c360201b6300001f6f1760201c565b60d81c949350505050565b606063000024e1630000155b565b15630000250c576300002503848484630000274760201b630000296f1760201c565b9050630000058f565b60405163340fb6e360e21b8152339063d03edb8c906300002537908790879087906004016300003177565b600060405180830381865afa1580156300002556573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526300002503919081019063000031a7565b60008183111580156300002597575083518211155b63000025c0578383836040516323230fa360e01b8152600401630000061f939291906300003260565b6020840163000025d284826300002f0a565b9050600063000025e485856300003025565b6001600160801b031660809290921b9190911795945050505050565b60606000630000058f8360146000630000277360201b630000298a1760201c565b600080805b8360ff16811015630000267d5763000026556300000ddb8287630000199560201b6300001f5e1790919060201c565b630000266390836300002f0a565b9150806300002673816300002f51565b9150506300002626565b509392505050565b60006020820190506300000a908484838551630000231860201b60201c565b600063000026b485856300002413565b9050600063000026d18263000021ca60201b63000025341760201c565b905063000026f58460ff16848363000028d360201b6300002acd179092919060201c565b90506300000ec2826300000fec836300001ae760201b630000200f1760201c565b630000076c826000836300002685565b60f01c90565b016020015190565b60c81c90565b60001960089091021c1990565b606060006300002758856300001f2b565b9050630000276a8585858463000029b4565b95945050505050565b606060006300002790856300002a1f60201b6300002ba61760201c565b9050600063000027ad866300002a2560201b6300002bac1760201c565b905060008463000027de5763000027c78660086300003065565b63000027d7906101006300003025565b63000027e1565b60005b9050600086838163000027fa5763000027fa63000030dd565b049050630000280b87846300003289565b1563000028825760405162461bcd60e51b815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401630000061f565b602080820201604051955080860160405250808552600060208601855b8383101563000028c5578051851c8252600192909201916020909101908901630000289f565b505050505050509392505050565b6000838163000028e38260c81c90565b9050600063000028f88760ff8816630000248b565b9050808510630000292857630000291181866300003025565b630000291f90836300002f0a565b91506300002947565b630000293685826300003025565b630000294490836300003025565b91505b600063000029588760056300003065565b63000029679060076300002f0a565b905063000029888460008560c81b630000221c60201b630000258c1760201c565b935063000029a884828860d81b63000021fe60201b63000025561760201c565b98975050505050505050565b606063000029cf82630000197860201b6300001f521760201c565b60ff168360ff1610156300002a035763000029fa858585856300002a3160201b6300002bc11760201c565b90506300000500565b63000029fa858585856300002ac460201b6300002c211760201c565b60801c90565b6001600160801b031690565b606060006300002a558460ff1684630000199560201b6300001f5e1790919060201c565b905060006300002a768260c58111156300000b16576300000b166300002df5565b905060006300002a8888886300001a9d565b905060006300002a9a86886300002621565b90506300002ab78284836300002b4f60201b6300002c6e1760201c565b9998505050505050505050565b606060006300002ae183630000197860201b6300001f521760201c565b6300002aef90856300002f28565b905060006300002b02878784630000243e565b905060006300002b3360ff84166300002b1d8a8a6300002bb2565b630000248b60201b63000027b41790919060201c565b905063000029a882826300002bc360201b6300002cce1760201c565b6060826001600160401b038111156300002b6f576300002b6f6300002cf0565b6040519080825280601f01601f1916602001820160405280156300002b9b576020820181803683370190505b50905060208101630000267d858585846300002bd5565b6000806300001a8284846300002413565b6060630000058f838360006300002b4f565b6020820484019350602082816300002bf3576300002bf363000030dd565b06915081156300002c6157600082602003905060006300002c2182630000273a60201b63000029621760201c565b90508554600885021b8119845116828216178452508185116300002c485750506300000a90565b6300002c576001876300002f0a565b9550509283900392015b602083106300002c9157835481526300002c7e6001856300002f0a565b9350601f19909201916020016300002c61565b82156300000a905760006300002cb484630000273a60201b63000029621760201c565b8251865482169119161782525050505050565b805160208083015191908110156300002cea576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b838110156300002d3b5781810151838201526020016300002d1f565b838111156300000a905750506000910152565b600081518084526300002d6a8160208601602086016300002d1c565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b848110156300002dd157601f198684030189526300002dbd8383516300002d4e565b988401989250908301906001016300002d9b565b5090979650505050505050565b602081526000630000058f60208301846300002d7e565b634e487b7160e01b600052602160045260246000fd5b828152604060208201526000630000050060408301846300002d4e565b600081518084526020808501945080840160005b838110156300002e5c578151875295820195908201906001016300002e3c565b509495945050505050565b8481526080602082015260006300002e8460808301866300002e28565b60ff8516604084015282810360608401526300000c9981856300002d4e565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff81036300002ed5576300002ed56300002ea3565b60010192915050565b600061ffff8083168185168083038211156300002f01576300002f016300002ea3565b01949350505050565b600082198211156300002f23576300002f236300002ea3565b500190565b600060ff821660ff8416808210156300002f48576300002f486300002ea3565b90039392505050565b6000600182016300002f69576300002f696300002ea3565b5060010190565b8381526060602082015260006300002f8d60608301856300002e28565b82810360408401526300002fa381856300002d4e565b9695505050505050565b8381526060602082015260006300002fca60608301856300002d4e565b82810360408401526300002fa381856300002d7e565b838152600083516300002ffc8160208501602088016300002d1c565b8083019050835163000030188160208401602088016300002d1c565b0160200195945050505050565b600082821015630000303d57630000303d6300002ea3565b500390565b838152826020820152606060408201526000630000276a60608301846300002e28565b600081600019048311821515161563000030855763000030856300002ea3565b500290565b600066ffffffffffffff8083168185168083038211156300002f01576300002f016300002ea3565b600060ff821660ff84168060ff0382111563000030d55763000030d56300002ea3565b019392505050565b634e487b7160e01b600052601260045260246000fd5b838152826020820152608060408201526000630000311660808301846300002e28565b828103606084015260068152650d8cadccee8d60d31b602082015260408101915050949350505050565b848152836020820152608060408201526000630000316360808301856300002e28565b905060ff8316606083015295945050505050565b838152606060208201526000630000319460608301856300002e28565b905060ff83166040830152949350505050565b60006020828403121563000031bb57600080fd5b81516001600160401b038082111563000031d457600080fd5b818401915084601f83011263000031ea57600080fd5b81518181111563000032025763000032026300002cf0565b604051601f8201601f19908116603f0116810190838211818310171563000032305763000032306300002cf0565b81604052828152876020848701011115630000324b57600080fd5b6300000c998360208301602088016300002d1c565b606081526000630000327760608301866300002d4e565b60208301949094525060400152919050565b60008263000032a857634e487b7160e01b600052601260045260246000fd5b500690565b6158cf8063000032be6000396000f3fe6080604052600436106101795760003560e01c80639146e7c8116100cb578063cc49db7e1161007f578063d4285dc211610059578063d4285dc214610510578063d491953a14610530578063e3f8cc6b1461055057610180565b8063cc49db7e146104b0578063d03edb8c146104d0578063d3a26b06146104f057610180565b8063a2ea7c6e116100b0578063a2ea7c6e14610464578063a5c2f00714610484578063af068c9e1461049057610180565b80639146e7c8146104165780639f1fcf0a1461043657610180565b80636e627cb81161012d578063832f05f411610107578063832f05f4146103c35780638c1f9a54146103d65780638ed41f2f146103f657610180565b80636e627cb814610363578063776d40471461038357806377841557146103a357610180565b806311c73ffb1161015e57806311c73ffb146102ed578063419b58fd1461030d578063505a181d1461034357610180565b80630c1a6000146102ab578063114a7266146102cd57610180565b3661018057005b60008060006101b26000357fffffffff0000000000000000000000000000000000000000000000000000000016610570565b919450925090506fffffffffffffffffffffffffffffffff1983161580156101eb57506fffffffffffffffffffffffffffffffff198216155b1561024d576040517f3c2432e50000000000000000000000000000000000000000000000000000000081527fffffffff000000000000000000000000000000000000000000000000000000006000351660048201526024015b60405180910390fd5b60006102916000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525092508691506106569050565b905060006102a185858434610689565b9050805160208201f35b3480156102b757600080fd5b506102cb6102c6366004614991565b610890565b005b3480156102d957600080fd5b506102cb6102e8366004614991565b6108b0565b3480156102f957600080fd5b506102cb610308366004614a3d565b6108c8565b34801561031957600080fd5b5061032d610328366004614ab3565b610951565b60405161033a9190614b5e565b60405180910390f35b34801561034f57600080fd5b506102cb61035e366004614b71565b61099b565b34801561036f57600080fd5b506102cb61037e366004614bbd565b6109b5565b34801561038f57600080fd5b506102cb61039e366004614c66565b610a41565b3480156103af57600080fd5b506102cb6103be366004614cdd565b610a5a565b61032d6103d1366004614e24565b610aaa565b3480156103e257600080fd5b506102cb6103f1366004614e86565b610ac0565b34801561040257600080fd5b506102cb610411366004614eec565b610ade565b34801561042257600080fd5b506102cb610431366004614bbd565b610af5565b34801561044257600080fd5b50610456610451366004614fdb565b610b77565b60405190815260200161033a565b34801561047057600080fd5b5061045661047f36600461503a565b610b85565b3480156102cb57600080fd5b34801561049c57600080fd5b506102cb6104ab366004615053565b610b98565b3480156104bc57600080fd5b5061032d6104cb366004614b71565b610ca2565b3480156104dc57600080fd5b5061032d6104eb3660046150af565b610ce1565b3480156104fc57600080fd5b5061032d61050b36600461510d565b610d22565b34801561051c57600080fd5b5061045661052b36600461503a565b610d3d565b34801561053c57600080fd5b506102cb61054b366004615180565b610d48565b34801561055c57600080fd5b506102cb61056b366004615232565b610dd7565b6040805160018082528183019092526000918291829182919060208083019080368337019050509050847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916816000815181106105cc576105cc615297565b6020908102919091018101919091526040805160009281018390527f46756e6374696f6e53656c6563746f72000000000000000000000000000000006030820152610638910160405160208183030381529060405261062a906152ad565b83610633612cdc565b612ddf565b60208101516030820151604090920151909891975095509350505050565b82820160200180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1682179052825b9392505050565b6060608084901c6fffffffffffffffffffffffffffffffff198616176000806106b183612e39565b90925090506001600160a01b038216610700576106cd83612ef0565b6040517fef28802c0000000000000000000000000000000000000000000000000000000081526004016102449190614b5e565b8061071257610710888833612fdf565b505b600061071d84613046565b905060005b81518110156107bf57600082828151811061073f5761073f615297565b60200260200101519050806001600160a01b03166381351e6b33878c6040518463ffffffff1660e01b8152600401610779939291906152d4565b600060405180830381600087803b15801561079357600080fd5b505af11580156107a7573d6000803e3d6000fd5b505050505080806107b790615316565b915050610722565b506107e13384896fffffffffffffffffffffffffffffffff198d16158a6130cb565b945060005b815181101561088357600082828151811061080357610803615297565b60200260200101519050806001600160a01b031663172f5b1133878c6040518463ffffffff1660e01b815260040161083d939291906152d4565b600060405180830381600087803b15801561085757600080fd5b505af115801561086b573d6000803e3d6000fd5b5050505050808061087b90615316565b9150506107e6565b5050505050949350505050565b6108a88661089e8860801b90565b87878787876109b5565b505050505050565b6108a8866108be8860801b90565b8787878787610af5565b60006108d5878733612fdf565b90506109488186868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a01819004810282018101909252888152925088915087908190840183828082843760009201919091525061217992505050565b50505050505050565b6060610992858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508792506131d2915050565b95945050505050565b6109b0836109a98560801b90565b8484610dd7565b505050565b60006109c2888833612fdf565b9050610a378187878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061333792505050565b5050505050505050565b61094887610a4f8960801b90565b888888888888610d48565b6000610a67878733612fdf565b9050610948818686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508892508791506135409050565b6060610ab884848434610689565b949350505050565b610ad785610ace8760801b90565b86868686610a5a565b5050505050565b610ad785610aec8760801b90565b868686866108c8565b6000610b02888833612fdf565b9050610a378187878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611c4f92505050565b60006109928585858561374d565b6000610b90826137b7565b92915050565b565b610ba46000803361380c565b50610c2b33836313861fb560e01b84604051602401610bc39190614b5e565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600160006130cb565b50610c9e826001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c919190615330565b8251602084012084613867565b5050565b6060610ab88484848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061392b92505050565b60606109928585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525087925061296f915050565b6060610d32878787878787613945565b979650505050505050565b6000610b90826139c2565b6000610d55898933612fdf565b9050610dcc8188888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528b93508a92509089908990819084018382808284376000920191909152506139e692505050565b505050505050505050565b6000610de4858533612fdf565b9050610ad781848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613c6d92505050565b60408051676d756473746f726560c01b602082015265736368656d6160d01b6030820152610e7e9101604051602081830303815290604052610e64906152ad565b610e6f605f8061113c565b610e79605f6111f1565b611be2565b610e86611262565b610e8e6112b2565b610e96611312565b610e9e61136b565b60408051600280825260608201909252600091816020015b6060815260200190600190039081610eb65790505090506040518060400160405280600b81526020017f76616c7565536368656d6100000000000000000000000000000000000000000081525081600081518110610f1657610f16615297565b60200260200101819052506040518060400160405280600981526020017f6b6579536368656d61000000000000000000000000000000000000000000000081525081600181518110610f6a57610f6a615297565b60209081029190910181019190915260408051676d756473746f726560c01b8184015265736368656d6160d01b60308201528151808203909301835281019052610ffb90610fb7906152ad565b60405180604001604052806006815260200165736368656d6160d01b81525083604051602001610fe7919061539f565b6040516020818303038152906040526113c1565b50565b60408051600060208201527f4e616d6573706163654f776e65720000000000000000000000000000000000006030820152610b96910160405160208183030381529060405261104c906152ad565b611054613df6565b61105c613e30565b611478565b60408051600180825281830190925260009160208083019080368337019050509050826fffffffffffffffffffffffffffffffff1916816000815181106110aa576110aa615297565b602090810291909101810191909152604080516000818401527f4e616d6573706163654f776e6572000000000000000000000000000000000000603082015281518082039093018352810190526109b090611104906152ad565b6040516bffffffffffffffffffffffff19606086901b1660208201528390600090603401604051602081830303815290604052611505565b60408051600280825260608201835260009283929190602083019080368337019050509050838160008151811061117557611175615297565b602002602001019060c581111561118e5761118e6153b2565b908160c58111156111a1576111a16153b2565b8152505082816001815181106111b9576111b9615297565b602002602001019060c58111156111d2576111d26153b2565b908160c58111156111e5576111e56153b2565b905250610ab881611994565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061122a5761122a615297565b602002602001019060c5811115611243576112436153b2565b908160c5811115611256576112566153b2565b90525061068281611994565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b6030820152610b9691016040516020818303038152906040526112a2906152ad565b6112aa613e6a565b61105c613ea4565b60408051676d756473746f726560c01b60208201527f53746f72654d65746164617461000000000000000000000000000000000000006030820152610b96910160405160208183030381529060405261130a906152ad565b6112aa613ede565b60008061131d613f5d565b60408051676d756473746f726560c01b602082015264486f6f6b7360d81b6030820152929450909250610c9e91015b604051602081830303815290604052611364906152ad565b83836118e4565b60008061137661400d565b60408051676d756473746f726560c01b60208201527f53746f72654d65746164617461000000000000000000000000000000000000006030820152929450909250610c9e910161134c565b60006113cd8383614128565b6040805160018082528183019092529192506000919060208083019080368337019050509050848160008151811061140757611407615297565b60209081029190910181019190915260408051676d756473746f726560c01b928101929092527f53746f72654d65746164617461000000000000000000000000000000000000006030830152610ad791015b604051602081830303815290604052611471906152ad565b828461193c565b6114806141ea565b15611490576109b0838383611be2565b6040517fd5933686000000000000000000000000000000000000000000000000000000008152600481018490526024810183905260448101829052339063d5933686906064015b600060405180830381600087803b1580156114f157600080fd5b505af1158015610948573d6000803e3d6000fd5b61150d6141ea565b156115235761151e84848484611c4f565b611593565b6040517f114a7266000000000000000000000000000000000000000000000000000000008152339063114a726690611565908790879087908790600401615403565b600060405180830381600087803b15801561157f57600080fd5b505af1158015610a37573d6000803e3d6000fd5b50505050565b801580156115a5575081155b156115c657604051635318beb960e01b815260006004820152602401610244565b60006115d183611f41565b60ff16905060058111156115fb57604051635318beb960e01b815260048101829052602401610244565b600061160684611f52565b60ff169050601c6116178383615437565b1115611643576116278282615437565b604051635318beb960e01b815260040161024491815260200190565b60008060005b6116538585615437565b81101561172057600061167f6116698984611f5e565b60c581111561167a5761167a6153b2565b611e20565b11156116d0578381106116be576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826116c881615316565b935050611718565b8381101561170a576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8161171481615316565b9250505b600101611649565b5082821461174457604051635318beb960e01b815260048101839052602401610244565b8381146108a857604051635318beb960e01b815260048101829052602401610244565b60608160405160200161177c91815260200190565b6040516020818303038152906040529050919050565b6040805160018082528183019092526000916020808301908036833701905050905083816000815181106117c8576117c8615297565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b603083015260009161182491015b60405160208183030381529060405261181e906152ad565b836124de565b8481559050611832565b9055565b611845611840826001615437565b849055565b60408051676d756473746f726560c01b602082015265736368656d6160d01b60308201527f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee3291016040516020818303038152906040526118a4906152ad565b83868660408051602081019390935282015260600160408051601f19818403018152908290526118d593929161544f565b60405180910390a15050505050565b6118ec6141ea565b156118fc576109b0838383612012565b6040517ffe86a89f000000000000000000000000000000000000000000000000000000008152339063fe86a89f906114d790869086908690600401615484565b6119446141ea565b15611954576109b0838383612179565b6040517f8ed41f2f0000000000000000000000000000000000000000000000000000000081523390638ed41f2f906114d79086908690869060040161544f565b6000601c825111156119be578151604051635318beb960e01b815260040161024491815260200190565b60008060008060005b8651811015611ae5576000611a008883815181106119e7576119e7615297565b602002602001015160c581111561167a5761167a6153b2565b905061ffff811615611a56578215611a44576040517ff1e56be400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83611a4e816154af565b945050611a5b565b600192505b611a6581866154ce565b9450611ada86611a76846004615437565b8a8581518110611a8857611a88615297565b602002602001015160c5811115611aa157611aa16153b2565b60f81b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b9550506001016119c7565b506000828751611af591906154f4565b905060058160ff161115611b2157604051635318beb960e01b815260ff82166004820152602401610244565b7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff851660f085901b1794507fffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167dff000000000000000000000000000000000000000000000000000000000060e885901b161794507fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff85167cff0000000000000000000000000000000000000000000000000000000060e083901b1617610d32565b611bed826000611599565b611bf8816001611599565b611c018361425b565b15611c445782611c1084611767565b6040517f147bbb8c000000000000000000000000000000000000000000000000000000008152600401610244929190615517565b6109b0838383611792565b6000611c5a856137b7565b90507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4685858585604051611c919493929190615403565b60405180910390a16000611ca48661234d565b905060005b8151811015611d48576000828281518110611cc657611cc6615297565b60200260200101519050806001600160a01b031663469b7ee2898989896040518563ffffffff1660e01b8152600401611d029493929190615403565b600060405180830381600087803b158015611d1c57600080fd5b505af1158015611d30573d6000803e3d6000fd5b50505050508080611d4090615316565b915050611ca9565b50611d5282611f52565b60ff168460ff161015611d7157611d6c86868487876123fb565b611d7e565b611d7e86868487876124a1565b60005b8151811015610948576000828281518110611d9e57611d9e615297565b60200260200101519050806001600160a01b0316636b3d7d5f898989896040518563ffffffff1660e01b8152600401611dda9493929190615403565b600060405180830381600087803b158015611df457600080fd5b505af1158015611e08573d6000803e3d6000fd5b50505050508080611e1890615316565b915050611d81565b6000808260c5811115611e3557611e356153b2565b60ff1690506020811015611e4e57610682816001615437565b6040811015611e6e576020611e64826001615437565b6106829190615530565b6060811015611e84576040611e64826001615437565b60608360c5811115611e9857611e986153b2565b03611ea65750600192915050565b60618360c5811115611eba57611eba6153b2565b03611ec85750601492915050565b50600092915050565b6008820281811c7fff0000000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c7fffff00000000000000000000000000000000000000000000000000000000000090911c198416179392505050565b1590565b6000601882901b5b60f81c92915050565b6000601082901b611f49565b6000611f7683611f6f846004615437565b6008021b90565b60f81c60c5811115610682576106826153b2565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110611fc357611fc3615297565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b60308301526000916120059101611806565b9050610ab8815490565b90565b600061201d846137b7565b905081516000148061203a575061203381612538565b60ff168251145b6120865761204781612538565b82516040517ff2b2755900000000000000000000000000000000000000000000000000000000815260ff90921660048301526024820152604401610244565b611593848484604051602001610fe7919061539f565b6000806000805b845181101561215157612119836120bb836005615547565b6120c6906007615437565b8784815181106120d8576120d8615297565b602002602001015160d81b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b925084818151811061212d5761212d615297565b602002602001015164ffffffffff16826121479190615566565b91506001016120a3565b5078ffffffffffffffffffffffffffffffffffffffffffffffffff821660c882901b17610ab8565b6000612184846137b7565b905060008061219383856125c2565b915091507f912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee328686866040516121ca9392919061544f565b60405180910390a160006121dd8761234d565b905060005b815181101561227f5760008282815181106121ff576121ff615297565b60200260200101519050806001600160a01b03166382b6745f8a8a8a6040518463ffffffff1660e01b81526004016122399392919061544f565b600060405180830381600087803b15801561225357600080fd5b505af1158015612267573d6000803e3d6000fd5b5050505050808061227790615316565b9150506121e2565b50600061228c88886124de565b90506020860161229f8260008388612666565b6122aa856020615437565b6122b49082615437565b90506122bf86611f41565b60ff166000036122d457505050505050505050565b60006122e08a8a612724565b858155905060008060005b6122f48a611f41565b60ff168160ff16101561233e5761230c8d8d8361275b565b925061231b8860ff83166127b4565b915061232a8360008785612666565b6123348286615437565b94506001016122eb565b50505050505050505050505050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061238757612387615297565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925264486f6f6b7360d81b60308301526000916123e491015b6040516020818303038152906040526123dc906152ad565b8360006127e6565b9050610ab86123f6826000845161288c565b61291c565b600061240a8460ff8516611f5e565b905081516124238260c581111561167a5761167a6153b2565b1461247a5761243d8160c581111561167a5761167a6153b2565b82516040517f521b3d3300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401610244565b600061248687876124de565b905060006124948686614270565b9050610a3782828661292d565b60006124ac84611f52565b6124b690846154f4565b90506124c586868385516142ab565b60006124d287878461275b565b90506109488184612942565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9838360405160200161251593929190615588565b60408051601f1981840301815291905280516020909101209392505050565b5490565b600061254382611f41565b61254c83611f52565b610b9091906155a7565b6008820281811c7fffffffffff00000000000000000000000000000000000000000000000000000090911c198416179392505050565b6008820281811c7fffffffffffffff0000000000000000000000000000000000000000000000000090911c198416179392505050565b6000806125cf8460f01c90565b91508160006125dd86611f41565b60ff161115612611578284016020015191506125f98260c81c90565b612604906020615437565b61260e9082615437565b90505b835181146126585783516040517f521b3d33000000000000000000000000000000000000000000000000000000008152610244918391600401918252602082015260400190565b509250929050565b60200190565b60208304840193506020838161267e5761267e6155cc565b06925082156126d75760208390036000600019600884021c1990506008850281811c91508451811c90508119875416828216178755508183116126c2575050611593565b6126cd600187615437565b9550509182019190035b6020811061270057815184556126ee600185615437565b935060209190910190601f19016126d7565b8015611593576000600019600883021c198554845182169119161785555050505050565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98383604051602001612515939291906155e2565b60007f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d98484846040516020016127949493929190615642565b60408051601f198184030181529190528051602090910120949350505050565b6000806127c2836005615547565b6127cd906007615437565b90506127db84826008021b90565b60d81c949350505050565b60606127f06141ea565b156128075761280084848461296f565b9050610682565b6040517fd03edb8c000000000000000000000000000000000000000000000000000000008152339063d03edb8c9061284790879087908790600401615675565b600060405180830381865afa158015612864573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261280091908101906156a1565b600081831115801561289f575083518211155b6128db578383836040517f23230fa30000000000000000000000000000000000000000000000000000000081526004016102449392919061570f565b602084016128e98482615437565b905060006128f78585615530565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b60606000610682836014600061298a565b60006020820190506115938484838551612666565b610c9e8260008361292d565b60f01c90565b016020015190565b60c81c90565b60001960089091021c1990565b6060600061297c856137b7565b9050610992858585846142dd565b606060006129988560801c90565b90506fffffffffffffffffffffffffffffffff85166000846129d0576129bf866008615547565b6129cb90610100615530565b6129d3565b60005b905060008683816129e6576129e66155cc565b0490506129f38784615734565b15612a80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f756e7061636b546f41727261793a207061636b65644c656e677468206d75737460448201527f2062652061206d756c7469706c65206f6620656c656d656e7453697a650000006064820152608401610244565b602080820201604051955080860160405250808552600060208601855b83831015612abf578051851c8252600192909201916020909101908901612a9d565b505050505050509392505050565b60008381612adb8260c81c90565b90506000612aec878760ff166127b4565b9050808510612b1057612aff8186615530565b612b099083615437565b9150612b27565b612b1a8582615530565b612b249083615530565b91505b6000612b34876005615547565b612b3f906007615437565b905078ffffffffffffffffffffffffffffffffffffffffffffffffff841660c884901b1793507fffffffffff0000000000000000000000000000000000000000000000000000006008820290811c19851660d888901b90911c175b98975050505050505050565b60801c90565b6fffffffffffffffffffffffffffffffff1690565b60606000612bd28360ff8616611f5e565b90506000612beb8260c581111561167a5761167a6153b2565b90506000612bf988886124de565b90506000612c078688614270565b9050612c14828483612c6e565b9998505050505050505050565b60606000612c2e83611f52565b612c3890856154f4565b90506000612c4787878461275b565b90506000612c628360ff16612c5c8a8a614314565b906127b4565b9050612b9a8282612cce565b60608267ffffffffffffffff811115612c8957612c89614d5f565b6040519080825280601f01601f191660200182016040528015612cb3576020820181803683370190505b50905060208101612cc685858584614321565b509392505050565b606061068283836000612c6e565b6040805160038082526080820190925260009182919060208201606080368337019050509050604f81600081518110612d1757612d17615297565b602002602001019060c5811115612d3057612d306153b2565b908160c5811115612d4357612d436153b2565b81525050604f81600181518110612d5c57612d5c615297565b602002602001019060c5811115612d7557612d756153b2565b908160c5811115612d8857612d886153b2565b81525050604381600281518110612da157612da1615297565b602002602001019060c5811115612dba57612dba6153b2565b908160c5811115612dcd57612dcd6153b2565b905250612dd981611994565b91505090565b6060612de96141ea565b15612df9576128008484846131d2565b6040517f419b58fd000000000000000000000000000000000000000000000000000000008152339063419b58fd9061284790879087908790600401615748565b60408051600180825281830190925260009182918291602080830190803683370190505090508381600081518110612e7357612e73615297565b6020908102919091018101919091526040805160009281018390527f53797374656d73000000000000000000000000000000000000000000000000006030820152612eda9101604051602081830303815290604052612ed1906152ad565b836106336143d6565b9050612ee581614455565b935093505050915091565b606081608081901b6fffffffffffffffffffffffffffffffff19821615612f175781612f39565b7f524f4f545f4e414d4553504143450000000000000000000000000000000000005b6fffffffffffffffffffffffffffffffff19821615612f585781612f7a565b7f524f4f545f4e414d4500000000000000000000000000000000000000000000005b6040516fffffffffffffffffffffffffffffffff1992831660208201527f2f0000000000000000000000000000000000000000000000000000000000000060308201529116603182015260410160405160208183030381529060405292505050919050565b608082901c6fffffffffffffffffffffffffffffffff1984161761300484848461447b565b6106825761301181612ef0565b826040517fe64c0348000000000000000000000000000000000000000000000000000000008152600401610244929190615771565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061308057613080615297565b6020908102919091018101919091526040805160009281018390527f53797374656d486f6f6b7300000000000000000000000000000000000000000060308201526123e491016123c4565b6060600084876040516020016130e292919061579c565b60405160208183030381529060405290506000808561315c57876001600160a01b0316858460405161311491906157d3565b60006040518083038185875af1925050503d8060008114613151576040519150601f19603f3d011682016040523d82523d6000602084013e613156565b606091505b506131b6565b876001600160a01b03168360405161317491906157d3565b600060405180830381855af49150503d80600081146131af576040519150601f19603f3d011682016040523d82523d6000602084013e6131b4565b606091505b505b9150915081156131ca579250610992915050565b805160208201fd5b606060006131e08360f01c90565b9050806000806131ef86611f41565b60ff169050801561323a576132048888614314565b915060006132128360c81c90565b111561323a576132228260c81c90565b61322d906020615437565b6132379084615437565b92505b60008367ffffffffffffffff81111561325557613255614d5f565b6040519080825280601f01601f19166020018201604052801561327f576020820181803683370190505b509050602081016132928a8a88846144d5565b61329c8460c81c90565b6000036132b0575094506106829350505050565b6132ba8682615437565b84815290506132ca602082615437565b905060005b838160ff1610156133285760006132e78c8c8461275b565b905060006132f88760ff85166127b4565b90506133078282600087614321565b6133118185615437565b935050508080613320906154af565b9150506132cf565b50909998505050505050505050565b6000613342856137b7565b905061334d81611f52565b60ff168360ff161015613373576040516302860dd760e31b815260040160405180910390fd5b600061338186868685612c21565b836040516020016133939291906157ef565b60405160208183030381529060405290507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c46868686846040516133d99493929190615403565b60405180910390a160006133ec8761234d565b905060005b815181101561349057600082828151811061340e5761340e615297565b60200260200101519050806001600160a01b031663469b7ee28a8a8a886040518563ffffffff1660e01b815260040161344a9493929190615403565b600060405180830381600087803b15801561346457600080fd5b505af1158015613478573d6000803e3d6000fd5b5050505050808061348890615316565b9150506133f1565b5061349e87878588886144f6565b60005b8151811015610a375760008282815181106134be576134be615297565b60200260200101519050806001600160a01b0316636b3d7d5f8a8a8a886040518563ffffffff1660e01b81526004016134fa9493929190615403565b600060405180830381600087803b15801561351457600080fd5b505af1158015613528573d6000803e3d6000fd5b5050505050808061353890615316565b9150506134a1565b600061354b856137b7565b905061355681611f52565b60ff168360ff16101561357c576040516302860dd760e31b815260040160405180910390fd5b6060600061358c87878786612c21565b90506135ae6135a98260008785516135a49190615530565b61288c565b614566565b9150507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c46868686846040516135e69493929190615403565b60405180910390a160006135f98761234d565b905060005b815181101561369d57600082828151811061361b5761361b615297565b60200260200101519050806001600160a01b031663469b7ee28a8a8a886040518563ffffffff1660e01b81526004016136579493929190615403565b600060405180830381600087803b15801561367157600080fd5b505af1158015613685573d6000803e3d6000fd5b5050505050808061369590615316565b9150506135fe565b506136ab87878588886145e6565b60005b8151811015610a375760008282815181106136cb576136cb615297565b60200260200101519050806001600160a01b0316636b3d7d5f8a8a8a886040518563ffffffff1660e01b81526004016137079493929190615403565b600060405180830381600087803b15801561372157600080fd5b505af1158015613735573d6000803e3d6000fd5b5050505050808061374590615316565b9150506136ae565b60008061375983611f52565b90508060ff168460ff1610156137985760006137788460ff8716611f5e565b905061378f8160c581111561167a5761167a6153b2565b92505050610ab8565b60006137a482866154f4565b905061378f8160ff16612c5c8989614314565b60006137c282611f8a565b90508061380757816137d383611767565b6040517fd623a70d000000000000000000000000000000000000000000000000000000008152600401610244929190615517565b919050565b608082901c6fffffffffffffffffffffffffffffffff198416176001600160a01b03821630148015906138595750816001600160a01b031661384d85614643565b6001600160a01b031614155b156106825761301181612ef0565b6000613872826146e9565b6040805160028082526060820183529293506000929091602083019080368337019050509050846fffffffffffffffffffffffffffffffff1916816000815181106138bf576138bf615297565b60200260200101818152505083816001815181106138df576138df615297565b602090810291909101810191909152604080516000928101929092527f496e7374616c6c65644d6f64756c6573000000000000000000000000000000006030830152610ad79101611459565b60606000613938846137b7565b9050610ab88484836131d2565b6060600061395285611f52565b905061395d85611f52565b60ff168660ff161015613983576040516302860dd760e31b815260040160405180910390fd5b600061398f82886154f4565b9050600061399e8a8a8461275b565b90506139b4816139ae8888615530565b88612c6e565b9a9950505050505050505050565b60006139cd8261470e565b90506139d88261425b565b61380757816137d383611767565b60006139f1866137b7565b90506139fc81611f52565b60ff168460ff161015613a22576040516302860dd760e31b815260040160405180910390fd5b64ffffffffff831115613a6f576040517f7cd3b80700000000000000000000000000000000000000000000000000000000815264ffffffffff600482015260248101849052604401610244565b60606000613a7f88888886612c21565b9050613a906135a98260008861288c565b84613aac6135a98488518a613aa59190615437565b865161288c565b604051602001613abe93929190615815565b6040516020818303038152906040529150507fd01f9f1368f831528fc9fe6442366b2b7d957fbfff3bcf7c24d9ab5fe51f8c4687878784604051613b059493929190615403565b60405180910390a16000613b188861234d565b905060005b8151811015613bbc576000828281518110613b3a57613b3a615297565b60200260200101519050806001600160a01b031663469b7ee28b8b8b886040518563ffffffff1660e01b8152600401613b769493929190615403565b600060405180830381600087803b158015613b9057600080fd5b505af1158015613ba4573d6000803e3d6000fd5b50505050508080613bb490615316565b915050613b1d565b50613bcb888885898989614799565b60005b8151811015610dcc576000828281518110613beb57613beb615297565b60200260200101519050806001600160a01b0316636b3d7d5f8b8b8b886040518563ffffffff1660e01b8152600401613c279493929190615403565b600060405180830381600087803b158015613c4157600080fd5b505af1158015613c55573d6000803e3d6000fd5b50505050508080613c6590615316565b915050613bce565b6000613c78836137b7565b90507f2cc8610b80ef19409ae51ecbdd9c137960fb22ae9ef2d817d36ec1b685d68ecd8383604051613cab929190615858565b60405180910390a16000613cbe8461234d565b905060005b8151811015613d5e576000828281518110613ce057613ce0615297565b60200260200101519050806001600160a01b031663b51fef6c87876040518363ffffffff1660e01b8152600401613d18929190615858565b600060405180830381600087803b158015613d3257600080fd5b505af1158015613d46573d6000803e3d6000fd5b50505050508080613d5690615316565b915050613cc3565b506000613d6b85856124de565b9050613dc5816000613d7d8660f01c90565b67ffffffffffffffff811115613d9557613d95614d5f565b6040519080825280601f01601f191660200182016040528015613dbf576020820181803683370190505b5061292d565b613dce83611f41565b60ff16600003613ddf575050505050565b6000613deb8686612724565b6000815590506108a8565b60408051600180825281830190925260009182919060208083019080368337019050509050606181600081518110612da157612da1615297565b60408051600180825281830190925260009182919060208083019080368337019050509050604f81600081518110612da157612da1615297565b6040805160018082528183019092526000918291906020808301908036833701905050905060c381600081518110612da157612da1615297565b60408051600180825281830190925260009182919060208083019080368337019050509050605f81600081518110612da157612da1615297565b6040805160028082526060820183526000928392919060208301908036833701905050905060c581600081518110613f1857613f18615297565b602002602001019060c5811115613f3157613f316153b2565b908160c5811115613f4457613f446153b2565b8152505060c481600181518110612da157612da1615297565b6040805160018082528183019092526060918291600091816020015b6060815260200190600190039081613f795790505090506040518060400160405280600581526020017f76616c756500000000000000000000000000000000000000000000000000000081525081600081518110613fd957613fd9615297565b60200260200101819052508060405180604001604052806005815260200164486f6f6b7360d81b8152509092509250509091565b60408051600280825260608281019093528291600091816020015b60608152602001906001900390816140285790505090506040518060400160405280600981526020017f7461626c654e616d6500000000000000000000000000000000000000000000008152508160008151811061408857614088615297565b60200260200101819052506040518060400160405280601481526020017f616269456e636f6465644669656c644e616d6573000000000000000000000000815250816001815181106140dc576140dc615297565b6020026020010181905250806040518060400160405280600d81526020017f53746f72654d65746164617461000000000000000000000000000000000000008152509092509250509091565b6040805160028082526060808301845292600092919060208301908036833701905050905083518160008151811061416257614162615297565b602002602001019064ffffffffff16908164ffffffffff168152505082518160018151811061419357614193615297565b602002602001019064ffffffffff16908164ffffffffff168152505060006141ba8261209c565b90508085856040516020016141d193929190615871565b6040516020818303038152906040529250505092915050565b6000303b8082036141fd57600191505090565b306001600160a01b031663a5c2f0076040518163ffffffff1660e01b815260040160006040518083038186803b15801561423657600080fd5b505afa925050508015614247575060015b61425357600091505090565b600191505090565b6000614269611f3d83611f8a565b1592915050565b600080805b8360ff16811015612cc65761428d6116698683611f5e565b6142979083615437565b9150806142a381615316565b915050614275565b60006142b78585612724565b905060006142c3825490565b90506142d38160ff861685612acd565b80835590506108a8565b60606142e882611f52565b60ff168360ff1610156143085761430185858585612bc1565b9050610ab8565b61430185858585612c21565b6000806120058484612724565b602082048401935060208281614339576143396155cc565b069150811561438a5760208290036000600019600883021c1990508554600885021b811984511682821617845250818511614375575050611593565b614380600187615437565b9550509283900392015b602083106143b257835481526143a1600185615437565b9350601f199092019160200161438a565b8215611593576000600019600885021c198251865482169119161782525050505050565b6040805160028082526060820183526000928392919060208301908036833701905050905060618160008151811061441057614410615297565b602002602001019060c5811115614429576144296153b2565b908160c581111561443c5761443c6153b2565b81525050606081600181518110612da157612da1615297565b6020810151603482015160609190911c90600090614474905b60f81c90565b9050915091565b6000306001600160a01b03831614806144ad57506144ad6fffffffffffffffffffffffffffffffff1985165b836147bd565b80610ab85750610ab86fffffffffffffffffffffffffffffffff198516608085901c176144a7565b81156115935760006144e785856124de565b9050610ad78184600085614321565b600061450184611f52565b61450b90846154f4565b905060006145198787612724565b90506000614525825490565b905060006145368260ff86166127b4565b90506145548460ff1686518361454c9190615437565b849190612acd565b8084559150610dcc898986848961487e565b606060006145748360801c90565b90506fffffffffffffffffffffffffffffffff83168067ffffffffffffffff8111156145a2576145a2614d5f565b6040519080825280601f01601f1916602001820160405280156145cc576020820181803683370190505b509250602083016145de8382846148be565b505050919050565b60006145f184611f52565b6145fb90846154f4565b905060006146098787612724565b90506000614615825490565b905060006146268260ff86166127b4565b905061463960ff851661454c8784615530565b8084559150610dcc565b60408051600180825281830190925260009182919060208083019080368337019050509050826fffffffffffffffffffffffffffffffff19168160008151811061468f5761468f615297565b6020908102919091018101919091526040805160009281018390527f4e616d6573706163654f776e657200000000000000000000000000000000000060308201526146da91016123c4565b6020015160601c949350505050565b604051606082811b6bffffffffffffffffffffffff191660208301529060340161177c565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061474757614747615297565b60209081029190910181019190915260408051676d756473746f726560c01b9281019290925265736368656d6160d01b60308301526000916147899101611806565b9050610ab8612534826001615437565b60006147a485611f52565b6147ae90856154f4565b9050610948878783868661487e565b6040805160028082526060820183526000928392919060208301908036833701905050905083816000815181106147f6576147f6615297565b602002602001018181525050826001600160a01b031660001b8160018151811061482257614822615297565b6020908102919091018101919091526040805160009281018390527f5265736f75726365416363657373000000000000000000000000000000000000603082015261486d91016123c4565b60208101519091506109929061446e565b600061488b86868661275b565b90506148986020846158ae565b6148a29082615437565b905060006148b1602085615734565b905061094882828561292d565b60208111156148d5578082828560045afa50505050565b6000600019600883021c1983518551821691191617835250505050565b60008083601f84011261490457600080fd5b50813567ffffffffffffffff81111561491c57600080fd5b6020830191508360208260051b850101111561493757600080fd5b9250929050565b803560ff8116811461380757600080fd5b60008083601f84011261496157600080fd5b50813567ffffffffffffffff81111561497957600080fd5b60208301915083602082850101111561493757600080fd5b600080600080600080608087890312156149aa57600080fd5b86359550602087013567ffffffffffffffff808211156149c957600080fd5b6149d58a838b016148f2565b90975095508591506149e960408a0161493e565b945060608901359150808211156149ff57600080fd5b50614a0c89828a0161494f565b979a9699509497509295939492505050565b6fffffffffffffffffffffffffffffffff1981168114610ffb57600080fd5b60008060008060008060808789031215614a5657600080fd5b8635614a6181614a1e565b95506020870135614a7181614a1e565b9450604087013567ffffffffffffffff80821115614a8e57600080fd5b614a9a8a838b016148f2565b909650945060608901359150808211156149ff57600080fd5b60008060008060608587031215614ac957600080fd5b84359350602085013567ffffffffffffffff811115614ae757600080fd5b614af3878288016148f2565b9598909750949560400135949350505050565b60005b83811015614b21578181015183820152602001614b09565b838111156115935750506000910152565b60008151808452614b4a816020860160208601614b06565b601f01601f19169290920160200192915050565b6020815260006106826020830184614b32565b600080600060408486031215614b8657600080fd5b83359250602084013567ffffffffffffffff811115614ba457600080fd5b614bb0868287016148f2565b9497909650939450505050565b600080600080600080600060a0888a031215614bd857600080fd5b8735614be381614a1e565b96506020880135614bf381614a1e565b9550604088013567ffffffffffffffff80821115614c1057600080fd5b614c1c8b838c016148f2565b9097509550859150614c3060608b0161493e565b945060808a0135915080821115614c4657600080fd5b50614c538a828b0161494f565b989b979a50959850939692959293505050565b600080600080600080600060a0888a031215614c8157600080fd5b87359650602088013567ffffffffffffffff80821115614ca057600080fd5b614cac8b838c016148f2565b9098509650869150614cc060408b0161493e565b955060608a0135945060808a0135915080821115614c4657600080fd5b60008060008060008060a08789031215614cf657600080fd5b8635614d0181614a1e565b95506020870135614d1181614a1e565b9450604087013567ffffffffffffffff811115614d2d57600080fd5b614d3989828a016148f2565b9095509350614d4c90506060880161493e565b9150608087013590509295509295509295565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614d9e57614d9e614d5f565b604052919050565b600067ffffffffffffffff821115614dc057614dc0614d5f565b50601f01601f191660200190565b600082601f830112614ddf57600080fd5b8135614df2614ded82614da6565b614d75565b818152846020838601011115614e0757600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215614e3957600080fd5b8335614e4481614a1e565b92506020840135614e5481614a1e565b9150604084013567ffffffffffffffff811115614e7057600080fd5b614e7c86828701614dce565b9150509250925092565b600080600080600060808688031215614e9e57600080fd5b85359450602086013567ffffffffffffffff811115614ebc57600080fd5b614ec8888289016148f2565b9095509350614edb90506040870161493e565b949793965091946060013592915050565b600080600080600060608688031215614f0457600080fd5b85359450602086013567ffffffffffffffff80821115614f2357600080fd5b614f2f89838a016148f2565b90965094506040880135915080821115614f4857600080fd5b50614f558882890161494f565b969995985093965092949392505050565b600082601f830112614f7757600080fd5b8135602067ffffffffffffffff821115614f9357614f93614d5f565b8160051b614fa2828201614d75565b9283528481018201928281019087851115614fbc57600080fd5b83870192505b84831015610d3257823582529183019190830190614fc2565b60008060008060808587031215614ff157600080fd5b84359350602085013567ffffffffffffffff81111561500f57600080fd5b61501b87828801614f66565b93505061502a6040860161493e565b9396929550929360600135925050565b60006020828403121561504c57600080fd5b5035919050565b6000806040838503121561506657600080fd5b82356001600160a01b038116811461507d57600080fd5b9150602083013567ffffffffffffffff81111561509957600080fd5b6150a585828601614dce565b9150509250929050565b600080600080606085870312156150c557600080fd5b84359350602085013567ffffffffffffffff8111156150e357600080fd5b6150ef878288016148f2565b909450925061510290506040860161493e565b905092959194509250565b60008060008060008060c0878903121561512657600080fd5b86359550602087013567ffffffffffffffff81111561514457600080fd5b61515089828a01614f66565b95505061515f6040880161493e565b9350606087013592506080870135915060a087013590509295509295509295565b60008060008060008060008060c0898b03121561519c57600080fd5b88356151a781614a1e565b975060208901356151b781614a1e565b9650604089013567ffffffffffffffff808211156151d457600080fd5b6151e08c838d016148f2565b90985096508691506151f460608c0161493e565b955060808b0135945060a08b013591508082111561521157600080fd5b5061521e8b828c0161494f565b999c989b5096995094979396929594505050565b6000806000806060858703121561524857600080fd5b843561525381614a1e565b9350602085013561526381614a1e565b9250604085013567ffffffffffffffff81111561527f57600080fd5b61528b878288016148f2565b95989497509550505050565b634e487b7160e01b600052603260045260246000fd5b805160208083015191908110156152ce576000198160200360031b1b821691505b50919050565b60006001600160a01b038086168352808516602084015250606060408301526109926060830184614b32565b634e487b7160e01b600052601160045260246000fd5b6000600019820361532957615329615300565b5060010190565b60006020828403121561534257600080fd5b815161068281614a1e565b6000815180845260208085019450848260051b860182860160005b85811015615392578383038952615380838351614b32565b98850198925090840190600101615368565b5090979650505050505050565b602081526000610682602083018461534d565b634e487b7160e01b600052602160045260246000fd5b600081518084526020808501945080840160005b838110156153f8578151875295820195908201906001016153dc565b509495945050505050565b84815260806020820152600061541c60808301866153c8565b60ff851660408401528281036060840152610d328185614b32565b6000821982111561544a5761544a615300565b500190565b83815260606020820152600061546860608301856153c8565b828103604084015261547a8185614b32565b9695505050505050565b83815260606020820152600061549d6060830185614b32565b828103604084015261547a818561534d565b600060ff821660ff81036154c5576154c5615300565b60010192915050565b600061ffff8083168185168083038211156154eb576154eb615300565b01949350505050565b600060ff821660ff84168082101561550e5761550e615300565b90039392505050565b828152604060208201526000610ab86040830184614b32565b60008282101561554257615542615300565b500390565b600081600019048311821515161561556157615561615300565b500290565b600066ffffffffffffff8083168185168083038211156154eb576154eb615300565b83815282602082015260606040820152600061099260608301846153c8565b600060ff821660ff84168060ff038211156155c4576155c4615300565b019392505050565b634e487b7160e01b600052601260045260246000fd5b83815282602082015260806040820152600061560160808301846153c8565b8281036060840152600681527f6c656e6774680000000000000000000000000000000000000000000000000000602082015260408101915050949350505050565b84815283602082015260806040820152600061566160808301856153c8565b905060ff8316606083015295945050505050565b83815260606020820152600061568e60608301856153c8565b905060ff83166040830152949350505050565b6000602082840312156156b357600080fd5b815167ffffffffffffffff8111156156ca57600080fd5b8201601f810184136156db57600080fd5b80516156e9614ded82614da6565b8181528560208385010111156156fe57600080fd5b610992826020830160208601614b06565b6060815260006157226060830186614b32565b60208301949094525060400152919050565b600082615743576157436155cc565b500690565b83815260606020820152600061576160608301856153c8565b9050826040830152949350505050565b6040815260006157846040830185614b32565b90506001600160a01b03831660208301529392505050565b600083516157ae818460208801614b06565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b600082516157e5818460208701614b06565b9190910192915050565b60008351615801818460208801614b06565b8351908301906154eb818360208801614b06565b60008451615827818460208901614b06565b84519083019061583b818360208901614b06565b845191019061584e818360208801614b06565b0195945050505050565b828152604060208201526000610ab860408301846153c8565b83815260008351615889816020850160208801614b06565b808301905083516158a1816020840160208801614b06565b0160200195945050505050565b6000826158bd576158bd6155cc565b50049056fea164736f6c634300080d000a86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9912af873e852235aae78a1d25ae9bb28b616a67c36898c53a14fd8184504ee32"; - -type WorldConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: WorldConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class World__factory extends ContractFactory { - constructor(...args: WorldConstructorParams) { - 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): World { - return super.attach(address) as World; - } - override connect(signer: Signer): World__factory { - return super.connect(signer) as World__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): WorldInterface { - return new utils.Interface(_abi) as WorldInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): World { - return new Contract(address, _abi, signerOrProvider) as World; - } -} diff --git a/packages/world/types/ethers-contracts/factories/index.ts b/packages/world/types/ethers-contracts/factories/index.ts deleted file mode 100644 index 1582abb5f5..0000000000 --- a/packages/world/types/ethers-contracts/factories/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as iStoreSol from "./IStore.sol"; -export * as iWorldKernelSol from "./IWorldKernel.sol"; -export * as schemaSol from "./Schema.sol"; -export * as sliceSol from "./Slice.sol"; -export * as src from "./src"; -export { AccessManagementSystem__factory } from "./AccessManagementSystem__factory"; -export { CoreModule__factory } from "./CoreModule__factory"; -export { CoreSystem__factory } from "./CoreSystem__factory"; -export { EphemeralRecordSystem__factory } from "./EphemeralRecordSystem__factory"; -export { IAccessManagementSystem__factory } from "./IAccessManagementSystem__factory"; -export { IBaseWorld__factory } from "./IBaseWorld__factory"; -export { IModule__factory } from "./IModule__factory"; -export { IModuleInstallationSystem__factory } from "./IModuleInstallationSystem__factory"; -export { IStoreErrors__factory } from "./IStoreErrors__factory"; -export { IStoreRegistrationSystem__factory } from "./IStoreRegistrationSystem__factory"; -export { ISystemHook__factory } from "./ISystemHook__factory"; -export { IUniqueEntitySystem__factory } from "./IUniqueEntitySystem__factory"; -export { IWorldEphemeral__factory } from "./IWorldEphemeral__factory"; -export { IWorldErrors__factory } from "./IWorldErrors__factory"; -export { IWorldRegistrationSystem__factory } from "./IWorldRegistrationSystem__factory"; -export { KeysInTableHook__factory } from "./KeysInTableHook__factory"; -export { KeysInTableModule__factory } from "./KeysInTableModule__factory"; -export { KeysWithValueHook__factory } from "./KeysWithValueHook__factory"; -export { KeysWithValueModule__factory } from "./KeysWithValueModule__factory"; -export { ModuleInstallationSystem__factory } from "./ModuleInstallationSystem__factory"; -export { SnapSyncModule__factory } from "./SnapSyncModule__factory"; -export { SnapSyncSystem__factory } from "./SnapSyncSystem__factory"; -export { StoreCore__factory } from "./StoreCore__factory"; -export { StoreRead__factory } from "./StoreRead__factory"; -export { StoreRegistrationSystem__factory } from "./StoreRegistrationSystem__factory"; -export { StoreSwitch__factory } from "./StoreSwitch__factory"; -export { UniqueEntityModule__factory } from "./UniqueEntityModule__factory"; -export { UniqueEntitySystem__factory } from "./UniqueEntitySystem__factory"; -export { World__factory } from "./World__factory"; -export { WorldRegistrationSystem__factory } from "./WorldRegistrationSystem__factory"; diff --git a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts b/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts deleted file mode 100644 index 3a69eb121f..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts +++ /dev/null @@ -1,464 +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 { - IStoreData, - IStoreDataInterface, -} from "../../../src/IStore.sol/IStoreData"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreData__factory { - static readonly abi = _abi; - static createInterface(): IStoreDataInterface { - return new utils.Interface(_abi) as IStoreDataInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreData { - return new Contract(address, _abi, signerOrProvider) as IStoreData; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreEphemeral__factory.ts b/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreEphemeral__factory.ts deleted file mode 100644 index e1aeaa1833..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreEphemeral__factory.ts +++ /dev/null @@ -1,74 +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 { - IStoreEphemeral, - IStoreEphemeralInterface, -} from "../../../src/IStore.sol/IStoreEphemeral"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreEphemeral__factory { - static readonly abi = _abi; - static createInterface(): IStoreEphemeralInterface { - return new utils.Interface(_abi) as IStoreEphemeralInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreEphemeral { - return new Contract(address, _abi, signerOrProvider) as IStoreEphemeral; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreHook__factory.ts b/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreHook__factory.ts deleted file mode 100644 index 4f6fb9c61b..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreHook__factory.ts +++ /dev/null @@ -1,123 +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 { - IStoreHook, - IStoreHookInterface, -} from "../../../src/IStore.sol/IStoreHook"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "onAfterSetField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "onBeforeSetField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "onDeleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "onSetRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreHook__factory { - static readonly abi = _abi; - static createInterface(): IStoreHookInterface { - return new utils.Interface(_abi) as IStoreHookInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreHook { - return new Contract(address, _abi, signerOrProvider) as IStoreHook; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreRead__factory.ts b/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreRead__factory.ts deleted file mode 100644 index 9607189702..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreRead__factory.ts +++ /dev/null @@ -1,231 +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 { - IStoreRead, - IStoreReadInterface, -} from "../../../src/IStore.sol/IStoreRead"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IStoreRead__factory { - static readonly abi = _abi; - static createInterface(): IStoreReadInterface { - return new utils.Interface(_abi) as IStoreReadInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreRead { - return new Contract(address, _abi, signerOrProvider) as IStoreRead; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreRegistration__factory.ts b/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreRegistration__factory.ts deleted file mode 100644 index 526bbcbd8f..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreRegistration__factory.ts +++ /dev/null @@ -1,90 +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 { - IStoreRegistration, - IStoreRegistrationInterface, -} from "../../../src/IStore.sol/IStoreRegistration"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreRegistration__factory { - static readonly abi = _abi; - static createInterface(): IStoreRegistrationInterface { - return new utils.Interface(_abi) as IStoreRegistrationInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreRegistration { - return new Contract(address, _abi, signerOrProvider) as IStoreRegistration; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts b/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts deleted file mode 100644 index 8e4c97859c..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts +++ /dev/null @@ -1,259 +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 { - IStoreWrite, - IStoreWriteInterface, -} from "../../../src/IStore.sol/IStoreWrite"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStoreWrite__factory { - static readonly abi = _abi; - static createInterface(): IStoreWriteInterface { - return new utils.Interface(_abi) as IStoreWriteInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IStoreWrite { - return new Contract(address, _abi, signerOrProvider) as IStoreWrite; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts b/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts deleted file mode 100644 index 3112b105a1..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts +++ /dev/null @@ -1,660 +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 { IStore, IStoreInterface } from "../../../src/IStore.sol/IStore"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_DataIndexOverflow", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidDataLength", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "expected", - type: "uint256", - }, - { - internalType: "uint256", - name: "received", - type: "uint256", - }, - ], - name: "StoreCore_InvalidFieldNamesLength", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotDynamicField", - type: "error", - }, - { - inputs: [], - name: "StoreCore_NotImplemented", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableAlreadyExists", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - internalType: "string", - name: "tableIdString", - type: "string", - }, - ], - name: "StoreCore_TableNotFound", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "deleteRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "emitEphemeralRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - ], - name: "getField", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getFieldLength", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "getFieldSlice", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getKeySchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "getRecord", - outputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - ], - name: "getSchema", - outputs: [ - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "isStore", - outputs: [], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "byteLengthToPop", - type: "uint256", - }, - ], - name: "popFromField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "dataToPush", - type: "bytes", - }, - ], - name: "pushToField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "Schema", - name: "schema", - type: "bytes32", - }, - { - internalType: "Schema", - name: "keySchema", - type: "bytes32", - }, - ], - name: "registerSchema", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "contract IStoreHook", - name: "hook", - type: "address", - }, - ], - name: "registerStoreHook", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "string", - name: "tableName", - type: "string", - }, - { - internalType: "string[]", - name: "fieldNames", - type: "string[]", - }, - ], - name: "setMetadata", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "setRecord", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - internalType: "uint256", - name: "startByteIndex", - type: "uint256", - }, - { - internalType: "bytes", - name: "dataToSet", - type: "bytes", - }, - ], - name: "updateInField", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IStore__factory { - static readonly abi = _abi; - static createInterface(): IStoreInterface { - return new utils.Interface(_abi) as IStoreInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IStore { - return new Contract(address, _abi, signerOrProvider) as IStore; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/IStore.sol/index.ts b/packages/world/types/ethers-contracts/factories/src/IStore.sol/index.ts deleted file mode 100644 index 9d23327002..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/IStore.sol/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IStore__factory } from "./IStore__factory"; -export { IStoreData__factory } from "./IStoreData__factory"; -export { IStoreEphemeral__factory } from "./IStoreEphemeral__factory"; -export { IStoreHook__factory } from "./IStoreHook__factory"; -export { IStoreRead__factory } from "./IStoreRead__factory"; -export { IStoreRegistration__factory } from "./IStoreRegistration__factory"; -export { IStoreWrite__factory } from "./IStoreWrite__factory"; diff --git a/packages/world/types/ethers-contracts/factories/src/Schema.sol/SchemaLib__factory.ts b/packages/world/types/ethers-contracts/factories/src/Schema.sol/SchemaLib__factory.ts deleted file mode 100644 index 67e5f40b59..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/Schema.sol/SchemaLib__factory.ts +++ /dev/null @@ -1,79 +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 { - SchemaLib, - SchemaLibInterface, -} from "../../../src/Schema.sol/SchemaLib"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "SchemaLib_InvalidLength", - type: "error", - }, - { - inputs: [], - name: "SchemaLib_StaticTypeAfterDynamicType", - type: "error", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type SchemaLibConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SchemaLibConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SchemaLib__factory extends ContractFactory { - constructor(...args: SchemaLibConstructorParams) { - 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): SchemaLib { - return super.attach(address) as SchemaLib; - } - override connect(signer: Signer): SchemaLib__factory { - return super.connect(signer) as SchemaLib__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SchemaLibInterface { - return new utils.Interface(_abi) as SchemaLibInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): SchemaLib { - return new Contract(address, _abi, signerOrProvider) as SchemaLib; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/Schema.sol/index.ts b/packages/world/types/ethers-contracts/factories/src/Schema.sol/index.ts deleted file mode 100644 index 6c05e6269f..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/Schema.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { SchemaLib__factory } from "./SchemaLib__factory"; diff --git a/packages/world/types/ethers-contracts/factories/src/Slice.sol/SliceLib__factory.ts b/packages/world/types/ethers-contracts/factories/src/Slice.sol/SliceLib__factory.ts deleted file mode 100644 index fce574e3f7..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/Slice.sol/SliceLib__factory.ts +++ /dev/null @@ -1,84 +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 { - SliceLib, - SliceLibInterface, -} from "../../../src/Slice.sol/SliceLib"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - ], - name: "Slice_OutOfBounds", - type: "error", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type SliceLibConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SliceLibConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SliceLib__factory extends ContractFactory { - constructor(...args: SliceLibConstructorParams) { - 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): SliceLib { - return super.attach(address) as SliceLib; - } - override connect(signer: Signer): SliceLib__factory { - return super.connect(signer) as SliceLib__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SliceLibInterface { - return new utils.Interface(_abi) as SliceLibInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): SliceLib { - return new Contract(address, _abi, signerOrProvider) as SliceLib; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/Slice.sol/index.ts b/packages/world/types/ethers-contracts/factories/src/Slice.sol/index.ts deleted file mode 100644 index acba22baba..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/Slice.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { SliceLib__factory } from "./SliceLib__factory"; diff --git a/packages/world/types/ethers-contracts/factories/src/StoreCore__factory.ts b/packages/world/types/ethers-contracts/factories/src/StoreCore__factory.ts deleted file mode 100644 index b90588430d..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/StoreCore__factory.ts +++ /dev/null @@ -1,160 +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 { StoreCore, StoreCoreInterface } from "../../src/StoreCore"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - ], - name: "StoreDeleteRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "table", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreEphemeralRecord", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "uint8", - name: "schemaIndex", - type: "uint8", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetField", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "tableId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes32[]", - name: "key", - type: "bytes32[]", - }, - { - indexed: false, - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "StoreSetRecord", - type: "event", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type StoreCoreConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreCoreConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreCore__factory extends ContractFactory { - constructor(...args: StoreCoreConstructorParams) { - 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): StoreCore { - return super.attach(address) as StoreCore; - } - override connect(signer: Signer): StoreCore__factory { - return super.connect(signer) as StoreCore__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreCoreInterface { - return new utils.Interface(_abi) as StoreCoreInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreCore { - return new Contract(address, _abi, signerOrProvider) as StoreCore; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/StoreSwitch__factory.ts b/packages/world/types/ethers-contracts/factories/src/StoreSwitch__factory.ts deleted file mode 100644 index f96cd8d242..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/StoreSwitch__factory.ts +++ /dev/null @@ -1,65 +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 { StoreSwitch, StoreSwitchInterface } from "../../src/StoreSwitch"; - -const _abi = [ - { - inputs: [], - name: "StoreSwitch_InvalidInsideConstructor", - type: "error", - }, -] as const; - -const _bytecode = - "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080d000a"; - -type StoreSwitchConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StoreSwitchConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class StoreSwitch__factory extends ContractFactory { - constructor(...args: StoreSwitchConstructorParams) { - 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): StoreSwitch { - return super.attach(address) as StoreSwitch; - } - override connect(signer: Signer): StoreSwitch__factory { - return super.connect(signer) as StoreSwitch__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StoreSwitchInterface { - return new utils.Interface(_abi) as StoreSwitchInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): StoreSwitch { - return new Contract(address, _abi, signerOrProvider) as StoreSwitch; - } -} diff --git a/packages/world/types/ethers-contracts/factories/src/index.ts b/packages/world/types/ethers-contracts/factories/src/index.ts deleted file mode 100644 index f596b77c71..0000000000 --- a/packages/world/types/ethers-contracts/factories/src/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as iStoreSol from "./IStore.sol"; -export * as schemaSol from "./Schema.sol"; -export * as sliceSol from "./Slice.sol"; -export { StoreCore__factory } from "./StoreCore__factory"; -export { StoreSwitch__factory } from "./StoreSwitch__factory"; diff --git a/packages/world/types/ethers-contracts/index.ts b/packages/world/types/ethers-contracts/index.ts deleted file mode 100644 index e1d4ef5214..0000000000 --- a/packages/world/types/ethers-contracts/index.ts +++ /dev/null @@ -1,102 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as iStoreSol from "./IStore.sol"; -export type { iStoreSol }; -import type * as iWorldKernelSol from "./IWorldKernel.sol"; -export type { iWorldKernelSol }; -import type * as schemaSol from "./Schema.sol"; -export type { schemaSol }; -import type * as sliceSol from "./Slice.sol"; -export type { sliceSol }; -import type * as src from "./src"; -export type { src }; -export type { AccessManagementSystem } from "./AccessManagementSystem"; -export type { CoreModule } from "./CoreModule"; -export type { CoreSystem } from "./CoreSystem"; -export type { EphemeralRecordSystem } from "./EphemeralRecordSystem"; -export type { IAccessManagementSystem } from "./IAccessManagementSystem"; -export type { IBaseWorld } from "./IBaseWorld"; -export type { IModule } from "./IModule"; -export type { IModuleInstallationSystem } from "./IModuleInstallationSystem"; -export type { IStoreErrors } from "./IStoreErrors"; -export type { IStoreRegistrationSystem } from "./IStoreRegistrationSystem"; -export type { ISystemHook } from "./ISystemHook"; -export type { IUniqueEntitySystem } from "./IUniqueEntitySystem"; -export type { IWorldEphemeral } from "./IWorldEphemeral"; -export type { IWorldErrors } from "./IWorldErrors"; -export type { IWorldRegistrationSystem } from "./IWorldRegistrationSystem"; -export type { KeysInTableHook } from "./KeysInTableHook"; -export type { KeysInTableModule } from "./KeysInTableModule"; -export type { KeysWithValueHook } from "./KeysWithValueHook"; -export type { KeysWithValueModule } from "./KeysWithValueModule"; -export type { ModuleInstallationSystem } from "./ModuleInstallationSystem"; -export type { SnapSyncModule } from "./SnapSyncModule"; -export type { SnapSyncSystem } from "./SnapSyncSystem"; -export type { StoreCore } from "./StoreCore"; -export type { StoreRead } from "./StoreRead"; -export type { StoreRegistrationSystem } from "./StoreRegistrationSystem"; -export type { StoreSwitch } from "./StoreSwitch"; -export type { UniqueEntityModule } from "./UniqueEntityModule"; -export type { UniqueEntitySystem } from "./UniqueEntitySystem"; -export type { World } from "./World"; -export type { WorldRegistrationSystem } from "./WorldRegistrationSystem"; -export * as factories from "./factories"; -export { AccessManagementSystem__factory } from "./factories/AccessManagementSystem__factory"; -export { CoreModule__factory } from "./factories/CoreModule__factory"; -export { CoreSystem__factory } from "./factories/CoreSystem__factory"; -export { EphemeralRecordSystem__factory } from "./factories/EphemeralRecordSystem__factory"; -export { IAccessManagementSystem__factory } from "./factories/IAccessManagementSystem__factory"; -export { IBaseWorld__factory } from "./factories/IBaseWorld__factory"; -export { IModule__factory } from "./factories/IModule__factory"; -export { IModuleInstallationSystem__factory } from "./factories/IModuleInstallationSystem__factory"; -export type { IStore } from "./IStore.sol/IStore"; -export { IStore__factory } from "./factories/IStore.sol/IStore__factory"; -export type { IStoreData } from "./IStore.sol/IStoreData"; -export { IStoreData__factory } from "./factories/IStore.sol/IStoreData__factory"; -export type { IStoreEphemeral } from "./IStore.sol/IStoreEphemeral"; -export { IStoreEphemeral__factory } from "./factories/IStore.sol/IStoreEphemeral__factory"; -export type { IStoreHook } from "./IStore.sol/IStoreHook"; -export { IStoreHook__factory } from "./factories/IStore.sol/IStoreHook__factory"; -export type { IStoreRead } from "./IStore.sol/IStoreRead"; -export { IStoreRead__factory } from "./factories/IStore.sol/IStoreRead__factory"; -export type { IStoreRegistration } from "./IStore.sol/IStoreRegistration"; -export { IStoreRegistration__factory } from "./factories/IStore.sol/IStoreRegistration__factory"; -export type { IStoreWrite } from "./IStore.sol/IStoreWrite"; -export { IStoreWrite__factory } from "./factories/IStore.sol/IStoreWrite__factory"; -export { IStoreErrors__factory } from "./factories/IStoreErrors__factory"; -export { IStoreRegistrationSystem__factory } from "./factories/IStoreRegistrationSystem__factory"; -export { ISystemHook__factory } from "./factories/ISystemHook__factory"; -export { IUniqueEntitySystem__factory } from "./factories/IUniqueEntitySystem__factory"; -export { IWorldEphemeral__factory } from "./factories/IWorldEphemeral__factory"; -export { IWorldErrors__factory } from "./factories/IWorldErrors__factory"; -export type { IWorldCall } from "./IWorldKernel.sol/IWorldCall"; -export { IWorldCall__factory } from "./factories/IWorldKernel.sol/IWorldCall__factory"; -export type { IWorldData } from "./IWorldKernel.sol/IWorldData"; -export { IWorldData__factory } from "./factories/IWorldKernel.sol/IWorldData__factory"; -export type { IWorldKernel } from "./IWorldKernel.sol/IWorldKernel"; -export { IWorldKernel__factory } from "./factories/IWorldKernel.sol/IWorldKernel__factory"; -export type { IWorldModuleInstallation } from "./IWorldKernel.sol/IWorldModuleInstallation"; -export { IWorldModuleInstallation__factory } from "./factories/IWorldKernel.sol/IWorldModuleInstallation__factory"; -export { IWorldRegistrationSystem__factory } from "./factories/IWorldRegistrationSystem__factory"; -export { KeysInTableHook__factory } from "./factories/KeysInTableHook__factory"; -export { KeysInTableModule__factory } from "./factories/KeysInTableModule__factory"; -export { KeysWithValueHook__factory } from "./factories/KeysWithValueHook__factory"; -export { KeysWithValueModule__factory } from "./factories/KeysWithValueModule__factory"; -export { ModuleInstallationSystem__factory } from "./factories/ModuleInstallationSystem__factory"; -export type { SchemaLib } from "./Schema.sol/SchemaLib"; -export { SchemaLib__factory } from "./factories/Schema.sol/SchemaLib__factory"; -export type { SliceLib } from "./Slice.sol/SliceLib"; -export { SliceLib__factory } from "./factories/Slice.sol/SliceLib__factory"; -export { SnapSyncModule__factory } from "./factories/SnapSyncModule__factory"; -export { SnapSyncSystem__factory } from "./factories/SnapSyncSystem__factory"; -export type { StoreCore } from "./src/StoreCore"; -export { StoreCore__factory } from "./factories/src/StoreCore__factory"; -export type { StoreSwitch } from "./src/StoreSwitch"; -export { StoreSwitch__factory } from "./factories/src/StoreSwitch__factory"; -export { StoreRead__factory } from "./factories/StoreRead__factory"; -export { StoreRegistrationSystem__factory } from "./factories/StoreRegistrationSystem__factory"; -export { UniqueEntityModule__factory } from "./factories/UniqueEntityModule__factory"; -export { UniqueEntitySystem__factory } from "./factories/UniqueEntitySystem__factory"; -export { World__factory } from "./factories/World__factory"; -export { WorldRegistrationSystem__factory } from "./factories/WorldRegistrationSystem__factory"; diff --git a/packages/world/types/ethers-contracts/src/IStore.sol/IStore.ts b/packages/world/types/ethers-contracts/src/IStore.sol/IStore.ts deleted file mode 100644 index 29d417475c..0000000000 --- a/packages/world/types/ethers-contracts/src/IStore.sol/IStore.ts +++ /dev/null @@ -1,1013 +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 IStoreInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "emitEphemeralRecord" - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - | "popFromField" - | "pushToField" - | "registerSchema" - | "registerStoreHook" - | "setField" - | "setMetadata" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "emitEphemeralRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "emitEphemeralRecord", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface IStore extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreInterface; - - 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: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreData.ts b/packages/world/types/ethers-contracts/src/IStore.sol/IStoreData.ts deleted file mode 100644 index c2a31c90fc..0000000000 --- a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreData.ts +++ /dev/null @@ -1,800 +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 IStoreDataInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - | "popFromField" - | "pushToField" - | "setField" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface IStoreData extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreDataInterface; - - 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: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreEphemeral.ts b/packages/world/types/ethers-contracts/src/IStore.sol/IStoreEphemeral.ts deleted file mode 100644 index 122b008190..0000000000 --- a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreEphemeral.ts +++ /dev/null @@ -1,151 +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 IStoreEphemeralInterface extends utils.Interface { - functions: { - "emitEphemeralRecord(bytes32,bytes32[],bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "emitEphemeralRecord"): FunctionFragment; - - encodeFunctionData( - functionFragment: "emitEphemeralRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "emitEphemeralRecord", - data: BytesLike - ): Result; - - events: { - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; -} - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface IStoreEphemeral extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreEphemeralInterface; - - 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: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - }; - - estimateGas: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - emitEphemeralRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreHook.ts b/packages/world/types/ethers-contracts/src/IStore.sol/IStoreHook.ts deleted file mode 100644 index dbb02f0d88..0000000000 --- a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreHook.ts +++ /dev/null @@ -1,273 +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 IStoreHookInterface extends utils.Interface { - functions: { - "onAfterSetField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "onBeforeSetField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "onDeleteRecord(bytes32,bytes32[])": FunctionFragment; - "onSetRecord(bytes32,bytes32[],bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "onAfterSetField" - | "onBeforeSetField" - | "onDeleteRecord" - | "onSetRecord" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "onAfterSetField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onBeforeSetField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "onDeleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "onSetRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "onAfterSetField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onBeforeSetField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onDeleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onSetRecord", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IStoreHook extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreHookInterface; - - 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: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - onAfterSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onBeforeSetField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onDeleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - onSetRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreRead.ts b/packages/world/types/ethers-contracts/src/IStore.sol/IStoreRead.ts deleted file mode 100644 index 3f7cda6447..0000000000 --- a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreRead.ts +++ /dev/null @@ -1,410 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../common"; - -export interface IStoreReadInterface extends utils.Interface { - functions: { - "getField(bytes32,bytes32[],uint8)": FunctionFragment; - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": FunctionFragment; - "getFieldSlice(bytes32,bytes32[],uint8,bytes32,uint256,uint256)": FunctionFragment; - "getKeySchema(bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[],bytes32)": FunctionFragment; - "getRecord(bytes32,bytes32[])": FunctionFragment; - "getSchema(bytes32)": FunctionFragment; - "isStore()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "getField" - | "getFieldLength" - | "getFieldSlice" - | "getKeySchema" - | "getRecord(bytes32,bytes32[],bytes32)" - | "getRecord(bytes32,bytes32[])" - | "getSchema" - | "isStore" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "getField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldLength", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getFieldSlice", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getKeySchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRecord(bytes32,bytes32[])", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "getSchema", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "isStore", values?: undefined): string; - - decodeFunctionResult(functionFragment: "getField", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getFieldLength", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFieldSlice", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKeySchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[],bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRecord(bytes32,bytes32[])", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isStore", data: BytesLike): Result; - - events: {}; -} - -export interface IStoreRead extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreReadInterface; - - 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: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise<[string] & { data: string }>; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string] & { schema: string }>; - - isStore(overrides?: CallOverrides): Promise<[void]>; - }; - - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - - callStatic: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - getField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldLength( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getFieldSlice( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - schema: PromiseOrValue, - start: PromiseOrValue, - end: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getKeySchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[],bytes32)"( - table: PromiseOrValue, - key: PromiseOrValue[], - schema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRecord(bytes32,bytes32[])"( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - getSchema( - table: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - isStore(overrides?: CallOverrides): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreRegistration.ts b/packages/world/types/ethers-contracts/src/IStore.sol/IStoreRegistration.ts deleted file mode 100644 index fcb0fe96d6..0000000000 --- a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreRegistration.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 } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "../../common"; - -export interface IStoreRegistrationInterface extends utils.Interface { - functions: { - "registerSchema(bytes32,bytes32,bytes32)": FunctionFragment; - "registerStoreHook(bytes32,address)": FunctionFragment; - "setMetadata(bytes32,string,string[])": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "registerSchema" - | "registerStoreHook" - | "setMetadata" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "registerSchema", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "registerStoreHook", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setMetadata", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue[] - ] - ): string; - - decodeFunctionResult( - functionFragment: "registerSchema", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "registerStoreHook", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setMetadata", - data: BytesLike - ): Result; - - events: {}; -} - -export interface IStoreRegistration extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreRegistrationInterface; - - 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: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - registerSchema( - table: PromiseOrValue, - schema: PromiseOrValue, - keySchema: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registerStoreHook( - table: PromiseOrValue, - hook: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMetadata( - table: PromiseOrValue, - tableName: PromiseOrValue, - fieldNames: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreWrite.ts b/packages/world/types/ethers-contracts/src/IStore.sol/IStoreWrite.ts deleted file mode 100644 index b1e865d57d..0000000000 --- a/packages/world/types/ethers-contracts/src/IStore.sol/IStoreWrite.ts +++ /dev/null @@ -1,462 +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 IStoreWriteInterface extends utils.Interface { - functions: { - "deleteRecord(bytes32,bytes32[])": FunctionFragment; - "popFromField(bytes32,bytes32[],uint8,uint256)": FunctionFragment; - "pushToField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setField(bytes32,bytes32[],uint8,bytes)": FunctionFragment; - "setRecord(bytes32,bytes32[],bytes)": FunctionFragment; - "updateInField(bytes32,bytes32[],uint8,uint256,bytes)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "deleteRecord" - | "popFromField" - | "pushToField" - | "setField" - | "setRecord" - | "updateInField" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "deleteRecord", - values: [PromiseOrValue, PromiseOrValue[]] - ): string; - encodeFunctionData( - functionFragment: "popFromField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "pushToField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "setRecord", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "updateInField", - values: [ - PromiseOrValue, - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "deleteRecord", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "popFromField", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pushToField", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setField", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setRecord", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateInField", - data: BytesLike - ): Result; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - table: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - table: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface IStoreWrite extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IStoreWriteInterface; - - 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: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: CallOverrides - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "StoreDeleteRecord(bytes32,bytes32[])"( - table?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(table?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - table?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - table?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - deleteRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - popFromField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - byteLengthToPop: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - pushToField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - dataToPush: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setRecord( - table: PromiseOrValue, - key: PromiseOrValue[], - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateInField( - table: PromiseOrValue, - key: PromiseOrValue[], - schemaIndex: PromiseOrValue, - startByteIndex: PromiseOrValue, - dataToSet: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/packages/world/types/ethers-contracts/src/IStore.sol/index.ts b/packages/world/types/ethers-contracts/src/IStore.sol/index.ts deleted file mode 100644 index 35cda61787..0000000000 --- a/packages/world/types/ethers-contracts/src/IStore.sol/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IStore } from "./IStore"; -export type { IStoreData } from "./IStoreData"; -export type { IStoreEphemeral } from "./IStoreEphemeral"; -export type { IStoreHook } from "./IStoreHook"; -export type { IStoreRead } from "./IStoreRead"; -export type { IStoreRegistration } from "./IStoreRegistration"; -export type { IStoreWrite } from "./IStoreWrite"; diff --git a/packages/world/types/ethers-contracts/src/Schema.sol/SchemaLib.ts b/packages/world/types/ethers-contracts/src/Schema.sol/SchemaLib.ts deleted file mode 100644 index bf7ffdc308..0000000000 --- a/packages/world/types/ethers-contracts/src/Schema.sol/SchemaLib.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 SchemaLibInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface SchemaLib extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SchemaLibInterface; - - 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/packages/world/types/ethers-contracts/src/Schema.sol/index.ts b/packages/world/types/ethers-contracts/src/Schema.sol/index.ts deleted file mode 100644 index 78403b20a1..0000000000 --- a/packages/world/types/ethers-contracts/src/Schema.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { SchemaLib } from "./SchemaLib"; diff --git a/packages/world/types/ethers-contracts/src/Slice.sol/SliceLib.ts b/packages/world/types/ethers-contracts/src/Slice.sol/SliceLib.ts deleted file mode 100644 index 284358a7ce..0000000000 --- a/packages/world/types/ethers-contracts/src/Slice.sol/SliceLib.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 SliceLibInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface SliceLib extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SliceLibInterface; - - 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/packages/world/types/ethers-contracts/src/Slice.sol/index.ts b/packages/world/types/ethers-contracts/src/Slice.sol/index.ts deleted file mode 100644 index 0a299b7f88..0000000000 --- a/packages/world/types/ethers-contracts/src/Slice.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { SliceLib } from "./SliceLib"; diff --git a/packages/world/types/ethers-contracts/src/StoreCore.ts b/packages/world/types/ethers-contracts/src/StoreCore.ts deleted file mode 100644 index 1a7a5cba1a..0000000000 --- a/packages/world/types/ethers-contracts/src/StoreCore.ts +++ /dev/null @@ -1,157 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, 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 StoreCoreInterface extends utils.Interface { - functions: {}; - - events: { - "StoreDeleteRecord(bytes32,bytes32[])": EventFragment; - "StoreEphemeralRecord(bytes32,bytes32[],bytes)": EventFragment; - "StoreSetField(bytes32,bytes32[],uint8,bytes)": EventFragment; - "StoreSetRecord(bytes32,bytes32[],bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "StoreDeleteRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreEphemeralRecord"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetField"): EventFragment; - getEvent(nameOrSignatureOrTopic: "StoreSetRecord"): EventFragment; -} - -export interface StoreDeleteRecordEventObject { - tableId: string; - key: string[]; -} -export type StoreDeleteRecordEvent = TypedEvent< - [string, string[]], - StoreDeleteRecordEventObject ->; - -export type StoreDeleteRecordEventFilter = - TypedEventFilter; - -export interface StoreEphemeralRecordEventObject { - table: string; - key: string[]; - data: string; -} -export type StoreEphemeralRecordEvent = TypedEvent< - [string, string[], string], - StoreEphemeralRecordEventObject ->; - -export type StoreEphemeralRecordEventFilter = - TypedEventFilter; - -export interface StoreSetFieldEventObject { - tableId: string; - key: string[]; - schemaIndex: number; - data: string; -} -export type StoreSetFieldEvent = TypedEvent< - [string, string[], number, string], - StoreSetFieldEventObject ->; - -export type StoreSetFieldEventFilter = TypedEventFilter; - -export interface StoreSetRecordEventObject { - tableId: string; - key: string[]; - data: string; -} -export type StoreSetRecordEvent = TypedEvent< - [string, string[], string], - StoreSetRecordEventObject ->; - -export type StoreSetRecordEventFilter = TypedEventFilter; - -export interface StoreCore extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreCoreInterface; - - 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: { - "StoreDeleteRecord(bytes32,bytes32[])"( - tableId?: null, - key?: null - ): StoreDeleteRecordEventFilter; - StoreDeleteRecord(tableId?: null, key?: null): StoreDeleteRecordEventFilter; - - "StoreEphemeralRecord(bytes32,bytes32[],bytes)"( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - StoreEphemeralRecord( - table?: null, - key?: null, - data?: null - ): StoreEphemeralRecordEventFilter; - - "StoreSetField(bytes32,bytes32[],uint8,bytes)"( - tableId?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - StoreSetField( - tableId?: null, - key?: null, - schemaIndex?: null, - data?: null - ): StoreSetFieldEventFilter; - - "StoreSetRecord(bytes32,bytes32[],bytes)"( - tableId?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - StoreSetRecord( - tableId?: null, - key?: null, - data?: null - ): StoreSetRecordEventFilter; - }; - - estimateGas: {}; - - populateTransaction: {}; -} diff --git a/packages/world/types/ethers-contracts/src/StoreSwitch.ts b/packages/world/types/ethers-contracts/src/StoreSwitch.ts deleted file mode 100644 index 26fb1f2c5a..0000000000 --- a/packages/world/types/ethers-contracts/src/StoreSwitch.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 StoreSwitchInterface extends utils.Interface { - functions: {}; - - events: {}; -} - -export interface StoreSwitch extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: StoreSwitchInterface; - - 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/packages/world/types/ethers-contracts/src/index.ts b/packages/world/types/ethers-contracts/src/index.ts deleted file mode 100644 index 43a266f86d..0000000000 --- a/packages/world/types/ethers-contracts/src/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as iStoreSol from "./IStore.sol"; -export type { iStoreSol }; -import type * as schemaSol from "./Schema.sol"; -export type { schemaSol }; -import type * as sliceSol from "./Slice.sol"; -export type { sliceSol }; -export type { StoreCore } from "./StoreCore"; -export type { StoreSwitch } from "./StoreSwitch";