factory

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressBurnMintFactory

type AddressBurnMintFactory struct {
	// contains filtered or unexported fields
}

AddressBurnMintFactory is a DisclosureFactory implementation that looks up a BurnMintFactory from an InstanceAddress directly.

type AddressTransferFactory

type AddressTransferFactory struct {
	// contains filtered or unexported fields
}

func (AddressTransferFactory) GetFeeTokenDisclosures added in v1.1.0

type FeeTokenDisclosureFactory added in v1.1.0

type FeeTokenDisclosureFactory interface {
	GetFeeTokenDisclosures(
		ctx context.Context,
		instrumentId splice_api_token_holding_v1.InstrumentId,
		sender types.PARTY,
		receiver types.PARTY,
	) (types.CONTRACT_ID, splice_api_token_metadata_v1.ChoiceContext, []oapiCommon.DisclosedContract, error)
}

FeeTokenDisclosureFactory fetches the transfer factory disclosures for a fee token, used by the CCIP API to return the fee token's transfer factory disclosures to clients.

type RequestBurnMintFactory

type RequestBurnMintFactory struct {
	// contains filtered or unexported fields
}

RequestBurnMintFactory is a DisclosureFactory implementation that requests a BurnMintFactory from another URL. It calls DA's Registry to retrieve both the factory and ChoiceContext. Contrary to URLBurnMintFactory, it uses separate endpoints for send/execute: - getMintRequestCreateContext for execution - getBurnRequestCreateContext for sending

type TransferDisclosureFactory added in v1.1.0

type TransferDisclosureFactory interface {
	DisclosureFactory
	FeeTokenDisclosureFactory
}

TransferDisclosureFactory is a DisclosureFactory backed by a token-standard TransferFactory, which can additionally resolve fee token disclosures.

type URLBurnMintFactory

type URLBurnMintFactory struct {
	// contains filtered or unexported fields
}

URLBurnMintFactory is a DisclosureFactory implementation that requests a BurnMintFactory from another URL. It calls DA's Registry to retrieve both the factory and ChoiceContext using the getBurnMintFactory endpoint for both send & execute directions.

type URLTransferFactory

type URLTransferFactory struct {
	// contains filtered or unexported fields
}

func (URLTransferFactory) GetFeeTokenDisclosures added in v1.1.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL