Documentation
¶
Index ¶
- func DisclosedContractToProto(contract oapiCommon.DisclosedContract) (*apiv2.DisclosedContract, error)
- func GetGlobalDisclosureBatch(ctx context.Context, globalAPIClient oapiGlobal.ClientWithResponsesInterface, ...) ([]*apiv2.DisclosedContract, error)
- func GetTokenPoolForToken(ctx context.Context, ccipAPIClient oapiCCIP.ClientWithResponsesInterface, ...) (contracts.RawInstanceAddress, error)
- type CCIPExecuteDisclosure
- type CCIPSendDisclosure
- type CCVExecuteDisclosure
- type CCVSendDisclosure
- type ExecutorDisclosure
- type PerPartyRouterFactoryDisclosure
- type TokenPoolExecuteDisclosure
- type TokenPoolSendDisclosure
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)
func GetTokenPoolForToken ¶
func GetTokenPoolForToken(ctx context.Context, ccipAPIClient oapiCCIP.ClientWithResponsesInterface, token contracts.EncodedInstrumentID) (contracts.RawInstanceAddress, 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)
Click to show internal directories.
Click to hide internal directories.