refactored lbp types updated (#6504)

This commit is contained in:
lumir-mrkva 2021-11-05 17:14:53 +01:00 committed by GitHub
parent 51dff49b14
commit 000a6b40a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,9 +53,7 @@ const definitions: OverrideBundleDefinition = {
per_period: 'Compact<Balance>'
},
VestingScheduleOf: 'VestingSchedule',
LBPAssetInfo: { id: 'AssetId', amount: 'Balance', initial_weight: 'LBPWeight', final_weight: 'LBPWeight' },
LBPWeight: 'u128',
WeightPair: { weight_a: 'LBPWeight', weight_b: 'LBPWeight' },
LBPWeight: 'u32',
WeightCurveType: { _enum: ['Linear'] },
PoolId: 'AccountId',
BalanceOf: 'Balance',
@ -70,17 +68,14 @@ const definitions: OverrideBundleDefinition = {
start: 'BlockNumber',
end: 'BlockNumber',
assets: 'AssetPair',
initial_weights: 'WeightPair',
final_weights: 'WeightPair',
last_weight_update: 'BlockNumber',
last_weights: 'WeightPair',
initial_weights: 'LBPWeight',
final_weights: 'LBPWeight',
weight_curve: 'WeightCurveType',
pausable: 'bool',
paused: 'bool',
fee: 'Fee',
fee_receiver: 'AccountId'
},
AssetNativeLocation: 'MultiLocation',
AssetDetails: {
name: 'Vec<u8>',
asset_type: 'AssetType',