Some checks failed
CodeQL / Analyze (push) Waiting to run
Docker Build & Push Simapp (main) / docker-build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
Tests / Code Coverage / build (amd64) (push) Waiting to run
Tests / Code Coverage / build (arm64) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[additional-args:-tags="test_e2e" name:e2e path:./e2e]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:08-wasm path:./modules/light-clients/08-wasm]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:ibc-go path:.]) (push) Waiting to run
Deploy to GitHub Pages / Deploy to GitHub Pages (push) Has been cancelled
Buf-Push / push (push) Has been cancelled
30 lines
872 B
Protocol Buffer
30 lines
872 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package ibc.applications.transfer.v1;
|
|
|
|
option go_package = "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types";
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
// Token defines a struct which represents a token to be transferred.
|
|
message Token {
|
|
// the token denomination
|
|
Denom denom = 1 [(gogoproto.nullable) = false];
|
|
// the token amount to be transferred
|
|
string amount = 2;
|
|
}
|
|
|
|
// Denom holds the base denom of a Token and a trace of the chains it was sent through.
|
|
message Denom {
|
|
// the base token denomination
|
|
string base = 1;
|
|
// the trace of the token
|
|
repeated Hop trace = 3 [(gogoproto.nullable) = false];
|
|
}
|
|
|
|
// Hop defines a port ID, channel ID pair specifying a unique "hop" in a trace
|
|
message Hop {
|
|
option (gogoproto.goproto_stringer) = false;
|
|
string port_id = 1;
|
|
string channel_id = 2;
|
|
}
|