Documentation
¶
Index ¶
Constants ¶
View Source
const (
RHINESTONE_ORCHESTRATOR_URL = "https://orchestrator.rhinestone.dev"
)
View Source
const (
StatusCompleted = "COMPLETED"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcrossDepositEvent ¶
type AcrossDepositEvent struct {
Message string `json:"message"`
DepositId string `json:"depositId"`
Depositor string `json:"depositor"`
Recipient string `json:"recipient"`
InputToken string `json:"inputToken"`
InputAmount string `json:"inputAmount"`
OutputToken string `json:"outputToken"`
FillDeadline string `json:"fillDeadline"`
OutputAmount string `json:"outputAmount"`
QuoteTimestamp uint64 `json:"quoteTimestamp"`
ExclusiveRelayer string `json:"exclusiveRelayer"`
DestinationChainId uint64 `json:"destinationChainId"`
ExclusivityDeadline string `json:"exclusivityDeadline"`
OriginClaimPayload OriginClaimPayload `json:"originClaimPayload"`
}
type Bundle ¶
type Bundle struct {
Status BundleStatus `json:"status"`
TargetChainId uint64 `json:"targetChainId"`
UserAddress string `json:"userAddress"`
BundleData BundleData `json:"bundleData"`
BundleEvent BundleEvent `json:"bundleEvent"`
}
type BundleData ¶
type BundleEvent ¶
type BundleEvent struct {
BundleId string `json:"bundleId"`
AcrossDepositEvents []AcrossDepositEvent `json:"acrossDepositEvents"`
FillPayload FillPayload `json:"targetFillPayload"`
}
type BundleStatus ¶
type BundleStatus string
type FillPayload ¶
type OriginClaimPayload ¶
type OriginClaimPayload struct {
ChainID uint64 `json:"chainId"`
}
type RhinestoneOrchestrator ¶
type RhinestoneOrchestrator struct {
Client *http.Client
// contains filtered or unexported fields
}
func NewRhinestoneOrchestrator ¶
func NewRhinestoneOrchestrator(apiKey string) *RhinestoneOrchestrator
Click to show internal directories.
Click to hide internal directories.