File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99| Network | Chain ID | Status | The Graph | Goldsky |
1010| ---------| ----------| --------| -----------| ---------|
1111| ** Ethereum Mainnet** | 1 | ✅ Deployed | [ Endpoint] ( https://gateway.thegraph.com/api/subgraphs/id/FV6RR6y13rsnCxBAicKuQEwDp8ioEGiNaWaZUmvr1F8k ) | [ Endpoint] ( https://api.goldsky.com/api/public/project_cmm2akwq17hxv01u972qzekpv/subgraphs/erc-8004-eth-mainnet/1.0.1/gn ) |
12- | ** Base Mainnet** | 8453 | ✅ Deployed | [ Endpoint] ( https://gateway.thegraph.com/api/subgraphs/id/43s9hQRurMGjuYnC1r2ZwS6xSQktbFyXMPMqGKUFJojb ) | [ Endpoint] ( https://api.goldsky.com/api/public/project_cmm2akwq17hxv01u972qzekpv/subgraphs/erc-8004-base-mainnet/1.0.1 /gn ) |
12+ | ** Base Mainnet** | 8453 | ✅ Deployed | [ Endpoint] ( https://gateway.thegraph.com/api/subgraphs/id/43s9hQRurMGjuYnC1r2ZwS6xSQktbFyXMPMqGKUFJojb ) | [ Endpoint] ( https://api.goldsky.com/api/public/project_cmm2akwq17hxv01u972qzekpv/subgraphs/erc-8004-base-mainnet/1.0.2 /gn ) |
1313| ** BSC Mainnet** | 56 | ✅ Deployed | [ Endpoint] ( https://gateway.thegraph.com/api/subgraphs/id/D6aWqowLkWqBgcqmpNKXuNikPkob24ADXCciiP8Hvn1K ) | [ Endpoint] ( https://api.goldsky.com/api/public/project_cmm2akwq17hxv01u972qzekpv/subgraphs/erc-8004-bsc-mainnet/1.0.1/gn ) |
1414| ** Polygon Mainnet** | 137 | ✅ Deployed | [ Endpoint] ( https://gateway.thegraph.com/api/subgraphs/id/9q16PZv1JudvtnCAf44cBoxg82yK9SSsFvrjCY9xnneF ) | [ Endpoint] ( https://api.goldsky.com/api/public/project_cmm2akwq17hxv01u972qzekpv/subgraphs/erc-8004-polygon-mainnet/1.0.1/gn ) |
1515| ** Monad** | 143 | ✅ Deployed | [ Endpoint] ( https://gateway.thegraph.com/api/subgraphs/id/4tvLxkczjhSaMiqRrCV1EyheYHyJ7Ad8jub1UUyukBjg ) | [ Endpoint] ( https://api.goldsky.com/api/public/project_cmm2akwq17hxv01u972qzekpv/subgraphs/erc-8004-monad-mainnet/1.0.1/gn ) |
Original file line number Diff line number Diff line change @@ -140,12 +140,13 @@ export function populateRegistrationFromJsonBytes(metadata: AgentRegistrationFil
140140 if ( image && ! image . isNull ( ) && image . kind == JSONValueKind . STRING ) metadata . image = image . toString ( )
141141
142142 let active = obj . get ( "active" )
143- if ( active && ! active . isNull ( ) ) metadata . active = active . toBool ( )
143+ if ( active && ! active . isNull ( ) && active . kind == JSONValueKind . BOOL ) metadata . active = active . toBool ( )
144144
145145 // ERC-8004 uses x402Support (camelCase). Keep fallback to x402support.
146+ // Value may be a plain boolean OR an object like {"enabled": false} — only accept booleans.
146147 let x402Support = obj . get ( "x402Support" )
147148 if ( x402Support == null || x402Support . isNull ( ) ) x402Support = obj . get ( "x402support" )
148- if ( x402Support && ! x402Support . isNull ( ) ) metadata . x402Support = x402Support . toBool ( )
149+ if ( x402Support && ! x402Support . isNull ( ) && x402Support . kind == JSONValueKind . BOOL ) metadata . x402Support = x402Support . toBool ( )
149150
150151 let supportedTrusts = obj . get ( "supportedTrusts" )
151152 if ( supportedTrusts == null || supportedTrusts . isNull ( ) ) supportedTrusts = obj . get ( "supportedTrust" )
You can’t perform that action at this time.
0 commit comments