-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CNS-169: create module subscription #328
Commits on Mar 2, 2023
-
CNS-169: create module subscription
command: ignite scaffold module subscription
Configuration menu - View commit details
-
Copy full SHA for cb24608 - Browse repository at this point
Copy the full SHA cb24608View commit details -
CNS-169: adjust Plan methods GetPlan(),PutPlan()
GetPlan() - drop block arg, because we always use current block. PutPlan() - do not return the Plan, because we drop it anway.
Configuration menu - View commit details
-
Copy full SHA for 4cdd426 - Browse repository at this point
Copy the full SHA 4cdd426View commit details -
CNS-169: setup module subscription in app.go
Porperly initialize the module in app.go, and add deps account,bank.
Configuration menu - View commit details
-
Copy full SHA for 8ebc314 - Browse repository at this point
Copy the full SHA 8ebc314View commit details -
CNS-169: scaffold type subscription
ignite scaffold type subscription \ creator:string \ consumer:string \ block:uint \ plan_index:string \ plan_block:uint \ is_yearly:bool \ expiry_time:uint \ usedCU:uint \ remainingCU:uint \ --no-message \ --module subscription
Configuration menu - View commit details
-
Copy full SHA for 331411f - Browse repository at this point
Copy the full SHA 331411fView commit details -
CNS-169: scaffold message subscribe
ignite scaffold message subscribe \ consumer:string index:string is_yearly:bool --module subscription --desc "Subscribe to a service plan"
Configuration menu - View commit details
-
Copy full SHA for 4154948 - Browse repository at this point
Copy the full SHA 4154948View commit details -
CNS-169: implement message subscribe
To add a subscription: lavad tx subscription subscribe [CONSUMER] [PLAN] [IS_YEARLY] [flags] Where: CONSUMER: address of the consumer that will use this subscription PLAN: unique index of the plan to subscribe to IS_YEARLY: whether the subscription is for a year (for discounted rate)
Configuration menu - View commit details
-
Copy full SHA for f3d1300 - Browse repository at this point
Copy the full SHA f3d1300View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70b1629 - Browse repository at this point
Copy the full SHA 70b1629View commit details -
CNS-175: scaffold query current-subscription
ignite scaffold query CurrentSubscription \ consumer:string \ --module subscription \ --desc "Query current subscription to a service plan" \ --response sub:Subscription
Configuration menu - View commit details
-
Copy full SHA for aac59ce - Browse repository at this point
Copy the full SHA aac59ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4544569 - Browse repository at this point
Copy the full SHA 4544569View commit details
Commits on Mar 3, 2023
-
Merge pull request #329 from lavanet/CNS-169-implement-module-subscri…
…ption CNS-169 implement module subscription
Configuration menu - View commit details
-
Copy full SHA for 1075f17 - Browse repository at this point
Copy the full SHA 1075f17View commit details -
Merge pull request #330 from lavanet/CNS-175-implement-query-current-…
…subscription CNS-175 implement query current subscription
Configuration menu - View commit details
-
Copy full SHA for 9b12eab - Browse repository at this point
Copy the full SHA 9b12eabView commit details