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:2FDFDCDC9BF967664A38C08D7D65051A35EEECAE2D2AD1296317C391685BA4DB"
}
-
Secret shared with 1 key
Encoded secret
E1FE8FA193527E439509E732E026502077A9626F79D6A6FD9BCB846F7F1A5D43B596E84AA0B3AF4F79
Authorized keys
- 0001F5106EB3ACE6F94EDCBA66EFA844E80F11786066258D9BCA98ED4C2435E34D06
Contract recipients (0)
Inputs (0)
Contract inputs (0)
Unspent outputs (0)
Previous public key
000123B6F6C270A5942D8E474076F0B933ABB4053CAADE763B4E5E23B1B13539B593
Previous signature
2EE536F46CFDD835ECD7DCB2ABB91B5F73F6388422B1D997864727EFA4A20C53DEB9505EF7B3C88868B19851C20C92F9BB02DB48CD1BF0D112F4D87D5CBBDF0E
Origin signature
304402204F7C94C22FC1C3C07F1BE7E53B02127EEE7E00BB81FF46A12FE98027C54469D4022023E3B38E3EF6CF1D65E8A8BCC6A11656CDB318DEF98718E53AEB3F5CC85D10C7
Proof of work
01010462C648ED3D42A390AFBE709A504E3B467B130CBB0DB6F7824E55FF3F0CA035D99E4B523BC15C2F76324811791E5241F0821AA38F726D3B18DD4D70D563B7DBEC
Proof of integrity
00D42A9AAE25FFDEED0FBBAC38923974AD987D406D58E414039801C8D4C5F2B5FA
Coordinator signature
753484B2397CA877765844CA08D26FDE9AA84891314B6E7236CAA4426E230CFA2B51573E3091671A47AAE98738CBC879EDB6D08E90559A86714D3E94A41CBB06
Validator #1 public key
0001010BDFA7E7FCCD8FB404E6225DECC91A8A0E5677B89CFD49BBC5883E3D3397DF
Validator #1 signature
DE06923A4DAABB8FD7A9231FB8BB556063496420CE5E96F8E1F0436905129F6DB104E1C166CE80F377447BD1AB3A3D2CB2BC2EF4D5A5E0EC19986B3C277BC40C