ISC
ISC
This library contains various interfaces and functions related to the IOTA Smart Contracts (ISC) system. It provides access to the ISCSandbox, ISCAccounts, ISCUtil, ERC20BaseTokens, ERC20NativeTokens, ERC721NFTs, and ERC721NFTCollection contracts.
sandbox
contract ISCSandbox sandbox
accounts
contract ISCAccounts accounts
util
contract ISCUtil util
baseTokens
contract ERC20BaseTokens baseTokens
nativeTokens
function nativeTokens(uint32 foundrySN) internal view returns (contract ERC20NativeTokens)
Get the ERC20NativeTokens contract for the given foundry serial number
Parameters
Name | Type | Description |
---|---|---|
foundrySN | uint32 | The serial number of the foundry |
Return Values
Name | Type | Description |
---|---|---|
[0] | contract ERC20NativeTokens | The ERC20NativeTokens contract corresponding to the given foundry serial number |
nfts
contract ERC721NFTs nfts
erc721NFTCollection
function erc721NFTCollection(NFTID collectionID) internal view returns (contract ERC721NFTCollection)
Get the ERC721NFTCollection contract for the given collection
Parameters
Name | Type | Description |
---|---|---|
collectionID | NFTID | The ID of the NFT collection |
Return Values
Name | Type | Description |
---|---|---|
[0] | contract ERC721NFTCollection | The ERC721NFTCollection contract corresponding to the given collection ID |