mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-25 15:17:40 +03:00
WS subscribtion for CFD balances, CFD Order signing functionality
This commit is contained in:
15
src/constants/cfdOrderTypes.ts
Normal file
15
src/constants/cfdOrderTypes.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
const CFD_ORDER_TYPES = {
|
||||
CFDOrder: [
|
||||
{ name: 'senderAddress', type: 'address' },
|
||||
{ name: 'matcherAddress', type: 'address' },
|
||||
{ name: 'instrumentAddress', type: 'address' },
|
||||
{ name: 'amount', type: 'uint64' },
|
||||
{ name: 'price', type: 'uint64' },
|
||||
{ name: 'matcherFee', type: 'uint64' },
|
||||
{ name: 'nonce', type: 'uint64' },
|
||||
{ name: 'expiration', type: 'uint64' },
|
||||
{ name: 'buySide', type: 'uint8' },
|
||||
],
|
||||
};
|
||||
|
||||
export default CFD_ORDER_TYPES;
|
||||
Reference in New Issue
Block a user