Flow.Sol · Read-only contract audit
Where does control sit?
Flow.Sol aims to fund projects by milestone. We’re inspecting the owner-linked Polygon contract to see what it does and where decisions still depend on one owner.
Follow a purchase
- BuyerSends POL to buy tokens.
- ContractRetains the purchase proceeds and can refund the buyer’s excess payment.
- Milestone closureTransfers unsold tokens to the owner. The audited code exposes no path to pay out the retained POL.
What the audit found
- Verified in source
- Two milestones can be marked active. Purchases use the earliest active one, and the purchase call does not take an expected milestone.
- Risk to investigate
- A buyer could intend one milestone while the contract selects another. We have yet to establish whether this happened.
- Evidence still needed
- One verified purchase paid 2.72 POL and transferred 1 FLW. The completion receipt records 89,999 FLW going to the caller. The contract held 5.984 POL at finalized block 97,476,922. Historical native traces are still needed to explain the full balance and distinguish internal transfers.
Does the deployed code match the saved record?
At Polygon block 97,510,984, the RPC returned 11,149 bytes of runtime code matching the saved explorer’s deployed-bytecode field, version 0.1.68 and a 5.984 POL balance. The independent review reproduced the saved bytes and decoding; fresh network retries were blocked.
The inspected source’s only outward native transfer returns purchase excess. Milestone closure transfers tokens, not retained POL. This is a source-backed missing funding-release capability, not a tested withdrawal failure or proof of permanently trapped funds. Independent compilation and historical fund tracing remain open.
What does the transfer instruction actually establish?
A local bytecode check identifies a conditional transfer instruction. If execution reaches offset 4563 with enough stack and a nonzero top word, the CALL at 4591 uses the immediate caller as recipient and that word as the native value. Its input and output lengths are zero. A zero word skips this local CALL block.
This is a local statement, not a demonstrated purchase or refund. The incoming word’s meaning is still unknown. Zero explicit gas does not mean zero total transfer allowance; actual success also depends on the execution context, available funds, recipient and later reverts.
Two separate upstream fragments—not a complete route
- The purchase entry: selector
0xa33902c0reaches wrapper 1077. A prefix with passing payment guards stops at unresolved helper 5383. - A separate arithmetic entry: starting at 4489 with an assumed word called
COST, checked subtraction derivesCALLVALUE − COSTand preserves it to helper 5745. That word has not been established as the source’s purchase cost.
These fragments are not joined. Returns through the transfer and investor-bookkeeping helpers remain unresolved, including the route to offset 4563. Independent checks reproduced the fragments, not a continuous deployed transaction.
All checks use the same preserved runtime. They establish neither independent source compilation nor a complete executable code/data map. No refund-only exit, exhaustive audit or permanently locked funds conclusion follows.
How to reproduce and limits · Pinned runtime · Local CALL checker · Separate-fragment checker
Local operands and trace · Selector trace · Unresolved entry bridge · Separate arithmetic trace
Check the dated token reserve
At Polygon block 97,492,642, the captured contract balance was 269,999 FLW. The observed unfinished milestone had 29,999 FLW remaining. The nominal reserve covered that amount at this block. This does not establish today’s balance, enforcement of future allocations or native-currency payouts.
The independent check decoded the saved RPC responses. It did not obtain a state proof or independently reproduce the deployed compilation.
Raw RPC observations · Decoded snapshot · Preserved verified source · Contract ABI