Smart Contract
State
| Field | Type |
|---|---|
| encryptedCounter | string |
Functions
| Name | Type | Input | Output | |
|---|---|---|---|---|
| addEncrypted | transaction |
value: u32
|
- | wallet required |
| benchmarkFhe | transaction |
value: u32
|
- | wallet required |
| computeFormula | transaction |
a: string
b: string c: string d: string |
- | wallet required |
| computeFromCompact | transaction |
a: string
b: string c: string d: string |
- | wallet required |
| getDecryptedCounter | read | - | u64 | |
| getEncryptedCounter | read | - | string | |
| mulEncrypted | transaction |
value: u32
|
- | wallet required |
| subEncrypted | transaction |
value: u32
|
- | wallet required |
Raw manifest & bytecode
{
"abi": {
"functions": {
"addEncrypted": {
"input": {
"value": "u32"
},
"triggerType": "transaction",
"type": "action"
},
"benchmarkFhe": {
"input": {
"value": "u32"
},
"triggerType": "transaction",
"type": "action"
},
"computeFormula": {
"input": {
"a": "string",
"b": "string",
"c": "string",
"d": "string"
},
"triggerType": "transaction",
"type": "action"
},
"computeFromCompact": {
"input": {
"a": "string",
"b": "string",
"c": "string",
"d": "string"
},
"triggerType": "transaction",
"type": "action"
},
"getDecryptedCounter": {
"input": "null",
"output": "u64",
"type": "publicFunction"
},
"getEncryptedCounter": {
"input": "null",
"output": "string",
"type": "publicFunction"
},
"mulEncrypted": {
"input": {
"value": "u32"
},
"triggerType": "transaction",
"type": "action"
},
"subEncrypted": {
"input": {
"value": "u32"
},
"triggerType": "transaction",
"type": "action"
}
},
"state": {
"encryptedCounter": "string"
}
},
"upgradeOpts": {
"from": "0000007ab2e29f565b597977146a4142e0f66159ab74ec946e472da101a4305add4c"
}
}
Bytecode: 15174 bytes (compressed)
Content (0 B)
{
"encryptedCounter": "fhe_ref:uint32:CFCA212D2E386B89D680C4D646FCE754579A2007C3F51ACF37DE9CE7B9CCB053"
}
-
Secret shared with 1 key
Encoded secret
AEC9F4074F0D8FA9310F79E99FCA1C4C9A864117316FE8AEF50992227E98518F49F0F1546248578291
Authorized keys
- 0001F5106EB3ACE6F94EDCBA66EFA844E80F11786066258D9BCA98ED4C2435E34D06
Contract recipients (0)
Inputs (0)
Contract inputs (0)
Unspent outputs (0)
Previous public key
0001D70402946FEF56373D3FB1A7D64DB9ED10038F884BA3CDC8977F5D7DF0354150
Previous signature
001EC630B750F34529CC6B320D8273A9042901FA69B1EE0FA76D3992ABD865F39DB548FDEC90AB8CFDAD943CBF79ED1A26BA2B370F20A42F542CF79653465C0B
Origin signature
304402204E4079752994C1EAAD2C56D8CAAE32B2A4D8A36B75BD653A8498DE674A5A55FF022075E2B00A1CA527F960CF6A9444A0CB69A80DEBDD8DAE7F9FFA58C3D95EC50C27
Proof of work
01010462C648ED3D42A390AFBE709A504E3B467B130CBB0DB6F7824E55FF3F0CA035D99E4B523BC15C2F76324811791E5241F0821AA38F726D3B18DD4D70D563B7DBEC
Proof of integrity
00034E79BA6ABEE428D2F971EDD3933B3B6861441C3AEE4BF75D531E98FEC1F4EA
Coordinator signature
3FE0FAA31D01F96582FFD4907703757E4AEFAE0C93D4D0D8900E51594D060F4AF8EE6CE5DA3818FF35BD999B6C51CE9744F1D1DD8859CBB56C12A282F23B3008
Validator #1 public key
0001010BDFA7E7FCCD8FB404E6225DECC91A8A0E5677B89CFD49BBC5883E3D3397DF
Validator #1 signature
59FE6F6F93CDDCF2C2D7DD7E8A21B9FC6854C5A1731D6FD303950DFFC6E3F58EF757123F1B1031F470F9539E034006A3044CC17FCECB54CD2B182A5D9385830A