Factory
Entity for Merkle factories, which deploy campaigns.
type Factory {
id: String!
address: Bytes!
alias: String!
campaignCounter: BigInt!
chainId: BigInt!
campaigns(
skip: Int = 0
first: Int = 100
orderBy: Campaign_orderBy
orderDirection: OrderDirection
where: Campaign_filter
): [Campaign!]!
}
Fields
Factory.id
● String!
non-null scalar
Unique identifier: factory-{chainId}-{address}
Factory.address
● Bytes!
non-null scalar
The address of the factory contract.
Factory.alias
● String!
non-null scalar
Factory alias, e.g., MSF2
. For historical reasons, the alias comes from the
the name of the MerkleStreamFactory
contract.
Factory.campaignCounter
● BigInt!
non-null scalar
Factory index for campaigns
Factory.chainId
● BigInt!
non-null scalar
The chain ID where the factory was created (e.g., 137 for Polygon).
Factory.campaigns
● [Campaign!]!
non-null object
Campaigns deployed by this factory.