Skip to content

Commit

Permalink
Init Lockdrop Module
Browse files Browse the repository at this point in the history
  • Loading branch information
balqaasem committed Mar 4, 2024
1 parent 6113953 commit 096e996
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blockchain/modules/airdrop/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "module-airdrop"
version = "0.1.0"
version = "0.9.81-dev"
authors = ["Setheum Labs"]
edition = "2021"

Expand Down
41 changes: 41 additions & 0 deletions blockchain/modules/lockdrop/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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",
]
5 changes: 5 additions & 0 deletions blockchain/modules/lockdrop/README.md
Original file line number Diff line number Diff line change
@@ -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.
56 changes: 56 additions & 0 deletions blockchain/modules/lockdrop/TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# To-Do List

This list contains all TODOs in the Repo


<!-- TOC -->
- [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)
<!-- /TOC -->


## 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`.

0 comments on commit 096e996

Please sign in to comment.