refactored lbp types updated (#6504)
This commit is contained in:
parent
51dff49b14
commit
000a6b40a1
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user