Home Reference Source
public class | source

NftSell

NftSell class Class used to create DeployParameters for creating a NFT auction

Constructor Summary

Public Constructor
public

constructor(activeKey: string, beneficiaryAccount: string, tokenPackage: string, reservePrice: string, tokenId: string, startTime: string, cancellationTime: string, endTime: string, bidderCountCap: string, auctionTimerExtension: string, minimumBidStep: string, marketplaceAccount: string, marketplaceCommission: string, network: string, smartContractBuffer: Buffer, ttl: number)

Constructor

Member Summary

Public Members
public get

deployResult: DeployResult.constructor: *

Get a DeployResult constructor

Inherited Summary

From class AbstractSmartContractDeployParameters
public get

deployParams: DeployUtil.DeployParams

Get the deployParams deploy argument

public get

deployResult: DeployResult.constructor

Get a DeployResult constructor

public get

Create a unsigned Deploy object

public get

payment: DeployUtil.ExecutableDeployItem

Get the payment deploy argument

public get

session: DeployUtil.ExecutableDeployItem

Get the session deploy argument

From class AbstractSmartContractModuleBytesParameters
public get

deployParams: DeployUtil.DeployParams: *

Get the deployParams deploy argument

public get

payment: DeployUtil.ExecutableDeployItem: *

Get the payment deploy argument

public get

session: DeployUtil.ExecutableDeployItem: *

Get the session deploy argument

public
public

args: DeployUtil.RuntimeArgs

public
public
public
public
public
public

Public Constructors

public constructor(activeKey: string, beneficiaryAccount: string, tokenPackage: string, reservePrice: string, tokenId: string, startTime: string, cancellationTime: string, endTime: string, bidderCountCap: string, auctionTimerExtension: string, minimumBidStep: string, marketplaceAccount: string, marketplaceCommission: string, network: string, smartContractBuffer: Buffer, ttl: number) source

Constructor

Override:

AbstractSmartContractModuleBytesParameters#constructor

Params:

NameTypeAttributeDescription
activeKey string

Current active key in the public hex format

beneficiaryAccount string

Account who will receive the account winner bid

tokenPackage string

Contract package hex

reservePrice string

In CSPR

tokenId string
startTime string

Timestamp UTC format

cancellationTime string

Timestamp UTC format

endTime string

Timestamp UTC format

bidderCountCap string
auctionTimerExtension string

In seconds

minimumBidStep string
marketplaceAccount string

Public Key in the public hex format

marketplaceCommission string

In 1000th of the price

network string

Current network to execute the deployment

smartContractBuffer Buffer

Current hash of the stored SmartContract

ttl number

Deploy time to live in hours

Public Members

public get deployResult: DeployResult.constructor: * source

Get a DeployResult constructor

Override:

AbstractSmartContractDeployParameters#deployResult

Return:

DeployResult.constructor

Return the constructor of a given DeployResult