MCPcopy Create free account
hub / github.com/BarcodeAPI/server / allowSpend

Method allowSpend

src/main/java/org/barcodeapi/server/core/Tokens.java:169–173  ·  view source on GitHub ↗

Returns true if the token balance allows the cost spend. @param cost the cost of the request @return true if balance allows spend

(double cost)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

onRequestMethod · 0.80

Calls 2

isUnlimitedMethod · 0.95
isEnforcedMethod · 0.95

Tested by

no test coverage detected