Skip to content

Commit

Permalink
Merge pull request #6 from mangata-finance/copyright
Browse files Browse the repository at this point in the history
copyright added
  • Loading branch information
gleb-urvanov authored Dec 10, 2020
2 parents f8b0389 + 339c462 commit 0742714
Show file tree
Hide file tree
Showing 26 changed files with 36 additions and 248 deletions.
13 changes: 0 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/block-builder/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// This file is part of Substrate.

// Copyright (C) 2017-2020 Parity Technologies (UK) Ltd.
// Copyright (C) 2020 Mangata team
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
1 change: 1 addition & 0 deletions client/service/src/client/client.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// This file is part of Substrate.

// Copyright (C) 2017-2020 Parity Technologies (UK) Ltd.
// Copyright (C) 2020 Mangata team
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 2 additions & 0 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team

use sp_core::{Pair, Public, sr25519};
use mangata_runtime::{
AccountId, BabeConfig, BalancesConfig, GenesisConfig, GrandpaConfig, SessionConfig,
Expand Down
2 changes: 2 additions & 0 deletions node/src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team

use structopt::StructOpt;
use sc_cli::RunCmd;

Expand Down
1 change: 1 addition & 0 deletions node/src/command.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// This file is part of Substrate.

// Copyright (C) 2017-2020 Parity Technologies (UK) Ltd.
// Copyright (C) 2020 Mangata team
// SPDX-License-Identifier: Apache-2.0

// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions node/src/service.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team

//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.
use std::sync::Arc;
Expand Down
2 changes: 2 additions & 0 deletions pallets/assets-info/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team

#![cfg_attr(not(feature = "std"), no_std)]

/// Edit this file to define custom logic or remove it if it is not needed.
Expand Down
2 changes: 2 additions & 0 deletions pallets/assets-info/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team

use crate::{Module, Trait};
use sp_core::H256;
use frame_support::{impl_outer_origin, parameter_types, weights::Weight};
Expand Down
2 changes: 2 additions & 0 deletions pallets/assets-info/src/tests.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team

use crate::{mock::*, AssetInfo, Error};
use frame_support::{assert_noop, assert_ok};

Expand Down
1 change: 1 addition & 0 deletions pallets/assets/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// This file is part of Substrate.

// Copyright (C) 2017-2020 Parity Technologies (UK) Ltd.
// Copyright (C) 2020 Mangata team
// SPDX-License-Identifier: Apache-2.0

// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
3 changes: 3 additions & 0 deletions pallets/bridged-asset/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (C) 2020 Mangata team
// Based on Snowfork bridge implementation

//! # Asset
//!
//! The asset module provides functionality for handling bridged asset balances.
Expand Down
2 changes: 2 additions & 0 deletions pallets/erc20-app/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team
// Based on Snowfork bridge implementation
//! # ERC20
//!
//! An application that implements bridged ERC20 token assets.
Expand Down
2 changes: 2 additions & 0 deletions pallets/eth-app/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team
// Based on Snowfork bridge implementation
//! # ETH
//!
//! An application that implements a bridged ETH asset.
Expand Down
1 change: 1 addition & 0 deletions pallets/executive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// This file is part of Substrate.

// Copyright (C) 2017-2020 Parity Technologies (UK) Ltd.
// Copyright (C) 2020 Mangata team
// SPDX-License-Identifier: Apache-2.0

// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
36 changes: 0 additions & 36 deletions pallets/template/Cargo.toml

This file was deleted.

103 changes: 0 additions & 103 deletions pallets/template/src/lib.rs

This file was deleted.

61 changes: 0 additions & 61 deletions pallets/template/src/mock.rs

This file was deleted.

23 changes: 0 additions & 23 deletions pallets/template/src/tests.rs

This file was deleted.

2 changes: 2 additions & 0 deletions pallets/xyk/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team

#![cfg_attr(not(feature = "std"), no_std)]

/// For more guidance on Substrate modules, see the example module
Expand Down
2 changes: 2 additions & 0 deletions pallets/xyk/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team

use crate::{Module, Trait};
use sp_core::H256;

Expand Down
2 changes: 2 additions & 0 deletions pallets/xyk/src/tests.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team

use super::*;
use crate::mock::*;
use crate::mock::Test;
Expand Down
2 changes: 2 additions & 0 deletions primitives/core/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (C) 2020 Mangata team
// Based on Snowfork bridge implementation
use std::env;
use std::fs;
use std::path::Path;
Expand Down
3 changes: 2 additions & 1 deletion primitives/core/src/registry.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

// Copyright (C) 2020 Mangata team
// Based on Snowfork bridge implementation
use crate::types::AppId;
use sp_std::convert::TryInto;

Expand Down
2 changes: 0 additions & 2 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ hex-literal = { optional = true, version = '0.3.1' }
serde = { features = ['derive'], optional = true, version = '1.0.101' }

# local dependencies
pallet-template = { path = '../pallets/template', default-features = false, version = '2.0.0' }
pallet-xyk = { path = '../pallets/xyk', default-features = false, version = '0.1.0' }
pallet-assets = { path = '../pallets/assets', default-features = false, version = '2.0.0' }
frame-executive = { path = '../pallets/executive', default-features = false, version = '2.0.0' }
Expand Down Expand Up @@ -121,7 +120,6 @@ std = [
'pallet-grandpa/std',
'pallet-randomness-collective-flip/std',
'pallet-sudo/std',
'pallet-template/std',
'pallet-timestamp/std',
'pallet-transaction-payment/std',
'pallet-transaction-payment-rpc-runtime-api/std',
Expand Down
Loading

0 comments on commit 0742714

Please sign in to comment.