File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -195,9 +195,6 @@ pub mod pallet {
195
195
}
196
196
} ;
197
197
}
198
-
199
- // Todo:
200
- // - Fetch price information for Polimec
201
198
}
202
199
}
203
200
Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ impl pallet_assets::Config<ForeignAssetsInstance> for Runtime {
451
451
#[ cfg( feature = "runtime-benchmarks" ) ]
452
452
type BenchmarkHelper = ( ) ;
453
453
type CallbackHandle = ( ) ;
454
- // TODO Check Creation Origin
454
+ // Only Root (aka Governance) can create a new asset.
455
455
type CreateOrigin = AsEnsureOriginWithArg < EnsureRootWithSuccess < AccountId , RootOperatorAccountId > > ;
456
456
type Currency = Balances ;
457
457
type Extra = ( ) ;
@@ -1097,10 +1097,10 @@ parameter_types! {
1097
1097
// Fee is defined as 1.5% of the usd_amount. Since fee is applied to the plmc amount, and that is always 5 times
1098
1098
// less than the usd_amount (multiplier of 5), we multiply the 1.5 by 5 to get 7.5%
1099
1099
pub FeePercentage : Perbill = Perbill :: from_rational( 75u32 , 1000u32 ) ;
1100
- // TODO: add a real account here
1101
- pub FeeRecipient : AccountId = [ 0u8 ; 32 ] . into( ) ;
1100
+ pub FeeRecipient : AccountId = AccountId :: from( hex_literal:: hex!( "3ea952b5fa77f4c67698e79fe2d023a764a41aae409a83991b7a7bdd9b74ab56" ) ) ;
1102
1101
pub RootId : PalletId = PalletId ( * b"treasury" ) ;
1103
1102
}
1103
+
1104
1104
impl pallet_proxy_bonding:: Config for Runtime {
1105
1105
type BondingToken = Balances ;
1106
1106
type BondingTokenDecimals = ConstU8 < PLMC_DECIMALS > ;
You can’t perform that action at this time.
0 commit comments