JS API Reference

Class: AllocationCreated

events/events.AllocationCreated

Hierarchy

  • BaseEvent<{ id: string ; amount: number ; platform?: string }>

    AllocationCreated

Table of contents

Constructors

Properties

Constructors

constructor

new AllocationCreated(data): AllocationCreated

Parameters

NameType
dataObject
data.idstring
data.amountnumber
data.platform?string

Returns

AllocationCreated

Inherited from

BaseEvent.constructor

Defined in

src/events/events.ts:29

Properties

detail

Readonly detail: Object

Type declaration

NameType
idstring
amountnumber
platform?string

Inherited from

BaseEvent.detail

Defined in

src/events/events.ts:17


name

Readonly name: string

Inherited from

BaseEvent.name

Defined in

src/events/events.ts:18


timestamp

Readonly timestamp: number

Inherited from

BaseEvent.timestamp

Defined in

src/events/events.ts:19

Was this helpful?