diff --git a/blockchain/modules/airdrop/Cargo.toml b/blockchain/modules/airdrop/Cargo.toml index 96b88a18..4216401a 100644 --- a/blockchain/modules/airdrop/Cargo.toml +++ b/blockchain/modules/airdrop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-airdrop" -version = "0.1.0" +version = "0.9.81-dev" authors = ["Setheum Labs"] edition = "2021" diff --git a/blockchain/modules/lockdrop/Cargo.toml b/blockchain/modules/lockdrop/Cargo.toml new file mode 100644 index 00000000..ed905e12 --- /dev/null +++ b/blockchain/modules/lockdrop/Cargo.toml @@ -0,0 +1,41 @@ +[package] +name = "module-lockdrop" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } +scale-info = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } + +orml-traits = { workspace = true } +primitives = { workspace = true } + +[dev-dependencies] +orml-tokens = { workspace = true, features = ["std"] } +sp-core = { workspace = true, features = ["std"] } + +[features] +default = ["std"] +std = [ + "frame-support/std", + "frame-system/std", + "orml-tokens/std", + "orml-traits/std", + "parity-scale-codec/std", + "primitives/std", + "sp-runtime/std", + "sp-core/std", + "sp-std/std", + "scale-info/std", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "module-dex/try-runtime", +] diff --git a/blockchain/modules/lockdrop/README.md b/blockchain/modules/lockdrop/README.md new file mode 100644 index 00000000..fafe7bd8 --- /dev/null +++ b/blockchain/modules/lockdrop/README.md @@ -0,0 +1,5 @@ +# Airdrop Module + +## Overview + +This module creates locked airdrops and distributes them to the - acccounts in the lockdrop list from a drop origin. The module for distributing Setheum Lockdrops. diff --git a/blockchain/modules/lockdrop/TODO.md b/blockchain/modules/lockdrop/TODO.md new file mode 100644 index 00000000..3e9cd565 --- /dev/null +++ b/blockchain/modules/lockdrop/TODO.md @@ -0,0 +1,56 @@ +# To-Do List + +This list contains all TODOs in the Repo + + + +- [ToDo List - The Monofile for Setheum Repo ToDos](#to-do-list) + - [1. Introduction](#1-guidelines) + - [2. Contribution](#2-contribution) + - [3. Lists](#3-lists) + - [4. Tasks](#3-tasks) + + + +## 1. Guidelines + +Note: Before you write a ToDo in this repo, please read the below guidelines carefully. + +Whenever you write a ToDo, you need to follow this standard syntax + +```rust +//TODO:[file_name:task_number] - task_details +``` + +for example: + +```rust +//TODO:[TODO.md:0] - Add Todo Guidelines +``` + +Note > the `//TODO:[filename:task_number] - ` is what we call the `task_prefix`. + +Whenever adding/writing a Task/ToDo, you need to describe the task on this list. Whenever you write a TODO in any file, add a reference to it here. Please make sure the task reference here is titled correctly and as detailed as possible\. + +Whenever you `complete` a task/TODO from any file, please tick/complete its reference here and make sure you do it in the same `commit` that completes the task. + +Whenever a task is cancelled (discontinued or not needed for w/e reason), please note in the details why it is cancelled, make sure you do it in the same `commit` that removes/cancels the TODO, and add this `-C` as a suffix to its `file_name` in the list here, for example: + +```rust +//TODO:[TODO.md-C:0] - Add Todo Guidelines +``` + +## 2. Contribution + +You can contribute to this list by completing tasks or by adding tasks(TODOs) that are currently in the repo but not on the list. You can also contribute by updating old tasks to the new Standard. + +## 3. Lists + +Each package/module/directory has its own `TODO.md`. + +## 4. Tasks + +These tasks are just for this file specifically. + +- [x] [[TODO.md:0] - Add TODO.md File](TODO.md): Add a TODO.md file to organise TODOs in the repo. +- [x] [[TODO.md:1] - Add a `task_title`](/TODO.md/#tasks): Adda `task_title`.