types

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BridgeType

type BridgeType = string
const (
	BRIDGE_TYPE_GRAVITY BridgeType = "Gravity"
	BRIDGE_TYPE_IBC     BridgeType = "IBC"
)

type Chain

type Chain = string
const (
	CHAIN_CRYPTO_ORG_CHAIN Chain = "Crypto.org-Chain"
	CHAIN_CRONOS           Chain = "Cronos"
	CHAIN_ETHEREUM         Chain = "Ethereum"
)

type Direction

type Direction = string
const (
	DIRECTION_OUTGOING Direction = "Outgoing"
	DIRECTION_INCOMING Direction = "Incoming"
	DIRECTION_RESPONSE Direction = "Response"
)

type Status

type Status = string
const (
	STATUS_PENDING                Status = "Pending"
	STATUS_CANCELLED              Status = "Cancelled"
	STATUS_COUNTERPARTY_CONFIRMED Status = "CounterpartyConfirmed"
	STATUS_FAILED                 Status = "Failed"
	STATUS_COUNTERPARTY_REJECTED  Status = "CounterpartyRejected"
	// Packet already relayed, do nothing (no-op)
	// https://github.com/cosmos/ibc-go/blob/760d15a3a55397678abe311b7f65203b2e8437d6/modules/core/04-channel/keeper/packet.go#L239
	STATUS_NO_OPERATION Status = "NoOperation"
)

Jump to

Keyboard shortcuts

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