git.delta.rocks / unique-network / refs/commits / 6693c698eecb

difftreelog

Make NFT Transfer fee close to 0.1 Unique

Greg Zaitsev2021-01-28parent: #735c2a4.patch.diff
in: master

7 files changed

modifiedCargo.lockdiffbeforeafterboth
3468 "pallet-vesting",3468 "pallet-vesting",
3469 "parity-scale-codec",3469 "parity-scale-codec",
3470 "serde",3470 "serde",
3471 "smallvec 1.6.1",
3471 "sp-api",3472 "sp-api",
3473 "sp-arithmetic",
3472 "sp-block-builder",3474 "sp-block-builder",
3473 "sp-consensus-aura",3475 "sp-consensus-aura",
3474 "sp-core",3476 "sp-core",
modifiedruntime/Cargo.tomldiffbeforeafterboth
48pallet-treasury = { version = "2.0.1", default-features = false, git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }48pallet-treasury = { version = "2.0.1", default-features = false, git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }
49pallet-vesting = { version = "2.0.1", default-features = false, git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }49pallet-vesting = { version = "2.0.1", default-features = false, git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }
50sp-api = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }50sp-api = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }
51sp-arithmetic = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }
51sp-block-builder = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }52sp-block-builder = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }
52sp-consensus-aura = { default-features = false, version = '0.8.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }53sp-consensus-aura = { default-features = false, version = '0.8.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }
53sp-core = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }54sp-core = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }
58sp-std = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }59sp-std = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }
59sp-transaction-pool = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }60sp-transaction-pool = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }
60sp-version = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }61sp-version = { default-features = false, version = '2.0.1' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'unique' }
62smallvec = "1.4.1"
6163
62[features]64[features]
63default = ['std']65default = ['std']
modifiedruntime/src/lib.rsdiffbeforeafterboth
49 },49 },
50 weights::{50 weights::{
51 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},51 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},
52 DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,52 DispatchInfo, GetDispatchInfo, Pays, PostDispatchInfo, Weight,
53 WeightToFeePolynomial,53 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients
54 },54 },
55 StorageValue,55 StorageValue,
56};56};
60 EnsureRoot, 60 EnsureRoot,
61 limits::{BlockWeights, BlockLength}};61 limits::{BlockWeights, BlockLength}};
62use sp_std::{marker::PhantomData};62use sp_std::{marker::PhantomData};
63use sp_arithmetic::{traits::{BaseArithmetic, Unsigned}};
64use smallvec::{smallvec, SmallVec};
6365
64pub use pallet_timestamp::Call as TimestampCall;66pub use pallet_timestamp::Call as TimestampCall;
6567
217impl OnUnbalanced<NegativeImbalance> for DealWithFees {219impl OnUnbalanced<NegativeImbalance> for DealWithFees {
218 fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item=NegativeImbalance>) {220 fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item=NegativeImbalance>) {
219 if let Some(fees) = fees_then_tips.next() {221 if let Some(fees) = fees_then_tips.next() {
220 // for fees, 80% to treasury, 20% to author222 // for fees, 100% to treasury
221 let mut split = fees.ration(80, 20);223 let mut split = fees.ration(100, 0);
222 if let Some(tips) = fees_then_tips.next() {224 if let Some(tips) = fees_then_tips.next() {
223 // for tips, if any, 80% to treasury, 20% to author (though this can be anything)225 // for tips, if any, 100% to treasury
224 tips.ration_merge_into(80, 20, &mut split);226 tips.ration_merge_into(100, 0, &mut split);
225 }227 }
226 Treasury::on_unbalanced(split.0);228 Treasury::on_unbalanced(split.0);
227 // Author::on_unbalanced(split.1);229 // Author::on_unbalanced(split.1);
366 type WeightInfo = ();368 type WeightInfo = ();
367}369}
368370
369pub const MILLICENTS: Balance = 1_000_000_000;371pub const MICROUNIQUE: Balance = 1_000_000_000;
370pub const CENTS: Balance = 1_000 * MILLICENTS;372pub const MILLIUNIQUE: Balance = 1_000 * MICROUNIQUE;
373pub const CENTIUNIQUE: Balance = 10 * MILLIUNIQUE;
371pub const DOLLARS: Balance = 100 * CENTS;374pub const UNIQUE: Balance = 100 * CENTIUNIQUE;
372375
373pub const fn deposit(items: u32, bytes: u32) -> Balance {376pub const fn deposit(items: u32, bytes: u32) -> Balance {
374 items as Balance * 15 * CENTS + (bytes as Balance) * 6 * CENTS377 items as Balance * 15 * CENTIUNIQUE + (bytes as Balance) * 6 * CENTIUNIQUE
375}378}
376379
377parameter_types! {380parameter_types! {
383 pub const DepositPerStorageByte: Balance = deposit(0, 1);386 pub const DepositPerStorageByte: Balance = deposit(0, 1);
384 pub const DepositPerStorageItem: Balance = deposit(1, 0);387 pub const DepositPerStorageItem: Balance = deposit(1, 0);
385 pub RentFraction: Perbill = Perbill::from_rational_approximation(1u32, 30 * DAYS);388 pub RentFraction: Perbill = Perbill::from_rational_approximation(1u32, 30 * DAYS);
386 pub const SurchargeReward: Balance = 150 * MILLICENTS;389 pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;
387 pub const SignedClaimHandicap: u32 = 2;390 pub const SignedClaimHandicap: u32 = 2;
388 pub const MaxDepth: u32 = 32;391 pub const MaxDepth: u32 = 32;
389 pub const MaxValueSize: u32 = 16 * 1024;392 pub const MaxValueSize: u32 = 16 * 1024;
421 type DeletionWeightLimit = DeletionWeightLimit;424 type DeletionWeightLimit = DeletionWeightLimit;
422}425}
423426
424parameter_types! {427parameter_types! {
425 pub const TransactionByteFee: Balance = 10 * MILLICENTS;428 pub const TransactionByteFee: Balance = 501 * MICROUNIQUE; // Targeting 0.1 Unique per NFT transfer
429}
430
431/// Linear implementor of `WeightToFeePolynomial`
426 pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25);432pub struct LinearFee<T>(sp_std::marker::PhantomData<T>);
433
434impl<T> WeightToFeePolynomial for LinearFee<T> where
435 T: BaseArithmetic + From<u32> + Copy + Unsigned
436{
437 type Balance = T;
438
439 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {
440 smallvec!(WeightToFeeCoefficient {
441 coeff_integer: 146_700u32.into(), // Targeting 0.1 Unique per NFT transfer
427 pub AdjustmentVariable: Multiplier = Multiplier::saturating_from_rational(1, 100_000);442 coeff_frac: Perbill::zero(),
428 pub MinimumMultiplier: Multiplier = Multiplier::saturating_from_rational(1, 1_000_000_000u128);443 negative: false,
429}444 degree: 1,
445 })
446 }
447}
430448
431impl pallet_transaction_payment::Config for Runtime {449impl pallet_transaction_payment::Config for Runtime {
432 type OnChargeTransaction = CurrencyAdapter<Balances, DealWithFees>;450 type OnChargeTransaction = CurrencyAdapter<Balances, DealWithFees>;
433 type TransactionByteFee = TransactionByteFee;451 type TransactionByteFee = TransactionByteFee;
434 type WeightToFee = IdentityFee<Balance>;452 type WeightToFee = LinearFee<Balance>;
435 type FeeMultiplierUpdate =453 type FeeMultiplierUpdate = ();
436 TargetedFeeAdjustment<Self, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier>;
437}454}
438455
439parameter_types! {456parameter_types! {
440 pub const ProposalBond: Permill = Permill::from_percent(5);457 pub const ProposalBond: Permill = Permill::from_percent(5);
441 pub const ProposalBondMinimum: Balance = 1 * DOLLARS;458 pub const ProposalBondMinimum: Balance = 1 * UNIQUE;
442 pub const SpendPeriod: BlockNumber = 5 * MINUTES;459 pub const SpendPeriod: BlockNumber = 5 * MINUTES;
443 pub const Burn: Permill = Permill::from_percent(0);460 pub const Burn: Permill = Permill::from_percent(0);
444 pub const TipCountdown: BlockNumber = 1 * DAYS;461 pub const TipCountdown: BlockNumber = 1 * DAYS;
445 pub const TipFindersFee: Percent = Percent::from_percent(20);462 pub const TipFindersFee: Percent = Percent::from_percent(20);
446 pub const TipReportDepositBase: Balance = 1 * DOLLARS;463 pub const TipReportDepositBase: Balance = 1 * UNIQUE;
447 pub const DataDepositPerByte: Balance = 1 * CENTS;464 pub const DataDepositPerByte: Balance = 1 * CENTIUNIQUE;
448 pub const BountyDepositBase: Balance = 1 * DOLLARS;465 pub const BountyDepositBase: Balance = 1 * UNIQUE;
449 pub const BountyDepositPayoutDelay: BlockNumber = 1 * DAYS;466 pub const BountyDepositPayoutDelay: BlockNumber = 1 * DAYS;
450 pub const TreasuryModuleId: ModuleId = ModuleId(*b"py/trsry");467 pub const TreasuryModuleId: ModuleId = ModuleId(*b"py/trsry");
451 pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS;468 pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS;
452 pub const MaximumReasonLength: u32 = 16384;469 pub const MaximumReasonLength: u32 = 16384;
453 pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);470 pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);
454 pub const BountyValueMinimum: Balance = 5 * DOLLARS;471 pub const BountyValueMinimum: Balance = 5 * UNIQUE;
455}472}
456473
457impl pallet_treasury::Config for Runtime {474impl pallet_treasury::Config for Runtime {
476}493}
477494
478parameter_types! {495parameter_types! {
479 pub const MinVestedTransfer: Balance = 100 * DOLLARS;496 pub const MinVestedTransfer: Balance = 10 * UNIQUE;
480}497}
481498
482impl pallet_vesting::Config for Runtime {499impl pallet_vesting::Config for Runtime {
modifiedtests/package.jsondiffbeforeafterboth
6 "devDependencies": {6 "devDependencies": {
7 "@polkadot/dev": "^0.61.24",7 "@polkadot/dev": "^0.61.24",
8 "@polkadot/ts": "^0.3.59",8 "@polkadot/ts": "^0.3.59",
9 "@polkadot/typegen": "^3.6.3",9 "@polkadot/typegen": "^3.6.4",
10 "@polkadot/util-crypto": "^5.4.4",10 "@polkadot/util-crypto": "^5.4.4",
11 "@types/chai": "^4.2.12",11 "@types/chai": "^4.2.12",
12 "@types/chai-as-promised": "^7.1.3",12 "@types/chai-as-promised": "^7.1.3",
32 "testToggleContractWhiteList": "mocha --timeout 9999999 -r ts-node/register ./**/toggleContractWhiteList.test.ts",32 "testToggleContractWhiteList": "mocha --timeout 9999999 -r ts-node/register ./**/toggleContractWhiteList.test.ts",
33 "testAddToContractWhiteList": "mocha --timeout 9999999 -r ts-node/register ./**/addToContractWhiteList.test.ts",33 "testAddToContractWhiteList": "mocha --timeout 9999999 -r ts-node/register ./**/addToContractWhiteList.test.ts",
34 "testTransfer": "mocha --timeout 9999999 -r ts-node/register ./**/transfer.test.ts",34 "testTransfer": "mocha --timeout 9999999 -r ts-node/register ./**/transfer.test.ts",
35 "testBurnItem": "mocha --timeout 9999999 -r ts-node/register ./**/burnItem.test.ts"35 "testBurnItem": "mocha --timeout 9999999 -r ts-node/register ./**/burnItem.test.ts",
36 "testCreditFeesToTreasury": "mocha --timeout 9999999 -r ts-node/register ./**/creditFeesToTreasury.test.ts"
36 },37 },
37 "author": "",38 "author": "",
38 "license": "SEE LICENSE IN ../LICENSE",39 "license": "SEE LICENSE IN ../LICENSE",
39 "homepage": "",40 "homepage": "",
40 "dependencies": {41 "dependencies": {
41 "@polkadot/api": "^3.6.3",42 "@polkadot/api": "^3.6.4",
42 "@polkadot/api-contract": "^3.6.3",43 "@polkadot/api-contract": "^3.6.4",
43 "@polkadot/util": "^3.6.3",44 "@polkadot/util": "^3.6.4",
44 "bignumber.js": "^9.0.0",45 "bignumber.js": "^9.0.0",
45 "chai-as-promised": "^7.1.1"46 "chai-as-promised": "^7.1.1"
46 },47 },
modifiedtests/src/creditFeesToTreasury.test.tsdiffbeforeafterboth
9import { alicesPublicKey, bobsPublicKey } from "./accounts";9import { alicesPublicKey, bobsPublicKey } from "./accounts";
10import privateKey from "./substrate/privateKey";10import privateKey from "./substrate/privateKey";
11import { BigNumber } from 'bignumber.js';11import { BigNumber } from 'bignumber.js';
12import { IKeyringPair } from '@polkadot/types/types';
12import { createCollectionExpectSuccess, getGenericResult } from './util/helpers';13import {
14 createCollectionExpectSuccess,
15 createItemExpectSuccess,
16 getGenericResult,
17 transferExpectSuccess
18} from './util/helpers';
1319
14chai.use(chaiAsPromised);20chai.use(chaiAsPromised);
15const expect = chai.expect;21const expect = chai.expect;
1622
17const Treasury = "5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z";23const Treasury = "5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z";
18const saneMinimumFee = 0.0001;24const saneMinimumFee = 0.05;
19const saneMaximumFee = 0.01;25const saneMaximumFee = 0.5;
26
27let alice: IKeyringPair;
28let bob: IKeyringPair;
2029
21describe('integration test: Fees must be credited to Treasury:', () => {30describe('integration test: Fees must be credited to Treasury:', () => {
31 before(async () => {
32 await usingApi(async (api) => {
33 alice = privateKey('//Alice');
34 bob = privateKey('//Bob');
35 });
36 });
37
22 it('Total issuance does not change', async () => {38 it('Total issuance does not change', async () => {
23 await usingApi(async (api) => {39 await usingApi(async (api) => {
107 });123 });
108 });124 });
125
126 it('NFT Transfer fee is close to 0.1 Unique', async () => {
127 await usingApi(async (api) => {
128 const collectionId = await createCollectionExpectSuccess();
129 const tokenId = await createItemExpectSuccess(alice, collectionId, 'NFT');
130
131 const aliceBalanceBefore = new BigNumber((await api.query.system.account(alicesPublicKey)).data.free.toString());
132 await transferExpectSuccess(collectionId, tokenId, alice, bob, 1, 'NFT');
133 const aliceBalanceAfter = new BigNumber((await api.query.system.account(alicesPublicKey)).data.free.toString());
134 const fee = aliceBalanceBefore.minus(aliceBalanceAfter);
135
136 console.log(fee.toString());
137 const expectedTransferFee = 0.1;
138 const tolerance = 0.00001;
139 expect(fee.dividedBy(1e15).minus(expectedTransferFee).abs().toNumber()).to.be.lessThan(tolerance);
140 });
141 });
109142
110});143});
111144
modifiedtests/src/substrate/substrate-api.tsdiffbeforeafterboth
2323
24 // TODO: Remove, this is temporary: Filter unneeded API output 24 // TODO: Remove, this is temporary: Filter unneeded API output
25 // (Jaco promised it will be removed in the next version)25 // (Jaco promised it will be removed in the next version)
26 const consoleLog = console.log;26 // const consoleLog = console.log;
27 console.log = (message: string) => {27 // console.log = (message: string) => {
28 if (!(message.includes("API/INIT: Capabilities detected") || message.includes("2021-"))) {28 // if (!(message.includes("API/INIT: Capabilities detected") || message.includes("2021-"))) {
29 consoleLog(message);29 // consoleLog(message);
30 }30 // }
31 };31 // };
3232
33 try {33 try {
34 await promisifySubstrate(api, async () => {34 await promisifySubstrate(api, async () => {
39 })();39 })();
40 } finally {40 } finally {
41 await api.disconnect();41 await api.disconnect();
42 console.log = consoleLog;42 // console.log = consoleLog;
43 }43 }
44}44}
4545
modifiedtests/yarn.lockdiffbeforeafterboth
1195 "@nodelib/fs.scandir" "2.1.4"1195 "@nodelib/fs.scandir" "2.1.4"
1196 fastq "^1.6.0"1196 fastq "^1.6.0"
11971197
1198"@polkadot/api-contract@^3.6.3":1198"@polkadot/api-contract@^3.6.4":
1199 version "3.6.3"1199 version "3.6.4"
1200 resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-3.6.3.tgz#0aaa6989d34d1c063c601ce8f1e19307ba112510"1200 resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-3.6.4.tgz#3ede886af686f9d66faa7be3d5e5d14ee0dbdbed"
1201 integrity sha512-M2j4R8wdIEJCCmJpRFjn/L/n6d6fN85UvpWNRfYebb+yflr5600UANS2nIxtq+7cjoC1FyxTuuIDimoKKeL2ng==1201 integrity sha512-vj0J0CcqaCVCZiV0auUEw8gkVetiRovybmvWA8CcTsmvI4w1TWgCMMBgNlzonibWdL/eXmaOU7W34mjBJ4qNwA==
1202 dependencies:1202 dependencies:
1203 "@babel/runtime" "^7.12.5"1203 "@babel/runtime" "^7.12.5"
1204 "@polkadot/api" "3.6.3"1204 "@polkadot/api" "3.6.4"
1205 "@polkadot/types" "3.6.3"1205 "@polkadot/types" "3.6.4"
1206 "@polkadot/util" "^5.4.4"1206 "@polkadot/util" "^5.4.4"
1207 "@polkadot/x-rxjs" "^5.4.4"1207 "@polkadot/x-rxjs" "^5.4.4"
1208 bn.js "^4.11.9"1208 bn.js "^4.11.9"
12091209
1210"@polkadot/api-derive@3.6.3":1210"@polkadot/api-derive@3.6.4":
1211 version "3.6.3"1211 version "3.6.4"
1212 resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-3.6.3.tgz#9b01c83b20cfd1da55170eb1d994b538e0fc1b25"1212 resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-3.6.4.tgz#806f1cc61ec474bb53374088c1f510c4ba07da86"
1213 integrity sha512-S/8WxX5WUwjc6Qhc03Kdjgf5MRioYAkiX8beo5Q8uLyGvfyeA3rdRoeTHLGlIXRbbPSuI1hGEzNR2X7g2uKPOw==1213 integrity sha512-AOdJnQxqNnjKay4F788xHYJqpsSjJV8n+zSLfXY8Fm9nMj2wPZ2y/C6k4zpZDQN1kHetYHpzVt77cVONJladvg==
1214 dependencies:1214 dependencies:
1215 "@babel/runtime" "^7.12.5"1215 "@babel/runtime" "^7.12.5"
1216 "@polkadot/api" "3.6.3"1216 "@polkadot/api" "3.6.4"
1217 "@polkadot/rpc-core" "3.6.3"1217 "@polkadot/rpc-core" "3.6.4"
1218 "@polkadot/types" "3.6.3"1218 "@polkadot/types" "3.6.4"
1219 "@polkadot/util" "^5.4.4"1219 "@polkadot/util" "^5.4.4"
1220 "@polkadot/util-crypto" "^5.4.4"1220 "@polkadot/util-crypto" "^5.4.4"
1221 "@polkadot/x-rxjs" "^5.4.4"1221 "@polkadot/x-rxjs" "^5.4.4"
1222 bn.js "^4.11.9"1222 bn.js "^4.11.9"
12231223
1224"@polkadot/api@3.6.3", "@polkadot/api@^3.6.3":1224"@polkadot/api@3.6.4", "@polkadot/api@^3.6.4":
1225 version "3.6.3"1225 version "3.6.4"
1226 resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-3.6.3.tgz#eb3ae9b0877de7c0174afae3cd3005f90dbdae47"1226 resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-3.6.4.tgz#a7b02eb0f4c2a98b087003edc1c2f7ed4bea077a"
1227 integrity sha512-U/fzYxuSghPBDBhGenfRSCGiY5t6E9mIXFxuX65LN89meFAJn3ToNX2q7kP0Y9234jmy+EGu96ZIseW7WQB/xA==1227 integrity sha512-jsbBoL99OtBazGyufab9zkC1ORYdvrqzs5tHhLkhUl9zNrDBHyLVawyYNPXAyejtwLl3RMAWMMpnarDjlmjwPQ==
1228 dependencies:1228 dependencies:
1229 "@babel/runtime" "^7.12.5"1229 "@babel/runtime" "^7.12.5"
1230 "@polkadot/api-derive" "3.6.3"1230 "@polkadot/api-derive" "3.6.4"
1231 "@polkadot/keyring" "^5.4.4"1231 "@polkadot/keyring" "^5.4.4"
1232 "@polkadot/metadata" "3.6.3"1232 "@polkadot/metadata" "3.6.4"
1233 "@polkadot/rpc-core" "3.6.3"1233 "@polkadot/rpc-core" "3.6.4"
1234 "@polkadot/rpc-provider" "3.6.3"1234 "@polkadot/rpc-provider" "3.6.4"
1235 "@polkadot/types" "3.6.3"1235 "@polkadot/types" "3.6.4"
1236 "@polkadot/types-known" "3.6.3"1236 "@polkadot/types-known" "3.6.4"
1237 "@polkadot/util" "^5.4.4"1237 "@polkadot/util" "^5.4.4"
1238 "@polkadot/util-crypto" "^5.4.4"1238 "@polkadot/util-crypto" "^5.4.4"
1239 "@polkadot/x-rxjs" "^5.4.4"1239 "@polkadot/x-rxjs" "^5.4.4"
1316 "@polkadot/util" "5.4.4"1316 "@polkadot/util" "5.4.4"
1317 "@polkadot/util-crypto" "5.4.4"1317 "@polkadot/util-crypto" "5.4.4"
13181318
1319"@polkadot/metadata@3.6.3":1319"@polkadot/metadata@3.6.4":
1320 version "3.6.3"1320 version "3.6.4"
1321 resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-3.6.3.tgz#37a785e96acc908cb42d3b5a78be669abae2fed2"1321 resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-3.6.4.tgz#033dad14d962c14b61cbcbfe5db7ef9700a4e771"
1322 integrity sha512-QFdy5dvnWq9c3ybHyR/qnVtCv2xi9z+lFURuyS24gMynwzjZFpEQwISMQ6omIhEqxV++9b1c+BrORK1Uw54Lyg==1322 integrity sha512-EPxpiRnaqUvySLyasAXRJk7lb7YS0xvRuLHDaMIuoPpjtr1TqXxvhH4q/VjzjHpXTtriAVPczNydD+NtKYXDiQ==
1323 dependencies:1323 dependencies:
1324 "@babel/runtime" "^7.12.5"1324 "@babel/runtime" "^7.12.5"
1325 "@polkadot/types" "3.6.3"1325 "@polkadot/types" "3.6.4"
1326 "@polkadot/types-known" "3.6.3"1326 "@polkadot/types-known" "3.6.4"
1327 "@polkadot/util" "^5.4.4"1327 "@polkadot/util" "^5.4.4"
1328 "@polkadot/util-crypto" "^5.4.4"1328 "@polkadot/util-crypto" "^5.4.4"
1329 bn.js "^4.11.9"1329 bn.js "^4.11.9"
1335 dependencies:1335 dependencies:
1336 "@babel/runtime" "^7.12.5"1336 "@babel/runtime" "^7.12.5"
13371337
1338"@polkadot/rpc-core@3.6.3":1338"@polkadot/rpc-core@3.6.4":
1339 version "3.6.3"1339 version "3.6.4"
1340 resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-3.6.3.tgz#5b584fa54e9f47a91650a73b6a08f4fafa8a4fa5"1340 resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-3.6.4.tgz#d436e0d1d65d3cbd9b1e437f1827e3cf8a26089b"
1341 integrity sha512-q9FUj0j3qonrqN/Yp72nWqD7eMHtmM7ISTIKXma++BHuUSVlSHdMZM2Rza/3lxGasoUaxOW5vwYzhfMljiRRVw==1341 integrity sha512-TzsmERRELrqB6mbf23GxLVObDhxInTrdSWkmle4a3qKXgAPfuGlEhxpqiaMMQZjo4LVHCeXStUc18VCHVY17ag==
1342 dependencies:1342 dependencies:
1343 "@babel/runtime" "^7.12.5"1343 "@babel/runtime" "^7.12.5"
1344 "@polkadot/metadata" "3.6.3"1344 "@polkadot/metadata" "3.6.4"
1345 "@polkadot/rpc-provider" "3.6.3"1345 "@polkadot/rpc-provider" "3.6.4"
1346 "@polkadot/types" "3.6.3"1346 "@polkadot/types" "3.6.4"
1347 "@polkadot/util" "^5.4.4"1347 "@polkadot/util" "^5.4.4"
1348 "@polkadot/x-rxjs" "^5.4.4"1348 "@polkadot/x-rxjs" "^5.4.4"
13491349
1350"@polkadot/rpc-provider@3.6.3":1350"@polkadot/rpc-provider@3.6.4":
1351 version "3.6.3"1351 version "3.6.4"
1352 resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-3.6.3.tgz#d2f31c80abdeacba7c747a7da9937d6373659a23"1352 resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-3.6.4.tgz#433572380264ed92c6cd06636057aea3967f659b"
1353 integrity sha512-9g0Ka3dwFicf5xvlECCUCFBdJ0QAL1vV8OT4Lk3h71HmcsyrXSTamcxyc9GOSZEkcfJb3zRE+h+Ql7A1SV+yPw==1353 integrity sha512-yWEgHdlO/lxqrkDXxq2kY87tuPg2xyR0OPw3LM+ZE8/UMubR/KWjAtk3/KI0iLimPMtKcCL4L3z/mazYN6A19Q==
1354 dependencies:1354 dependencies:
1355 "@babel/runtime" "^7.12.5"1355 "@babel/runtime" "^7.12.5"
1356 "@polkadot/types" "3.6.3"1356 "@polkadot/types" "3.6.4"
1357 "@polkadot/util" "^5.4.4"1357 "@polkadot/util" "^5.4.4"
1358 "@polkadot/util-crypto" "^5.4.4"1358 "@polkadot/util-crypto" "^5.4.4"
1359 "@polkadot/x-fetch" "^5.4.4"1359 "@polkadot/x-fetch" "^5.4.4"
1369 dependencies:1369 dependencies:
1370 "@types/chrome" "^0.0.127"1370 "@types/chrome" "^0.0.127"
13711371
1372"@polkadot/typegen@^3.6.3":1372"@polkadot/typegen@^3.6.4":
1373 version "3.6.3"1373 version "3.6.4"
1374 resolved "https://registry.yarnpkg.com/@polkadot/typegen/-/typegen-3.6.3.tgz#c55dd31ad8e573e3620f1650ef7dcbc220bfcb50"1374 resolved "https://registry.yarnpkg.com/@polkadot/typegen/-/typegen-3.6.4.tgz#6473933e185c11c23c7f06b97207bf64c1e388fb"
1375 integrity sha512-WjeFJoI2OH4y2/4VdmRCD/FRzGXj93RbVXxx4BVTGSi5ePMiTkvgOieMv7tz9bbR/DoHjB1VtPQPwmytecplHw==1375 integrity sha512-VXVLm4WLTADk1X9QiGjq8LPfzRpt/z95s4bD+wQJkkKH1zw5FxBDIys/WAEB0Q2m5S0EAl5yTGNb2MKCcPxchg==
1376 dependencies:1376 dependencies:
1377 "@babel/core" "^7.12.10"1377 "@babel/core" "^7.12.10"
1378 "@babel/register" "^7.12.10"1378 "@babel/register" "^7.12.10"
1379 "@babel/runtime" "^7.12.5"1379 "@babel/runtime" "^7.12.5"
1380 "@polkadot/api" "3.6.3"1380 "@polkadot/api" "3.6.4"
1381 "@polkadot/metadata" "3.6.3"1381 "@polkadot/metadata" "3.6.4"
1382 "@polkadot/rpc-provider" "3.6.3"1382 "@polkadot/rpc-provider" "3.6.4"
1383 "@polkadot/types" "3.6.3"1383 "@polkadot/types" "3.6.4"
1384 "@polkadot/util" "^5.4.4"1384 "@polkadot/util" "^5.4.4"
1385 handlebars "^4.7.6"1385 handlebars "^4.7.6"
1386 websocket "^1.0.33"1386 websocket "^1.0.33"
1387 yargs "^16.2.0"1387 yargs "^16.2.0"
13881388
1389"@polkadot/types-known@3.6.3":1389"@polkadot/types-known@3.6.4":
1390 version "3.6.3"1390 version "3.6.4"
1391 resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-3.6.3.tgz#1a0639c463969e3f17ec20b06602c4ca4c25f500"1391 resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-3.6.4.tgz#765c212a7b8a9e4fa1538041911a0aa30302c5e4"
1392 integrity sha512-fgG4BwmJ/yhvHiJGGKfpcIVu0lsYuHutWthvW8KwDVOMjVIrSRoT7ct9+dD11+sA6rI1UiSOerQ70t7iv/qQ6w==1392 integrity sha512-wK2VN95h8isyHzkf9PD3/8udlj1pw54tOoSQYv9LPJ94EBLM0iAUYvz7dQX4MGy3H6kcJvwT21639Bt7aqWhzQ==
1393 dependencies:1393 dependencies:
1394 "@babel/runtime" "^7.12.5"1394 "@babel/runtime" "^7.12.5"
1395 "@polkadot/types" "3.6.3"1395 "@polkadot/types" "3.6.4"
1396 "@polkadot/util" "^5.4.4"1396 "@polkadot/util" "^5.4.4"
1397 bn.js "^4.11.9"1397 bn.js "^4.11.9"
13981398
1399"@polkadot/types@3.6.3":1399"@polkadot/types@3.6.4":
1400 version "3.6.3"1400 version "3.6.4"
1401 resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-3.6.3.tgz#d8ab3761956e3a9195c1436b4e650c8516ad9379"1401 resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-3.6.4.tgz#cdecfc317dd510b58854fe7c2f08e675f7c160b2"
1402 integrity sha512-R1S4N/LIJPceVMytMTDTcLV+EhkmlOkugcMElQlg0iShvEt/2ZuqfJlYaEKAaxmHfpEQuV5ct6pbcmZU5f0zBw==1402 integrity sha512-cfI5m08wk/1Cexxm0Qv+TELQPp1GQoWefuKBDMH2g8f4dbMD2lTelsmsAeRWvEoiS9Gd69PGjD0EwSIdjzj5ow==
1403 dependencies:1403 dependencies:
1404 "@babel/runtime" "^7.12.5"1404 "@babel/runtime" "^7.12.5"
1405 "@polkadot/metadata" "3.6.3"1405 "@polkadot/metadata" "3.6.4"
1406 "@polkadot/util" "^5.4.4"1406 "@polkadot/util" "^5.4.4"
1407 "@polkadot/util-crypto" "^5.4.4"1407 "@polkadot/util-crypto" "^5.4.4"
1408 "@polkadot/x-rxjs" "^5.4.4"1408 "@polkadot/x-rxjs" "^5.4.4"
1443 camelcase "^5.3.1"1443 camelcase "^5.3.1"
1444 ip-regex "^4.3.0"1444 ip-regex "^4.3.0"
14451445
1446"@polkadot/util@^3.6.3":1446"@polkadot/util@^3.6.4":
1447 version "3.7.1"1447 version "3.7.1"
1448 resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-3.7.1.tgz#b7585380a6177814f7e28dc2165814864ef2c67b"1448 resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-3.7.1.tgz#b7585380a6177814f7e28dc2165814864ef2c67b"
1449 integrity sha512-nvgzAbT/a213mpUd56YwK/zgbGKcQoMNLTmqcBHn1IP9u5J9XJcb1zPzqmCTg6mqnjrsgzJsWml9OpQftrcB6g==1449 integrity sha512-nvgzAbT/a213mpUd56YwK/zgbGKcQoMNLTmqcBHn1IP9u5J9XJcb1zPzqmCTg6mqnjrsgzJsWml9OpQftrcB6g==