'devnet' | 'mainnet' | 'testnet'
Timeout for the network provider (DEFAULT = 10000ms)
Readonly
chainIDReadonly
contractReadonly
envReadonly
networkBuilds a bond
transaction with EGLD transfer
the address of the sender
the address of the original caller
the token identifier of the NFT/SFT
the token identifier nonce
the lock period for the bond
the payment for the bond (tokenIdentifier, nonce and amount)
Builds a bond
transaction with ESDT transfer
the address of the sender
the address of the original caller
the token identifier of the NFT/SFT
the token identifier nonce
the lock period for the bond
the payment for the bond (tokenIdentifier and amount)
Builds a bond
transaction with NFT/SFT transfer
the address of the sender
the address of the original caller
the token identifier of the NFT/SFT
the token identifier nonce
the lock period for the bond
the payment for the bond (tokenIdentifier, nonce and amount)
Builds a bond
transaction with no payment
the address of the sender
the address of the original caller
the token identifier of the NFT/SFT
the token identifier nonce
the lock period for the bond
Builds a initiateBond
transaction to "whitelist" an address for being able to bond for a specific Data NFT
the address of the sender
the address to be whitelisted
the token identifier
the token identifier nonce
Builds a refund
transaction
the address of the sender
the identifier of the NFT/SFT
the token identifier nonce
the end timestamp for the proof period for a refund
Builds a modifyBond
transaction
address of the sender (must be the owner of the contract or the administrator)
token identifier to modify the bond for
nonce to modify the bond for
Builds a removeBlacklist
transaction to remove addresses from the blacklist
the address of the sender
the compensation id to remove the blacklist from
an array of addresses to be removed from the blacklist
Builds a removePeriodsBonds
transaction to remove the bonds for each of the specified periods
the address of the sender
an array of periods for which the bonds should be removed
Builds a sanction
transaction
address of the sender (must be the owner of the contract or the administrator)
token identifier to sanction
nonce to sanction
penalty type
Optional
customPenalty: numbercustom penalty amount (required if penalty is Custom
)
Builds a setAcceptedCallers
transaction to add accepted callers for the bond
endpoint
the address of the sender
an array of addresses to be added as accepted callers for bond
endpoint
Builds a setBondToken
transaction to set the bond token
the address of the sender
the token identifier. If not provided, the default token identifier based on the EnvironmentsEnum
Builds a setContractState
transaction
address of the sender (must be the owner of the contract or the administrator)
state to set the contract to
Builds a setVaultNonce
transaction
the address of the sender
the nonce to set
the Data Nft token identifier [default is the Data Nft token identifier based on EnvironmentsEnum]
Builds a topUpAddressVault
transaction
the address of the sender (must be the top up administrator)
the address to top up the vault for
the payment for the top up (tokenIdentifier, nonce and amount)
the nonce of the Data Nft
the token identifier of the Data Nft [default is the Data Nft token identifier based on EnvironmentsEnum]
Builds a topUpVault
transaction
the address of the sender
the payment for the top up (tokenIdentifier, nonce and amount)
the nonce of the Data Nft
the token identifier of the Data Nft [default is the Data Nft token identifier based on EnvironmentsEnum]
Returns the address vault nonce for a specific address
address to query
token identifier to query [default token identifier based on the EnvironmentsEnum]
Returns a Bond
object array for the given bondIds
Bond ids to query
Returns a Bond
object array for the given full tokenIdentifier
Returns a Bond
object array for the given tokenIdentifiers and nonces
Returns a Compensation
object for the given compensation id
compensation id to query
Returns a Compensation
object array for the given tokens
tokens to query
Returns the bond
contract configuration
Returns a Compensation
object array for the given indexes
Creates a new instance of the DataNftMarket which can be used to interact with the marketplace smart contract