syntax = "proto3";
package osmosis.store.v1beta1;

import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto";

option go_package = "github.com/osmosis-labs/osmosis/v13/osmoutils/sumtree";

message Node { repeated Child children = 1; }

message Child {
  bytes index = 1;
  string accumulation = 2 [
    (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
    (gogoproto.nullable) = false
  ];
}

message Leaf { Child leaf = 1; }
