Files
explore/stubs/fheOperations.ts
3478c3fa51 feat: FHE operations and tags (#3180)
* integrate erc-7984

* minor fix

* FHE operations and tags

* upd

* upd

* fix mobile

* upd

* fix mobile

* Update TxFHEOperations.tsx

* upd

* add hover text

* Update Address.tsx

* Update Address.tsx

* add hover text

* Revert "Merge branch 'both-prs' into fhe-operations"

This reverts commit a8d48de2c077fed37581948ad07576ec751d2003, reversing
changes made to f253cae03dc71d38c3fa92fcad29f7be11467521.

* fix design of fhe ops page

* fix design of fhe ops page

* fix design of fhe ops page

* fix design of fhe ops page

* fix comments

* fix: tab name

* upd

---------

Co-authored-by: Maksym Zub <[email protected]>
2026-02-24 11:27:32 +01:00

29 lines
668 B
TypeScript

import type { FheOperation, FheOperationsResponse } from 'types/api/fheOperations';
import { ADDRESS_PARAMS } from './addressParams';
export const FHE_OPERATION: FheOperation = {
log_index: 0,
operation: 'fhe_add',
type: 'arithmetic',
fhe_type: 'Uint64',
is_scalar: true,
hcu_cost: 100,
hcu_depth: 50,
caller: ADDRESS_PARAMS,
inputs: {},
result: '0x',
block_number: 9004925,
};
export const FHE_OPERATIONS_RESPONSE: FheOperationsResponse = {
items: [
{ ...FHE_OPERATION, log_index: 0 },
{ ...FHE_OPERATION, log_index: 1 },
{ ...FHE_OPERATION, log_index: 2 },
],
total_hcu: 300,
max_depth_hcu: 100,
operation_count: 3,
};