@sentio/sdk
    Preparing search index...

    Variable ContractConfig

    ContractConfig: {
        create(
            base?: {
                assetConfigs?: {
                    filters?: {
                        assetId?: string;
                        fromAddress?: string;
                        toAddress?: string;
                    }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                contract?: {
                    abi?: string;
                    address?: string;
                    chainId?: string;
                    name?: string;
                };
                cosmosLogConfigs?: {
                    handlerId?: number;
                    handlerName?: string;
                    logFilters?: string[];
                }[];
                endBlock?: bigint;
                fuelReceiptConfigs?: {
                    handlerId?: number;
                    handlerName?: string;
                    log?: { logIds?: string[] };
                    transfer?: { assetId?: string; from?: string; to?: string };
                }[];
                fuelTransactionConfigs?: { handlerId?: number; handlerName?: string }[];
                instructionConfig?: {
                    innerInstruction?: boolean;
                    parsedInstruction?: boolean;
                    rawDataInstruction?: boolean;
                };
                intervalConfigs?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    handlerId?: number;
                    handlerName?: string;
                    minutes?: number;
                    minutesInterval?: { backfillInterval?: number; recentInterval?: number };
                    slot?: number;
                    slotInterval?: { backfillInterval?: number; recentInterval?: number };
                }[];
                logConfigs?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    filters?: {
                        address?: string;
                        addressType?: AddressType;
                        topics?: (...)[];
                    }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                moveCallConfigs?: {
                    fetchConfig?: {
                        allEvents?: boolean;
                        includeFailedTransaction?: boolean;
                        inputs?: boolean;
                        resourceChanges?: boolean;
                        resourceConfig?: { moveTypePrefix?: (...)
                        | (...) };
                        supportMultisigFunc?: boolean;
                    };
                    filters?: {
                        fromAndToAddress?: { from?: ...; to?: ... };
                        function?: string;
                        includeFailed?: boolean;
                        publicKeyPrefix?: string;
                        typeArguments?: (...)[];
                        withTypeArguments?: boolean;
                    }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                moveEventConfigs?: {
                    fetchConfig?: {
                        allEvents?: boolean;
                        includeFailedTransaction?: boolean;
                        inputs?: boolean;
                        resourceChanges?: boolean;
                        resourceConfig?: { moveTypePrefix?: (...)
                        | (...) };
                        supportMultisigFunc?: boolean;
                    };
                    filters?: { account?: string; eventAccount?: string; type?: string }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                moveIntervalConfigs?: {
                    fetchConfig?: {
                        allEvents?: boolean;
                        includeFailedTransaction?: boolean;
                        inputs?: boolean;
                        resourceChanges?: boolean;
                        resourceConfig?: { moveTypePrefix?: (...)
                        | (...) };
                        supportMultisigFunc?: boolean;
                    };
                    intervalConfig?: {
                        fetchConfig?: {
                            block?: (...)
                            | (...)
                            | (...);
                            trace?: (...) | (...) | (...);
                            transaction?: (...) | (...) | (...);
                            transactionReceipt?: (...) | (...) | (...);
                            transactionReceiptLogs?: (...) | (...) | (...);
                        };
                        handlerId?: number;
                        handlerName?: string;
                        minutes?: number;
                        minutesInterval?: {
                            backfillInterval?: (...)
                            | (...);
                            recentInterval?: (...) | (...);
                        };
                        slot?: number;
                        slotInterval?: {
                            backfillInterval?: (...)
                            | (...);
                            recentInterval?: (...) | (...);
                        };
                    };
                    ownerType?: MoveOwnerType;
                    resourceFetchConfig?: { owned?: boolean };
                    type?: string;
                }[];
                moveResourceChangeConfigs?: {
                    handlerId?: number;
                    handlerName?: string;
                    includeDeleted?: boolean;
                    type?: string;
                }[];
                processorType?: string;
                starknetEventConfigs?: {
                    filters?: { address?: string; keys?: (...)[] }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                startBlock?: bigint;
                traceConfigs?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    handlerId?: number;
                    handlerName?: string;
                    signature?: string;
                }[];
                transactionConfig?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    handlerId?: number;
                    handlerName?: string;
                }[];
            },
        ): ContractConfig;
        decode(
            input: Uint8Array<ArrayBufferLike> | Reader,
            length?: number,
        ): ContractConfig;
        encode(message: ContractConfig, writer?: Writer): Writer;
        fromJSON(object: any): ContractConfig;
        fromPartial(
            object: {
                assetConfigs?: {
                    filters?: {
                        assetId?: string;
                        fromAddress?: string;
                        toAddress?: string;
                    }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                contract?: {
                    abi?: string;
                    address?: string;
                    chainId?: string;
                    name?: string;
                };
                cosmosLogConfigs?: {
                    handlerId?: number;
                    handlerName?: string;
                    logFilters?: string[];
                }[];
                endBlock?: bigint;
                fuelReceiptConfigs?: {
                    handlerId?: number;
                    handlerName?: string;
                    log?: { logIds?: string[] };
                    transfer?: { assetId?: string; from?: string; to?: string };
                }[];
                fuelTransactionConfigs?: { handlerId?: number; handlerName?: string }[];
                instructionConfig?: {
                    innerInstruction?: boolean;
                    parsedInstruction?: boolean;
                    rawDataInstruction?: boolean;
                };
                intervalConfigs?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    handlerId?: number;
                    handlerName?: string;
                    minutes?: number;
                    minutesInterval?: { backfillInterval?: number; recentInterval?: number };
                    slot?: number;
                    slotInterval?: { backfillInterval?: number; recentInterval?: number };
                }[];
                logConfigs?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    filters?: {
                        address?: string;
                        addressType?: AddressType;
                        topics?: { hashes?: ... }[];
                    }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                moveCallConfigs?: {
                    fetchConfig?: {
                        allEvents?: boolean;
                        includeFailedTransaction?: boolean;
                        inputs?: boolean;
                        resourceChanges?: boolean;
                        resourceConfig?: { moveTypePrefix?: string };
                        supportMultisigFunc?: boolean;
                    };
                    filters?: {
                        fromAndToAddress?: { from?: (...)
                        | (...); to?: (...) | (...) };
                        function?: string;
                        includeFailed?: boolean;
                        publicKeyPrefix?: string;
                        typeArguments?: string[];
                        withTypeArguments?: boolean;
                    }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                moveEventConfigs?: {
                    fetchConfig?: {
                        allEvents?: boolean;
                        includeFailedTransaction?: boolean;
                        inputs?: boolean;
                        resourceChanges?: boolean;
                        resourceConfig?: { moveTypePrefix?: string };
                        supportMultisigFunc?: boolean;
                    };
                    filters?: { account?: string; eventAccount?: string; type?: string }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                moveIntervalConfigs?: {
                    fetchConfig?: {
                        allEvents?: boolean;
                        includeFailedTransaction?: boolean;
                        inputs?: boolean;
                        resourceChanges?: boolean;
                        resourceConfig?: { moveTypePrefix?: string };
                        supportMultisigFunc?: boolean;
                    };
                    intervalConfig?: {
                        fetchConfig?: {
                            block?: boolean;
                            trace?: boolean;
                            transaction?: boolean;
                            transactionReceipt?: boolean;
                            transactionReceiptLogs?: boolean;
                        };
                        handlerId?: number;
                        handlerName?: string;
                        minutes?: number;
                        minutesInterval?: {
                            backfillInterval?: number;
                            recentInterval?: number;
                        };
                        slot?: number;
                        slotInterval?: { backfillInterval?: number; recentInterval?: number };
                    };
                    ownerType?: MoveOwnerType;
                    resourceFetchConfig?: { owned?: boolean };
                    type?: string;
                }[];
                moveResourceChangeConfigs?: {
                    handlerId?: number;
                    handlerName?: string;
                    includeDeleted?: boolean;
                    type?: string;
                }[];
                processorType?: string;
                starknetEventConfigs?: {
                    filters?: { address?: string; keys?: string[] }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                startBlock?: bigint;
                traceConfigs?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    handlerId?: number;
                    handlerName?: string;
                    signature?: string;
                }[];
                transactionConfig?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    handlerId?: number;
                    handlerName?: string;
                }[];
            },
        ): ContractConfig;
        toJSON(message: ContractConfig): unknown;
    }

    Type Declaration

    • create: function
      • Parameters

        • Optionalbase: {
              assetConfigs?: {
                  filters?: {
                      assetId?: string;
                      fromAddress?: string;
                      toAddress?: string;
                  }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              contract?: {
                  abi?: string;
                  address?: string;
                  chainId?: string;
                  name?: string;
              };
              cosmosLogConfigs?: {
                  handlerId?: number;
                  handlerName?: string;
                  logFilters?: string[];
              }[];
              endBlock?: bigint;
              fuelReceiptConfigs?: {
                  handlerId?: number;
                  handlerName?: string;
                  log?: { logIds?: string[] };
                  transfer?: { assetId?: string; from?: string; to?: string };
              }[];
              fuelTransactionConfigs?: { handlerId?: number; handlerName?: string }[];
              instructionConfig?: {
                  innerInstruction?: boolean;
                  parsedInstruction?: boolean;
                  rawDataInstruction?: boolean;
              };
              intervalConfigs?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  handlerId?: number;
                  handlerName?: string;
                  minutes?: number;
                  minutesInterval?: { backfillInterval?: number; recentInterval?: number };
                  slot?: number;
                  slotInterval?: { backfillInterval?: number; recentInterval?: number };
              }[];
              logConfigs?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  filters?: {
                      address?: string;
                      addressType?: AddressType;
                      topics?: (...)[];
                  }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              moveCallConfigs?: {
                  fetchConfig?: {
                      allEvents?: boolean;
                      includeFailedTransaction?: boolean;
                      inputs?: boolean;
                      resourceChanges?: boolean;
                      resourceConfig?: { moveTypePrefix?: (...)
                      | (...) };
                      supportMultisigFunc?: boolean;
                  };
                  filters?: {
                      fromAndToAddress?: { from?: ...; to?: ... };
                      function?: string;
                      includeFailed?: boolean;
                      publicKeyPrefix?: string;
                      typeArguments?: (...)[];
                      withTypeArguments?: boolean;
                  }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              moveEventConfigs?: {
                  fetchConfig?: {
                      allEvents?: boolean;
                      includeFailedTransaction?: boolean;
                      inputs?: boolean;
                      resourceChanges?: boolean;
                      resourceConfig?: { moveTypePrefix?: (...)
                      | (...) };
                      supportMultisigFunc?: boolean;
                  };
                  filters?: { account?: string; eventAccount?: string; type?: string }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              moveIntervalConfigs?: {
                  fetchConfig?: {
                      allEvents?: boolean;
                      includeFailedTransaction?: boolean;
                      inputs?: boolean;
                      resourceChanges?: boolean;
                      resourceConfig?: { moveTypePrefix?: (...)
                      | (...) };
                      supportMultisigFunc?: boolean;
                  };
                  intervalConfig?: {
                      fetchConfig?: {
                          block?: (...)
                          | (...)
                          | (...);
                          trace?: (...) | (...) | (...);
                          transaction?: (...) | (...) | (...);
                          transactionReceipt?: (...) | (...) | (...);
                          transactionReceiptLogs?: (...) | (...) | (...);
                      };
                      handlerId?: number;
                      handlerName?: string;
                      minutes?: number;
                      minutesInterval?: {
                          backfillInterval?: (...)
                          | (...);
                          recentInterval?: (...) | (...);
                      };
                      slot?: number;
                      slotInterval?: {
                          backfillInterval?: (...)
                          | (...);
                          recentInterval?: (...) | (...);
                      };
                  };
                  ownerType?: MoveOwnerType;
                  resourceFetchConfig?: { owned?: boolean };
                  type?: string;
              }[];
              moveResourceChangeConfigs?: {
                  handlerId?: number;
                  handlerName?: string;
                  includeDeleted?: boolean;
                  type?: string;
              }[];
              processorType?: string;
              starknetEventConfigs?: {
                  filters?: { address?: string; keys?: (...)[] }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              startBlock?: bigint;
              traceConfigs?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  handlerId?: number;
                  handlerName?: string;
                  signature?: string;
              }[];
              transactionConfig?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  handlerId?: number;
                  handlerName?: string;
              }[];
          }

        Returns ContractConfig

    • decode: function
      • Parameters

        • input: Uint8Array<ArrayBufferLike> | Reader
        • Optionallength: number

        Returns ContractConfig

    • encode: function
      • Parameters

        Returns Writer

    • fromJSON: function
      • Parameters

        • object: any

        Returns ContractConfig

    • fromPartial: function
      • Parameters

        • object: {
              assetConfigs?: {
                  filters?: {
                      assetId?: string;
                      fromAddress?: string;
                      toAddress?: string;
                  }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              contract?: {
                  abi?: string;
                  address?: string;
                  chainId?: string;
                  name?: string;
              };
              cosmosLogConfigs?: {
                  handlerId?: number;
                  handlerName?: string;
                  logFilters?: string[];
              }[];
              endBlock?: bigint;
              fuelReceiptConfigs?: {
                  handlerId?: number;
                  handlerName?: string;
                  log?: { logIds?: string[] };
                  transfer?: { assetId?: string; from?: string; to?: string };
              }[];
              fuelTransactionConfigs?: { handlerId?: number; handlerName?: string }[];
              instructionConfig?: {
                  innerInstruction?: boolean;
                  parsedInstruction?: boolean;
                  rawDataInstruction?: boolean;
              };
              intervalConfigs?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  handlerId?: number;
                  handlerName?: string;
                  minutes?: number;
                  minutesInterval?: { backfillInterval?: number; recentInterval?: number };
                  slot?: number;
                  slotInterval?: { backfillInterval?: number; recentInterval?: number };
              }[];
              logConfigs?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  filters?: {
                      address?: string;
                      addressType?: AddressType;
                      topics?: { hashes?: ... }[];
                  }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              moveCallConfigs?: {
                  fetchConfig?: {
                      allEvents?: boolean;
                      includeFailedTransaction?: boolean;
                      inputs?: boolean;
                      resourceChanges?: boolean;
                      resourceConfig?: { moveTypePrefix?: string };
                      supportMultisigFunc?: boolean;
                  };
                  filters?: {
                      fromAndToAddress?: { from?: (...)
                      | (...); to?: (...) | (...) };
                      function?: string;
                      includeFailed?: boolean;
                      publicKeyPrefix?: string;
                      typeArguments?: string[];
                      withTypeArguments?: boolean;
                  }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              moveEventConfigs?: {
                  fetchConfig?: {
                      allEvents?: boolean;
                      includeFailedTransaction?: boolean;
                      inputs?: boolean;
                      resourceChanges?: boolean;
                      resourceConfig?: { moveTypePrefix?: string };
                      supportMultisigFunc?: boolean;
                  };
                  filters?: { account?: string; eventAccount?: string; type?: string }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              moveIntervalConfigs?: {
                  fetchConfig?: {
                      allEvents?: boolean;
                      includeFailedTransaction?: boolean;
                      inputs?: boolean;
                      resourceChanges?: boolean;
                      resourceConfig?: { moveTypePrefix?: string };
                      supportMultisigFunc?: boolean;
                  };
                  intervalConfig?: {
                      fetchConfig?: {
                          block?: boolean;
                          trace?: boolean;
                          transaction?: boolean;
                          transactionReceipt?: boolean;
                          transactionReceiptLogs?: boolean;
                      };
                      handlerId?: number;
                      handlerName?: string;
                      minutes?: number;
                      minutesInterval?: { backfillInterval?: number; recentInterval?: number };
                      slot?: number;
                      slotInterval?: { backfillInterval?: number; recentInterval?: number };
                  };
                  ownerType?: MoveOwnerType;
                  resourceFetchConfig?: { owned?: boolean };
                  type?: string;
              }[];
              moveResourceChangeConfigs?: {
                  handlerId?: number;
                  handlerName?: string;
                  includeDeleted?: boolean;
                  type?: string;
              }[];
              processorType?: string;
              starknetEventConfigs?: {
                  filters?: { address?: string; keys?: string[] }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              startBlock?: bigint;
              traceConfigs?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  handlerId?: number;
                  handlerName?: string;
                  signature?: string;
              }[];
              transactionConfig?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  handlerId?: number;
                  handlerName?: string;
              }[];
          }

        Returns ContractConfig

    • toJSON: function
      • Parameters

        Returns unknown