From 79e4c6f8702661d2312f70297a3bee527532095a Mon Sep 17 00:00:00 2001 From: Sergei Pepyakin Date: Thu, 2 May 2019 18:09:17 +0200 Subject: [PATCH] Change terminology referring balance units in contract docs (#2450) --- substrate/srml/contract/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/substrate/srml/contract/src/lib.rs b/substrate/srml/contract/src/lib.rs index c8b55ef737..ec71573fb6 100644 --- a/substrate/srml/contract/src/lib.rs +++ b/substrate/srml/contract/src/lib.rs @@ -549,10 +549,10 @@ decl_storage! { /// The amount of funds a contract should deposit in order to offset /// the cost of one byte. /// - /// Let's suppose the deposit is 1,000 EDG/byte and the rent is 1 EDG/byte/day, then a contract - /// with 1,000,000 EDG that uses 1,000 bytes of storage would pay no rent. - /// But if the balance reduced to 500,000 EDG and the storage stayed the same at 1,000, - /// then it would pay 500 EDG/day. + /// Let's suppose the deposit is 1,000 BU (balance units)/byte and the rent is 1 BU/byte/day, + /// then a contract with 1,000,000 BU that uses 1,000 bytes of storage would pay no rent. + /// But if the balance reduced to 500,000 BU and the storage stayed the same at 1,000, + /// then it would pay 500 BU/day. RentDepositOffset get(rent_deposit_offset) config(): BalanceOf; /// Reward that is received by the party whose touch has led /// to removal of a contract.