Prathamesh Musale
ad07856267
All checks were successful
Tests / sdk_tests (push) Successful in 23m10s
Part of https://www.notion.so/Rename-laconic2d-to-laconicd-9028d0c020d24d1288e92ebcb773d7a7 Co-authored-by: neeraj <neeraj.rtly@gmail.com> Reviewed-on: #10 Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to> Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
34 lines
909 B
Protocol Buffer
34 lines
909 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cerc.bond.v1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "cosmos/base/v1beta1/coin.proto";
|
|
|
|
option go_package = "git.vdb.to/cerc-io/laconicd/x/bond";
|
|
|
|
// Params defines the parameters of the bond module.
|
|
message Params {
|
|
// max_bond_amount is maximum amount to bond
|
|
cosmos.base.v1beta1.Coin max_bond_amount = 1 [
|
|
(gogoproto.nullable) = false,
|
|
(gogoproto.moretags) = "json:\"max_bond_amount\" yaml:\"max_bond_amount\""
|
|
];
|
|
}
|
|
|
|
// Bond represents funds deposited by an account for record rent payments.
|
|
message Bond {
|
|
// id is unique identifier of the bond
|
|
string id = 1;
|
|
|
|
// owner of the bond
|
|
string owner = 2;
|
|
|
|
// balance of the bond
|
|
repeated cosmos.base.v1beta1.Coin balance = 3 [
|
|
(gogoproto.nullable) = false,
|
|
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
|
|
(gogoproto.moretags) = "json:\"balance\" yaml:\"balance\""
|
|
];
|
|
}
|