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
34 lines
1.3 KiB
Protocol Buffer
34 lines
1.3 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package ibc.applications.transfer.v1;
|
|
|
|
option go_package = "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types";
|
|
|
|
import "cosmos_proto/cosmos.proto";
|
|
import "gogoproto/gogo.proto";
|
|
import "cosmos/base/v1beta1/coin.proto";
|
|
|
|
// Allocation defines the spend limit for a particular port and channel
|
|
message Allocation {
|
|
// the port on which the packet will be sent
|
|
string source_port = 1;
|
|
// the channel by which the packet will be sent
|
|
string source_channel = 2;
|
|
// spend limitation on the channel
|
|
repeated cosmos.base.v1beta1.Coin spend_limit = 3
|
|
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
|
|
// allow list of receivers, an empty allow list permits any receiver address
|
|
repeated string allow_list = 4;
|
|
// allow list of memo strings, an empty list prohibits all memo strings;
|
|
// a list only with "*" permits any memo string
|
|
repeated string allowed_packet_data = 5;
|
|
}
|
|
|
|
// TransferAuthorization allows the grantee to spend up to spend_limit coins from
|
|
// the granter's account for ibc transfer on a specific channel
|
|
message TransferAuthorization {
|
|
option (cosmos_proto.implements_interface) = "cosmos.authz.v1beta1.Authorization";
|
|
|
|
// port and channel amounts
|
|
repeated Allocation allocations = 1 [(gogoproto.nullable) = false];
|
|
}
|