- Phantasma Explorer -

Contract Information
Contract Script
This a built-in chain contract.
View source code in Github.
Contract ABI

Methods

CalculateStorageSizeForStake(stakeAmount:Number): Number
CreateFile(target:Object, fileName:String, fileSize:Number, contentMerkle:Bytes, encryptionContent:Bytes): None
HasFile(target:Object, hash:Object): Bool
AddFile(from:Object, target:Object, archiveHash:Object): None
DeleteFile(from:Object, targetHash:Object): None
HasPermission(external:Object, target:Object): Bool
AddPermission(from:Object, externalAddr:Object): None
DeletePermission(from:Object, externalAddr:Object): None
MigratePermission(target:Object, oldAddr:Object, newAddr:Object): None
Migrate(from:Object, target:Object): None
GetUsedSpace(from:Object): Number
GetAvailableSpace(from:Object): Number
GetFiles(from:Object): Object
GetUsedDataQuota(address:Object): Number
WriteData(target:Object, key:Bytes, value:Bytes): None
DeleteData(target:Object, key:Bytes): None

Events

None.