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

Smart Contract

WASM 14.82 KB Upgradable

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)

State (104 B)

{
  "encryptedCounter": "fhe_ref:uint32:857FB2F646853C35A6F5FEAE4CFC2DBCA2FA8E683D477BE9E210CEBF3DC1AB68"
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    F8DB145D3C8A0B744DC109656C0C34DE11C3FF5348709DB60A563B9E2CEE0A7333DD8EC0B681024517

    Authorized keys

    • 0001F5106EB3ACE6F94EDCBA66EFA844E80F11786066258D9BCA98ED4C2435E34D06

Contract recipients (0)

Inputs (0)

Contract inputs (0)

Unspent outputs (0)

Proofs and signatures

Previous public key

00017ADBC5A31861527491A5EE08CD94F8F093F7E889A344A48C48517256E65AD85C

Previous signature

1E3577C342628C382F62A2A1FAD0CDF0D139790CCCF53367FAD380C5A7B72D67BDBE2A4D9836B5B2FD553BA9159AF1A168B3C09DDF0C183031B7EE4A50839904

Origin signature

304402203DD92EDF535C23445F25E247D0EBA3DEE05E8549E5CD79B2BEFF0EB86F3E949202200795AB5E6572295F50EE40C8ECA9380F769880B496106A397C2F966963B0AED1

Proof of work

01010462C648ED3D42A390AFBE709A504E3B467B130CBB0DB6F7824E55FF3F0CA035D99E4B523BC15C2F76324811791E5241F0821AA38F726D3B18DD4D70D563B7DBEC

Proof of integrity

0000FB9971BD965BA7C56F3DA945F31B092323E0A139C26B112391BAFB0F9C4B5D

Coordinator signature

56A985E74C9C369E2CFE6608C859EE38E8749D9607766C443B4D5B4F9B0B0D8146FBA540D6782B14D72CE8AB61127D757DD59C8B44AF6C9C0989C2EC6340DF04

Validator #1 public key

0001010BDFA7E7FCCD8FB404E6225DECC91A8A0E5677B89CFD49BBC5883E3D3397DF

Validator #1 signature

80022C44D362212D4D8F74A8CC202978388CE54C6710D4B4A33699B16F99113BA7D2B46DCD4231142AFE8A5A29BCD9EC2BFEEA580BB47874163C6664A408750B