{
const led = await loadLedger("sourcecred/makerdao-cred");
for (const { identity, balance, active } of led.accounts()) {
if (identity.id === treasuryId) continue;
if (!active) continue;
led.transferGrain({
from: identity.id,
to: treasuryId,
amount: balance,
memo:
"https://etherscan.io/tx/0xd572db896b138c43e42be93348c718a41ad65b54ba467f15ce4078b192d7da16"
});
}
const log = led.eventLog();
return led.serialize();
}