#
Table of contents#
Classes#
Interfaces#
Type aliases#
BigNumberƬ BigNumber: ethers.BigNumber
Defined in: src/types/BigNumber.ts:3
#
CurrencyUnitƬ CurrencyUnit: typeof currencys[number]
Defined in: src/types/CurrencyUnit.ts:3
#
ItemƬ Item: object
Itemはマスターデータ Itemが購買・引出されてERC721トークンとなったものがToken
#
Type declaration:Name | Type | Description |
---|---|---|
authorAddress | string | Itemの作成者ウォレットアドレス |
buyerAddress | string | null | 購入者のウォレットアドレス アドレスが null でない場合、Itemが「引出された」「購入された」た状態を表す |
chainType | "ethereum" | - |
collectionId | string | - |
createdBy | string[] | アイテムの作成者 IPFSにあるアイテムデータのcreatedBy 値 |
currentBidderAddress? | string | null | アイテムの最新の入札者ウォレットアドレス。 tradeType === 'auction or autoExtensionAuction` の時だけ値が入る |
currentPrice? | number | アイテムの現在の入札価格。単位はether 。 tradeType === 'auction or autoExtensionAuction` の時だけ値が入る |
defaultEndAt? | Date | オークション初期終了日時 tradeType === 'auction or autoExtensionAuction` の時だけ値が入る |
description | string | アイテムの詳細 IPFSにあるアイテムデータのdescription 値 |
endAt? | Date | オークション終了日時 autoExtensionAuctionの場合は更新される tradeType === 'auction or autoExtensionAuction` の時だけ値が入る |
feeRatePermill | number | - |
imageURI | string | ipfs://xxxx |
imageURIHTTP | object | imageURIのブラウザ閲覧用 https://xxxx |
imageURIHTTP.mimeType | string | - |
imageURIHTTP.url | string | - |
initialPrice? | number | オークション開始価格 tradeType === 'auction` の時だけ値が入る |
itemId | string | - |
minBidPercentage? | number | アイテムの最低入札価格比 currentPrice * minBidPercentage でminBidPriceが求められる tradeType === 'auction or autoExtensionAuction` の時だけ値が入る |
minBidPrice? | number | アイテムの最新の最低入札価格 tradeType === 'auction or autoExtensionAuction` の時だけ値が入る |
mintContractAddress | string | - |
mintShopContractAddress | string | - |
name | string | アイテムの名前 IPFSにあるアイテムデータのname 値 |
networkId | NetworkId | Itemが所属するネットワーク 1 === Ethereum メインネットワーク 4 === Ethereum Rinkebyネットワーク 137 === Polygon メインネットワーク 80001 === Matic Mumbaiネットワーク |
physicalOrderStatus? | ItemsPhysicalOrderStatus | type === 'nftWithPhysicalProduct'だけ値が入る addressIsBlank: エンドユーザーからの住所登録待ち wip: Mint管理者側の配送アクション待ち shipped: 出荷済み |
previews | { mimeType : string ; url : string }[] | プレビューのURI 動画・画像が入る プレビューが設定されていない場合は空配列になる |
price? | number | アイテムの販売価格。単位はether 。 tradeType === 'fixedPrice` の時だけ値が入る |
startAt? | Date | オークション開始日時 tradeType === 'auction or autoExtensionAuction' の時だけ値が入る |
tokenId | number | Item に対応するERC721準拠した tokenId Item が買われた時などに、生成されるTokenの tokenId |
tokenURI | string | ipfs://xxxx |
tokenURIHTTP | string | tokenURIのブラウザ閲覧用 https://xxxx |
tradeType | ItemTradeType | - |
type? | ItemsType | nftWithPhysicalProduct === 物理アイテム付きアイテム typeがないものは、ノーマルなNFTアイテム |
withdrawableAt? | Date | 引き出し可能日時。この日時以降、sendTxMakeSuccessfulBid を呼ぶことでToken引き出すことができる tradeType === 'autoExtensionAuction` の時だけ値が入る |
yearCreated | string | アイテムの制作年 IPFSにあるアイテムデータのyearCreated 値 |
Defined in: src/types/Item.ts:10
#
ItemLogƬ ItemLog: object
#
Type declaration:Name | Type |
---|---|
accountAddress | string |
createAt | Date |
price | number |
transactionHash | string |
type | "bought" | "bid" |
Defined in: src/types/ItemLog.ts:1
#
ItemTradeTypeƬ ItemTradeType: typeof itemsTradeTypes[number]
Defined in: src/types/ItemTradeType.ts:6
#
ItemsTypeƬ ItemsType: typeof itemsTypes[number]
Defined in: src/types/ItemsType.ts:5
#
NetworkIdƬ NetworkId: 1
| 4
| 80001
| 137
Defined in: src/types/NetworkId.ts:1
#
ResidenceƬ Residence: typeof residenceList[number]
Defined in: src/types/Residence.ts:2
#
TokenƬ Token: object
TokenはERC721を表現している Item:Token = 1:1
#
Type declaration:Name | Type | Description |
---|---|---|
authorAddress | string | https://ipfs.io/ipfs/xxxx |
contractAddress | string | - |
description | string | - |
imageURI | string | ipfs:// |
imageURIHTTP | object | imageURIのブラウザ閲覧用 https://xxxx |
imageURIHTTP.mimeType | string | - |
imageURIHTTP.url | string | - |
item | Item | Tokenの元になったItemが入る |
name | string | - |
previews | { mimeType : string ; url : string }[] | プレビューのURI 動画・画像が入る プレビューが設定されていない場合は空配列になる |
tokenId | number | - |
tokenURI | string | ipfs://xxxx |
tokenURIHTTP | string | tokenURIのブラウザ閲覧用 https://xxxx |
Defined in: src/types/Token.ts:6
#
WalletInfoƬ WalletInfo: object
#
Type declaration:Name | Type |
---|---|
address | string |
balance | BigNumber |
unit | CurrencyUnit |
Defined in: src/types/WalletInfo.ts:4
#
WalletSettingƬ WalletSetting: object
#
Type declaration:Name | Type |
---|---|
fortmatic | object |
fortmatic.key | string |
Defined in: src/types/WalletSetting.ts:1