# Subscription ## subscription.proto ``` protobuf message Plan{ uint64 id = 1; cosmos.base.v1beta1.Coin price = 2; Time duration = 3; uint64 deployment_id = 4; string name = 5; string description = 6; PlanStatus status = 7; string creator = 8; } ``` ``` protobuf message Subscription { uint64 plan_id = 1; string subscriber = 2; } ``` ## tx.proto ``` protobuf message MsgCreatePlan{ uint64 deployment_id = 1; Time duration = 2; string sender = 3; cosmos.base.v1beta1.Coin price = 4; string name = 5; string description = 6; PlanStatus status = 7; } ``` ``` protobuf message MsgSubscribePlan{ uint64 plan_id = 1; Time expiration = 2; SubscriptionStatus status = 3; bytes metadata = 4; string sender = 5; } ``` ```protobuf message MsgUnsubscribePlan{ uint64 plan_id = 1; string sender = 2; } ``` ``` protobuf message MsgClosePlan{ uint64 plan_id = 1; string sender = 2; } ``` ``` protobuf message MsgCreateNonce{ uint64 plan_id = 1; string sender = 2; } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up