Types
Types in iApp Generator SDK.
🔑 GrantedAccess
app: string
- Address of the iExec Tee application (IApp)
appprice: string
- Price (in nRLC) to charge the user specified in
requesterrestrict
for each use of thisiapp
volume: string
- Total number of authorized accesses for running an iApp when the access was signed and published
remainingAccess: number
- Number of remaining authorized accesses for running an iApp; each use decrements this counter
tag: string
- Defines whether an
iApp
is usable in a TEE environment;0x00
is TEE while0x03
is non-TEE
datasetrestrict: string
- Address of the authorized protected data; a value of 0x0 indicates any protected data may run with this iApp
requesterrestrict: string
- Address of the requester authorized to run this
iApp
in workloads; a value of 0x0 indicates any requester may use this iApp
workerpoolrestrict: string
- Address of the decentralized infrastructure (worker pool) authorized to execute the application; a value of 0x0 indicates any worker pool may access this data
salt: string
- Random value to make an order unique and reusable as nonce in a blockchain transaction
sign: string
- Order signature of all the
grantedAccess
fields
🔐 IApp
name: string
- Name specified when the iApp was created. This piece of information is public and visible on-chain.
address: Address
- Ethereum address of the iapp.
owner: Address
- Ethereum address of the iapp owner.
creationTimestamp: number
- Timestamp specifying when the iapp was created, expressed in milliseconds since the epoch. This timestamp provides precise information about the moment of creation and can be used for chronological ordering or time-based operations.
multiaddr: string
| undefined
- The multiaddr field is the IPFS path of iapp published on Dockerhub.
❌ RevokedAccess
access: GrantedAccess
- The granted access that was revoked.
txHash: string
- The ID of the transaction that happened on iExec's side chain. You may view details on the transaction using the iExec explorer.
Hash example: 0xc9c2d58fc01fe54149b7daf49a0026d4ab1fdd3d10fb7c76350790fff03fe24d
You can read more about the iExec Explorer.
✅ SuccessWithTransactionHash
txHash: string
- The hash of the transaction that happened on iExec's side chain. You may view details on the transaction using the iExec explorer.
Hash example: 0xc9c2d58fc01fe54149b7daf49a0026d4ab1fdd3d10fb7c76350790fff03fe24d