Type
CONTRACT
Validation date
2026-03-17 15:25:33 UTC
Fee
0 NUG

Smart Contract

WASM 14.82 KB Upgradable

State

FieldType
encryptedCounterstring

Functions

NameTypeInputOutput
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)

State (104 B)

{
  "encryptedCounter": "fhe_ref:uint32:7455EFA8A26C92B74C6BB1C987745B42514FC4B7A3AEB93FC99B6B6B67A073F6"
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    ED04C30A75E408D4A9D7EF69AAED513B53CD4669930D1A396FED3E5BA47A223FA0BD673294B1A0B1AA

    Authorized keys

    • 0001F5106EB3ACE6F94EDCBA66EFA844E80F11786066258D9BCA98ED4C2435E34D06

Contract recipients (0)

Inputs (0)

Contract inputs (0)

Unspent outputs (0)

Proofs and signatures

Previous public key

00013B84C6FE974B1131434362CF308BC548689FE2EAABC9A8E5071A546E92643424

Previous signature

58E08CE82E00043E44CD8AE5E84DC1992947607B7E0E4134511E981138D8447E7DD489E4C5B755A8FB2BA64BECBEA4A491C56F5C12D47432E94DDAFF7F47AC00

Origin signature

3045022100C4D997B2E7743FA48691E19203E691CE8F16E55EE56E03471B2145ABFA7716FD022065332E18C0909F5E41E11EB0738825A69B4DD6722B700C5AE2A24B2D0DB5FB6A

Proof of work

01010462C648ED3D42A390AFBE709A504E3B467B130CBB0DB6F7824E55FF3F0CA035D99E4B523BC15C2F76324811791E5241F0821AA38F726D3B18DD4D70D563B7DBEC

Proof of integrity

00249BED1F973FF62DC5F5D70E20592CD07D9775FE29EAD59ECEC321ED82E0EE5E

Coordinator signature

D94E3191D36532165275C5976F3F76604E18BBCC7491E5DA12015FD2FB3070EC99AFB934B51320D4FB58E7BFD4FC4A0C9E529245E0AC00FB5CD8237BB72A9005

Validator #1 public key

0001010BDFA7E7FCCD8FB404E6225DECC91A8A0E5677B89CFD49BBC5883E3D3397DF

Validator #1 signature

387EC5F6F8509D3D67D2F74F6ECF17158CCA6765C8F8CEC4D60F1831CCC802D1B89FB976C771807470D2E70BCE304FAA168717EAEE22025F76C6C2B49FEAE40F