Skip to main content
Version: v1.3

ISCAccounts

ISCAccounts

Functions of the ISC Magic Contract to access the core accounts functionality

getL2BalanceBaseTokens

function getL2BalanceBaseTokens(struct ISCAgentID agentID) external view returns (uint64)

getL2BalanceNativeTokens

function getL2BalanceNativeTokens(struct NativeTokenID id, struct ISCAgentID agentID) external view returns (uint256)

getL2NFTs

function getL2NFTs(struct ISCAgentID agentID) external view returns (NFTID[])

getL2NFTAmount

function getL2NFTAmount(struct ISCAgentID agentID) external view returns (uint256)

getL2NFTsInCollection

function getL2NFTsInCollection(struct ISCAgentID agentID, NFTID collectionId) external view returns (NFTID[])

getL2NFTAmountInCollection

function getL2NFTAmountInCollection(struct ISCAgentID agentID, NFTID collectionId) external view returns (uint256)

foundryCreateNew

function foundryCreateNew(struct NativeTokenScheme tokenScheme, struct ISCAssets allowance) external returns (uint32)

createNativeTokenFoundry

function createNativeTokenFoundry(string tokenName, string tokenSymbol, uint8 tokenDecimals, struct NativeTokenScheme tokenScheme, struct ISCAssets allowance) external returns (uint32)

mintNativeTokens

function mintNativeTokens(uint32 foundrySN, uint256 amount, struct ISCAssets allowance) external

__iscAccounts

contract ISCAccounts __iscAccounts