eds

package
v1.0.0-preupgrade Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisclosedContractToProto

func DisclosedContractToProto(contract oapiCommon.DisclosedContract) (*apiv2.DisclosedContract, error)

func GetGlobalDisclosureBatch

func GetGlobalDisclosureBatch(ctx context.Context, globalAPIClient oapiGlobal.ClientWithResponsesInterface, addresses []contracts.InstanceAddress) ([]*apiv2.DisclosedContract, error)

Types

type CCIPExecuteDisclosure

type CCIPExecuteDisclosure struct {
	ChoiceContext      splice_api_token_metadata_v1.ChoiceContext
	DisclosedContracts []*apiv2.DisclosedContract
	TokenPool          *contracts.RawInstanceAddress
}

func GetCCIPExecuteDisclosure

func GetCCIPExecuteDisclosure(
	ctx context.Context,
	ccipAPIClient oapiCCIP.ClientWithResponsesInterface,
	encodedMessageHex string,
) (*CCIPExecuteDisclosure, error)

type CCIPSendDisclosure

type CCIPSendDisclosure struct {
	ChoiceContext      splice_api_token_metadata_v1.ChoiceContext
	DisclosedContracts []*apiv2.DisclosedContract
	CCVs               []string
	Executor           *string
	FeeTokenConfigCid  string
}

func GetCCIPSendDisclosure

func GetCCIPSendDisclosure(
	ctx context.Context,
	ccipAPIClient oapiCCIP.ClientWithResponsesInterface,
	message oapiCommon.Message,
	senderRequiredCCVs []string,
	tokenPoolRequiredCCVs []string,
) (*CCIPSendDisclosure, error)

type CCVExecuteDisclosure

type CCVExecuteDisclosure struct {
	ContractId         string
	Address            contracts.RawInstanceAddress
	DisclosedContracts []*apiv2.DisclosedContract
	ChoiceContext      splice_api_token_metadata_v1.ChoiceContext
}

func GetCCVExecuteDisclosure

func GetCCVExecuteDisclosure(
	ctx context.Context,
	ccvAPIClient oapiCCV.ClientWithResponsesInterface,
	encodedMessageHex string,
	ccvAddress contracts.InstanceAddress,
) (*CCVExecuteDisclosure, error)

type CCVSendDisclosure

type CCVSendDisclosure struct {
	ContractId         string
	Address            contracts.RawInstanceAddress
	DisclosedContracts []*apiv2.DisclosedContract
	ChoiceContext      splice_api_token_metadata_v1.ChoiceContext
}

func GetCCVSendDisclosure

func GetCCVSendDisclosure(
	ctx context.Context,
	ccvAPIClient oapiCCV.ClientWithResponsesInterface,
	message oapiCommon.Message,
	ccvAddress contracts.InstanceAddress,
) (*CCVSendDisclosure, error)

type ExecutorDisclosure

type ExecutorDisclosure struct {
	ContractId         string
	Address            contracts.RawInstanceAddress
	DisclosedContracts []*apiv2.DisclosedContract
	ChoiceContext      splice_api_token_metadata_v1.ChoiceContext
}

func GetExecutorSendDisclosure

func GetExecutorSendDisclosure(
	ctx context.Context,
	executorAPIClient oapiExecutor.ClientWithResponsesInterface,
	message oapiCommon.Message,
	executorAddress contracts.InstanceAddress,
	ccvAddresses []string,
) (*ExecutorDisclosure, error)

type PerPartyRouterFactoryDisclosure

type PerPartyRouterFactoryDisclosure struct {
	ContractId         string
	Address            contracts.RawInstanceAddress
	DisclosedContracts []*apiv2.DisclosedContract
}

func GetPerPartyRouterFactoryDisclosure

func GetPerPartyRouterFactoryDisclosure(
	ctx context.Context,
	ccipAPIClient oapiCCIP.ClientWithResponsesInterface,
	partyId string,
) (*PerPartyRouterFactoryDisclosure, error)

type TokenPoolExecuteDisclosure

type TokenPoolExecuteDisclosure struct {
	ContractId         string
	Address            contracts.RawInstanceAddress
	DisclosedContracts []*apiv2.DisclosedContract
	ChoiceContext      splice_api_token_metadata_v1.ChoiceContext
	RequiredCCVs       []string
}

func GetTokenPoolExecuteDisclosure

func GetTokenPoolExecuteDisclosure(
	ctx context.Context,
	tokenPoolAPIClient oapiTokenPool.ClientWithResponsesInterface,
	encodedMessageHex string,
	tokenPoolAddress contracts.InstanceAddress,
) (*TokenPoolExecuteDisclosure, error)

type TokenPoolSendDisclosure

type TokenPoolSendDisclosure struct {
	ContractId         string
	Address            contracts.RawInstanceAddress
	DisclosedContracts []*apiv2.DisclosedContract
	ChoiceContext      splice_api_token_metadata_v1.ChoiceContext
	RequiredCCVs       []string
}

func GetTokenPoolSendDisclosure

func GetTokenPoolSendDisclosure(
	ctx context.Context,
	tokenPoolAPIClient oapiTokenPool.ClientWithResponsesInterface,
	message oapiCommon.Message,
	tokenPoolAddress contracts.InstanceAddress,
) (*TokenPoolSendDisclosure, error)

Jump to

Keyboard shortcuts

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