Class: Bid

Properties overview

  • points: UInt64 = UInt64;
  • price: UInt64 = UInt64;

Methods overview

Defined in: packages/nft/src/marketplace/bid.ts:33

Extends

  • {
    points: UInt64;
    price: UInt64;
    }

Constructors

new Bid()

new Bid(value: {
  points: UInt64;
  price: UInt64;
 }): Bid

Defined in: node_modules/o1js/dist/node/lib/provable/types/struct.d.ts:103

Parameters

value
points

UInt64 = UInt64

price

UInt64 = UInt64

Returns

Bid

Inherited from

Struct({
  price: UInt64,
  points: UInt64,
}).constructor

Properties

points

points: UInt64 = UInt64;

Defined in: packages/nft/src/marketplace/bid.ts:35

Inherited from

Struct({
  price: UInt64,
  points: UInt64,
}).points

price

price: UInt64 = UInt64;

Defined in: packages/nft/src/marketplace/bid.ts:34

Inherited from

Struct({
  price: UInt64,
  points: UInt64,
}).price

Methods

pack()

pack(): Field

Defined in: packages/nft/src/marketplace/bid.ts:37

Returns

Field


unpack()

static unpack(field: Field): Bid

Defined in: packages/nft/src/marketplace/bid.ts:43

Parameters

field

Field

Returns

Bid