Contracts: Add transfer event (#801)

This commit is contained in:
Sergey Pepyakin
2018-09-25 20:49:18 +01:00
committed by Gav Wood
parent a613c62dc1
commit 98e0a3a55a
7 changed files with 142 additions and 31 deletions
+2 -1
View File
@@ -174,6 +174,7 @@ impl treasury::Trait for Runtime {
impl contract::Trait for Runtime {
type Gas = u64;
type DetermineContractAddress = contract::SimpleAddressDeterminator<Runtime>;
type Event = Event;
}
impl DigestItem for Log {
@@ -208,7 +209,7 @@ construct_runtime!(
CouncilVoting: council_voting::{Module, Call, Storage, Event<T>},
CouncilMotions: council_motions::{Module, Call, Storage, Event<T>, Origin},
Treasury: treasury,
Contract: contract::{Module, Call, Config},
Contract: contract::{Module, Call, Config, Event<T>},
}
);
+1
View File
@@ -661,6 +661,7 @@ name = "srml-contract"
version = "0.1.0"
dependencies = [
"parity-codec 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec-derive 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-wasm 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pwasm-utils 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)",