Skip to main content

ISCSandbox

ISCSandbox

This is the main interface of the ISC Magic Contract.

getRequestID

function getRequestID() external view returns (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(IotaAddress targetAddress, struct ISCAssets assets, struct ISCSendMetadata metadata, struct ISCSendOptions sendOptions) external payable

call

function call(struct ISCMessage message, struct ISCAssets allowance) external returns (bytes[])

callView

function callView(struct ISCMessage message) external view returns (bytes[])

getChainID

function getChainID() external view returns (ISCChainID)

getChainOwnerID

function getChainOwnerID() external view returns (struct ISCAgentID)

getTimestampUnixSeconds

function getTimestampUnixSeconds() external view returns (int64)

getBaseTokenInfo

function getBaseTokenInfo() external view returns (struct IotaCoinInfo)

getCoinInfo

function getCoinInfo(string coinType) external view returns (struct IotaCoinInfo)

getObjectBCS

function getObjectBCS(IotaObjectID id) external view returns (bytes)

getIRC27TokenURI

function getIRC27TokenURI(IotaObjectID id) external view returns (string)

ERC20CoinAddress

function ERC20CoinAddress(string coinType) external view returns (address)

erc721NFTCollectionAddress

function erc721NFTCollectionAddress(IotaObjectID collectionID) external view returns (address)

__iscSandbox

contract ISCSandbox __iscSandbox