// Copyright Abridged, Inc. 2022,2024. All Rights Reserved. // Node module: @collabland/sdk // This file is licensed under the MIT License. // License text available at https://opensource.org/license/mit/ import {model, property} from '@loopback/repository'; /** * The model class is generated from OpenAPI schema - StakingAsset * StakingAsset */ @model({name: 'StakingAsset'}) export class StakingAsset { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * Optional name for the staking asset (required if multiple assets are supported) */ @property({ jsonSchema: { type: 'string', description: 'Optional name for the staking asset (required if multiple assets are supported)', }, }) name?: string; /** * CAIP asset name, such as "ERC721:<0x...>" */ @property({ jsonSchema: { type: 'string', description: 'CAIP asset name, such as "ERC721:<0x...>"', }, }) asset?: string; } export interface StakingAssetRelations { // describe navigational properties here } export type StakingAssetWithRelations = StakingAsset & StakingAssetRelations;