Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Commit 67e6d22

Browse files
committed
feat: add Arbitrum onchain space to Tally statement importer
Adds the Arbitrum Core Governor SX space to the Tally MAPPING so that delegate statements imported from Tally are stored against the onchain space and surfaced in the SX UI. Also fixes a crash when Tally returns a delegate with no statement (null instead of an empty object).
1 parent 5cb3d25 commit 67e6d22

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/lib/importer/statement/provider

src/lib/importer/statement/provider/tally.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const ORGANIZATION_QUERY = {
4949
export default class Tally extends Provider {
5050
static readonly MAPPING = {
5151
's:arbitrumfoundation.eth': 'arbitrum',
52+
'arb1:0x789fC99093B09aD01C34DC7251D0C89ce743e5a4': 'arbitrum',
5253
's:uniswapgovernance.eth': 'uniswap',
5354
's:dopedao.eth': 'dopewars',
5455
's:opcollective.eth': 'optimism',
@@ -108,7 +109,7 @@ export default class Tally extends Provider {
108109

109110
const _delegates: Delegate[] = [];
110111
results.delegates.nodes.forEach((node: any) => {
111-
const statement = node.statement.statement.trim();
112+
const statement = node.statement?.statement?.trim();
112113

113114
if (!statement) return;
114115

0 commit comments

Comments
 (0)