Type Alias: CreateTreasuryInput

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / CreateTreasuryInput

Type Alias: CreateTreasuryInput

type CreateTreasuryInput: {
  description: null | string;
  imageUrl: null | string;
  offerId: string;
  payouts: number[];
  payoutsAvailable: number[];
  title: null | string;
  tokenAddress: null | string;
};

Create treasury input type

Type declaration

NameTypeDescription

description?

null | string

-

imageUrl?

null | string

-

offerId

string

The offer ID of the campaign/offer to create the loot box treasury for

payouts

number[]

-

payoutsAvailable

number[]

-

title?

null | string

-

tokenAddress?

null | string

-

Defined in

types/lootBox.ts:22

Last updated