25 lines
662 B
Go
25 lines
662 B
Go
package types
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
host "github.com/cosmos/cosmos-sdk/x/ibc/24-host"
|
|
)
|
|
|
|
// IBC connection events
|
|
const (
|
|
AttributeKeyConnectionID = "connection_id"
|
|
AttributeKeyClientID = "client_id"
|
|
AttributeKeyCounterpartyClientID = "counterparty_client_id"
|
|
)
|
|
|
|
// IBC connection events vars
|
|
var (
|
|
EventTypeConnectionOpenInit = MsgConnectionOpenInit{}.Type()
|
|
EventTypeConnectionOpenTry = MsgConnectionOpenTry{}.Type()
|
|
EventTypeConnectionOpenAck = MsgConnectionOpenAck{}.Type()
|
|
EventTypeConnectionOpenConfirm = MsgConnectionOpenConfirm{}.Type()
|
|
|
|
AttributeValueCategory = fmt.Sprintf("%s_%s", host.ModuleName, SubModuleName)
|
|
)
|