Search
Preparing search index...
The search index is not available
IQ Metaverse Protocol JS SDK
Options
All
Public
Public/Protected
All
Inherited
Menu
IQ Metaverse Protocol JS SDK
ERC721WarperAdapter
Class ERC721WarperAdapter
Hierarchy
Adapter
ERC721WarperAdapter
Index
Constructors
constructor
Properties
address
Translator
contract
Resolver
Methods
account
Id
To
Address
address
To
Account
Id
address
To
Asset
Type
asset
Id
To
Address
asset
Type
To
Address
decode
Agreement
Terms
decode
Asset
decode
Asset
Class
encode
Asset
encode
Asset
Class
erc20
Asset
Metadata
get
Chain
Id
optional
Account
Id
To
Address
renting
Constraints
signer
Data
Constructors
constructor
new ERC721
Warper
Adapter
(
assetType
:
AssetType
, contractResolver
:
ContractResolver
, addressTranslator
:
AddressTranslator
)
:
ERC721WarperAdapter
Parameters
assetType:
AssetType
contractResolver:
ContractResolver
addressTranslator:
AddressTranslator
Returns
ERC721WarperAdapter
Properties
Protected
Readonly
address
Translator
address
Translator
:
AddressTranslator
Protected
Readonly
contract
Resolver
contract
Resolver
:
ContractResolver
Methods
Protected
account
Id
To
Address
account
Id
To
Address
(
accountId
:
AccountId
)
:
string
Parameters
accountId:
AccountId
Returns
string
Protected
address
To
Account
Id
address
To
Account
Id
(
address
:
string
)
:
AccountId
Parameters
address:
string
Returns
AccountId
Protected
address
To
Asset
Type
address
To
Asset
Type
(
address
:
string
, namespace
:
string
)
:
AssetType
Parameters
address:
string
namespace:
string
Returns
AssetType
Protected
asset
Id
To
Address
asset
Id
To
Address
(
assetId
:
AssetId
)
:
string
Parameters
assetId:
AssetId
Returns
string
Protected
asset
Type
To
Address
asset
Type
To
Address
(
assetType
:
AssetType
)
:
string
Parameters
assetType:
AssetType
Returns
string
Protected
decode
Agreement
Terms
decode
Agreement
Terms
(
params
:
AgreementTermsStruct
)
:
AgreementTerms
Parameters
params:
AgreementTermsStruct
Returns
AgreementTerms
Protected
decode
Asset
decode
Asset
(
asset
:
AssetStructOutput
)
:
Asset
Parameters
asset:
AssetStructOutput
Returns
Asset
Protected
decode
Asset
Class
decode
Asset
Class
(
assetClass
:
string
)
:
AssetNamespace
Parameters
assetClass:
string
Returns
AssetNamespace
Protected
encode
Asset
encode
Asset
(
asset
:
Asset
)
:
AssetStruct
Parameters
asset:
Asset
Returns
AssetStruct
Protected
encode
Asset
Class
encode
Asset
Class
(
namespace
:
AssetNamespace
)
:
string
Parameters
namespace:
AssetNamespace
Returns
string
Protected
erc20
Asset
Metadata
erc20
Asset
Metadata
(
assetType
:
AssetType
)
:
Promise
<
{
decimals
:
number
;
name
:
string
;
symbol
:
string
}
>
Parameters
assetType:
AssetType
Returns
Promise
<
{
decimals
:
number
;
name
:
string
;
symbol
:
string
}
>
get
Chain
Id
get
Chain
Id
(
)
:
Promise
<
ChainId
>
Returns
Promise
<
ChainId
>
Protected
optional
Account
Id
To
Address
optional
Account
Id
To
Address
(
accountId
?:
AccountId
)
:
undefined
|
string
Parameters
Optional
accountId:
AccountId
Returns
undefined
|
string
renting
Constraints
renting
Constraints
(
)
:
Promise
<
WarperRentingConstraints
>
Returns warper renting constraints based on implemented mechanics.
Returns
Promise
<
WarperRentingConstraints
>
Protected
signer
Data
signer
Data
(
)
:
Promise
<
SignerData
>
Returns
Promise
<
SignerData
>
Exports
ERC721
Warper
Adapter
constructor
address
Translator
contract
Resolver
account
Id
To
Address
address
To
Account
Id
address
To
Asset
Type
asset
Id
To
Address
asset
Type
To
Address
decode
Agreement
Terms
decode
Asset
decode
Asset
Class
encode
Asset
encode
Asset
Class
erc20
Asset
Metadata
get
Chain
Id
optional
Account
Id
To
Address
renting
Constraints
signer
Data
Generated using
TypeDoc
Returns warper renting constraints based on implemented mechanics.