ISCSandbox
ISCSandbox
This is the main interface of the ISC Magic Contract.
getRequestID
function getRequestID() external view returns (struct ISCRequestID)
getSenderAccount
function getSenderAccount() external view returns (struct ISCAgentID)
triggerEvent
function triggerEvent(string s) external
getEntropy
function getEntropy() external view returns (bytes32)
allow
function allow(address target, struct ISCAssets allowance) external
takeAllowedFunds
function takeAllowedFunds(address addr, struct ISCAssets allowance) external
getAllowanceFrom
function getAllowanceFrom(address addr) external view returns (struct ISCAssets)
getAllowanceTo
function getAllowanceTo(address target) external view returns (struct ISCAssets)
getAllowance
function getAllowance(address from, address to) external view returns (struct ISCAssets)
send
function send(struct L1Address targetAddress, struct ISCAssets assets, bool adjustMinimumStorageDeposit, struct ISCSendMetadata metadata, struct ISCSendOptions sendOptions) external payable
call
function call(ISCHname contractHname, ISCHname entryPoint, struct ISCDict params, struct ISCAssets allowance) external returns (struct ISCDict)
callView
function callView(ISCHname contractHname, ISCHname entryPoint, struct ISCDict params) external view returns (struct ISCDict)
getChainID
function getChainID() external view returns (ISCChainID)
getChainOwnerID
function getChainOwnerID() external view returns (struct ISCAgentID)
getTimestampUnixSeconds
function getTimestampUnixSeconds() external view returns (int64)
getBaseTokenProperties
function getBaseTokenProperties() external view returns (struct ISCTokenProperties)
getNativeTokenID
function getNativeTokenID(uint32 foundrySN) external view returns (struct NativeTokenID)
getNativeTokenScheme
function getNativeTokenScheme(uint32 foundrySN) external view returns (struct NativeTokenScheme)
getNFTData
function getNFTData(NFTID id) external view returns (struct ISCNFT)
getIRC27NFTData
function getIRC27NFTData(NFTID id) external view returns (struct IRC27NFT)
erc20NativeTokensAddress
function erc20NativeTokensAddress(uint32 foundrySN) external view returns (address)
erc721NFTCollectionAddress
function erc721NFTCollectionAddress(NFTID collectionID) external view returns (address)
erc20NativeTokensFoundrySerialNumber
function erc20NativeTokensFoundrySerialNumber(address addr) external view returns (uint32)
registerERC20NativeToken
function registerERC20NativeToken(uint32 foundrySN, string name, string symbol, uint8 decimals, struct ISCAssets allowance) external
__iscSandbox
contract ISCSandbox __iscSandbox