@bifrost-finance/type-definitions
Advanced tools
Comparing version
@@ -385,20 +385,19 @@ { | ||
"BlockNumberFor": "BlockNumber", | ||
"OrderId": "u64", | ||
"OrderInfo": { | ||
"owner": "AccountIdOf", | ||
"vsbond": "CurrencyId", | ||
"supply": "u128", | ||
"remain": "u128", | ||
"unit_price": "U64F64", | ||
"amount": "BalanceOf", | ||
"remain": "BalanceOf", | ||
"total_price": "BalanceOf", | ||
"order_id": "OrderId", | ||
"order_state": "OrderState" | ||
"order_type": "OrderType", | ||
"remain_price": "BalanceOf" | ||
}, | ||
"OrderState": { | ||
"_enum": [ | ||
"InTrade", | ||
"Revoked", | ||
"Clinchd" | ||
] | ||
"OrderId": "u64", | ||
"OrderType": { | ||
"_enum": { | ||
"Sell": 0, | ||
"Buy": 1 | ||
} | ||
}, | ||
"U64F64": "u128", | ||
"ZenlinkAssetId": { | ||
@@ -405,0 +404,0 @@ "chain_id": "u32", |
{ | ||
"name": "@bifrost-finance/type-definitions", | ||
"version": "1.3.13", | ||
"version": "1.3.14", | ||
"description": "Polkadot.js type definations for Acala Network", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
declare const _default: { | ||
rpc: {}; | ||
types: { | ||
OrderId: string; | ||
OrderInfo: { | ||
owner: string; | ||
vsbond: string; | ||
supply: string; | ||
amount: string; | ||
remain: string; | ||
unit_price: string; | ||
total_price: string; | ||
order_id: string; | ||
order_state: string; | ||
order_type: string; | ||
remain_price: string; | ||
}; | ||
OrderState: { | ||
_enum: string[]; | ||
OrderId: string; | ||
OrderType: { | ||
_enum: { | ||
Sell: number; | ||
Buy: number; | ||
}; | ||
}; | ||
U64F64: string; | ||
}; | ||
}; | ||
export default _default; |
@@ -10,18 +10,21 @@ "use strict"; | ||
types: { | ||
OrderId: 'u64', | ||
OrderInfo: { | ||
owner: 'AccountIdOf', | ||
vsbond: 'CurrencyId', | ||
supply: 'u128', | ||
remain: 'u128', | ||
unit_price: 'U64F64', | ||
amount: 'BalanceOf', | ||
remain: 'BalanceOf', | ||
total_price: 'BalanceOf', | ||
order_id: 'OrderId', | ||
order_state: 'OrderState' | ||
order_type: 'OrderType', | ||
remain_price: 'BalanceOf' | ||
}, | ||
OrderState: { | ||
_enum: ['InTrade', 'Revoked', 'Clinchd'] | ||
}, | ||
U64F64: 'u128' | ||
OrderId: 'u64', | ||
OrderType: { | ||
_enum: { | ||
Sell: 0, | ||
Buy: 1 | ||
} | ||
} | ||
} | ||
}; | ||
exports.default = _default; |
@@ -11,5 +11,5 @@ "use strict"; | ||
AssetInstance: 'AssetInstanceV1', | ||
XcmVersionedMultiAsset: "XcmV1MultiAsset" | ||
XcmVersionedMultiAsset: 'XcmV1MultiAsset' | ||
} | ||
}; | ||
exports.default = _default; |
Sorry, the diff of this file is too big to display
197541
0.02%5370
0.02%