FundingPolicy.hash
Computes the protocol's domain-separated commitment to rules.
Imports
Named
import { FundingPolicy } from 'ox/tempo'Examples
import { FundingPolicy } from 'ox/tempo'
const rules = { maxSlippageBps: 100, sources: {} }
FundingPolicy.hash(rules)Definition
function hash(
rules: Rules,
): Hex.HexSource: src/tempo/FundingPolicy.ts
Parameters
rules
- Type:
Rules
rules.maxSlippageBps
- Type:
number
Maximum aggregate slippage in basis points.
rules.sources
- Type:
Readonly
Ordered source permissions for each output token.
Return Type
Hex.Hex

