handler

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CompleteRequestProcessing         string = "completeRequestProcessing"
	DTARequestManagement              string = "DTARequestManagement"
	DTARequestSettlement              string = "DTARequestSettlement"
	DTASettlementOpenedEventSignature string = "DTASettlementOpened(address,bytes32,uint8,address,uint64,address,bytes32,address,uint256,uint256,uint8)"
	DTASettlementClosedEventSignature string = "DTASettlementClosed(address,bytes32,uint8,address,uint64,address,bytes32,bool,bytes)"
	WorkflowService                   string = "dta.v1"
)

Functions

func OnLog

func OnLog(cfg *workflows.Config, rt cre.Runtime, payload *evm.Log) (string, error)

OnLog processes EVM log events from DTA contracts. It decodes event parameters, composes workflow metadata, and posts signed events.

Types

type GetDistributorRequestInput

type GetDistributorRequestInput struct {
	GetDistributorRequestMethod gethAbi.Method
	DtaChainSelector            string
	DtaAddr                     string
	RequestId                   []byte
}

type GetFundTokenInput

type GetFundTokenInput struct {
	GetFundTokenMethod gethAbi.Method
	DtaChainSelector   string
	DtaAddr            string
	FundAdminAddr      string
	FundTokenId        []byte
}

Jump to

Keyboard shortcuts

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