/* tslint:disable */ /* eslint-disable */ export const memory: WebAssembly.Memory; export const __wbg_creditledger_free: (a: number, b: number) => void; export const __wbg_reputationscore_free: (a: number, b: number) => void; export const __wbg_stakemanager_free: (a: number, b: number) => void; export const calculate_reward: (a: bigint, b: number) => bigint; export const composite_reputation: (a: number, b: number, c: bigint) => number; export const contribution_multiplier: (a: number) => number; export const creditledger_balance: (a: number) => bigint; export const creditledger_credit: (a: number, b: number, c: bigint, d: number, e: number) => void; export const creditledger_creditWithMultiplier: (a: number, b: number, c: bigint, d: number, e: number) => void; export const creditledger_currentMultiplier: (a: number) => number; export const creditledger_deduct: (a: number, b: number, c: bigint) => void; export const creditledger_eventCount: (a: number) => number; export const creditledger_exportEarned: (a: number, b: number) => void; export const creditledger_exportSpent: (a: number, b: number) => void; export const creditledger_merge: (a: number, b: number, c: number, d: number, e: number, f: number) => void; export const creditledger_networkCompute: (a: number) => number; export const creditledger_new: (a: number, b: number, c: number) => void; export const creditledger_nodeId: (a: number, b: number) => void; export const creditledger_refund: (a: number, b: number, c: number, d: number, e: bigint) => void; export const creditledger_slash: (a: number, b: number, c: bigint) => void; export const creditledger_stake: (a: number, b: number, c: bigint) => void; export const creditledger_stakedAmount: (a: number) => bigint; export const creditledger_stateRoot: (a: number, b: number) => void; export const creditledger_stateRootHex: (a: number, b: number) => void; export const creditledger_totalEarned: (a: number) => bigint; export const creditledger_totalSpent: (a: number) => bigint; export const creditledger_unstake: (a: number, b: number, c: bigint) => void; export const creditledger_updateNetworkCompute: (a: number, b: number) => void; export const creditledger_verifyStateRoot: (a: number, b: number, c: number) => number; export const get_tier_name: (a: number, b: number) => void; export const get_tiers_json: (a: number) => void; export const reputationscore_accuracy: (a: number) => number; export const reputationscore_compositeScore: (a: number) => number; export const reputationscore_fromJson: (a: number, b: number, c: number) => void; export const reputationscore_isBetterThan: (a: number, b: number) => number; export const reputationscore_meetsMinimum: (a: number, b: number, c: number, d: bigint) => number; export const reputationscore_new: (a: number, b: number, c: bigint) => number; export const reputationscore_newWithTracking: (a: bigint, b: bigint, c: bigint, d: bigint, e: bigint) => number; export const reputationscore_recordFailure: (a: number) => void; export const reputationscore_recordSuccess: (a: number) => void; export const reputationscore_stake: (a: number) => bigint; export const reputationscore_stakeWeight: (a: number) => number; export const reputationscore_tasksCompleted: (a: number) => bigint; export const reputationscore_tasksFailed: (a: number) => bigint; export const reputationscore_tierName: (a: number, b: number) => void; export const reputationscore_toJson: (a: number, b: number) => void; export const reputationscore_totalTasks: (a: number) => bigint; export const reputationscore_updateStake: (a: number, b: bigint) => void; export const reputationscore_updateUptime: (a: number, b: bigint, c: bigint) => void; export const reputationscore_uptime: (a: number) => number; export const stake_weight: (a: bigint) => number; export const stakemanager_delegate: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint) => void; export const stakemanager_exportJson: (a: number, b: number) => void; export const stakemanager_getDelegatorCount: (a: number, b: number, c: number) => number; export const stakemanager_getEffectiveStake: (a: number, b: number, c: number) => bigint; export const stakemanager_getLockTimestamp: (a: number, b: number, c: number) => bigint; export const stakemanager_getNodeTotalSlashed: (a: number, b: number, c: number) => bigint; export const stakemanager_getSlashCount: (a: number, b: number, c: number) => number; export const stakemanager_getStake: (a: number, b: number, c: number) => bigint; export const stakemanager_isLocked: (a: number, b: number, c: number) => number; export const stakemanager_meetsMinimum: (a: number, b: number, c: number) => number; export const stakemanager_new: () => number; export const stakemanager_newWithParams: (a: bigint, b: bigint) => number; export const stakemanager_slash: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; export const stakemanager_stake: (a: number, b: number, c: number, d: number, e: bigint) => void; export const stakemanager_stakerCount: (a: number) => number; export const stakemanager_totalSlashed: (a: number) => bigint; export const stakemanager_totalStaked: (a: number) => bigint; export const stakemanager_undelegate: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint) => void; export const stakemanager_unstake: (a: number, b: number, c: number, d: number, e: bigint) => void; export const version: (a: number) => void; export const init_panic_hook: () => void; export const stakemanager_minStake: (a: number) => bigint; export const __wbindgen_export: (a: number, b: number, c: number) => void; export const __wbindgen_export2: (a: number, b: number) => number; export const __wbindgen_export3: (a: number, b: number, c: number, d: number) => number; export const __wbindgen_add_to_stack_pointer: (a: number) => number; export const __wbindgen_start: () => void;