import { createPublicClient, http, parseAbi } from "viem";
import { monad } from "viem/chains";
const client = createPublicClient({ chain: monad, transport: http() });
const SPYx = "0x90A2a4c76b5D8c0bc892A69EA28Aa775a8f2dD48";
const account = "0x..."; // the holder to look up
const abi = parseAbi([
"function getCurrentMultiplier() view returns (uint256 currentMultiplier, uint256 periodsPassed, uint256 currentMultiplierNonce)",
"function sharesOf(address account) view returns (uint256)",
"function balanceOf(address account) view returns (uint256)",
]);
const [multiplier] = await client.readContract({
address: SPYx,
abi,
functionName: "getCurrentMultiplier",
});
// 1007474126658766000n on November 16, 2026, a multiplier of about 1.0075
const shares = await client.readContract({
address: SPYx,
abi,
functionName: "sharesOf",
args: [account],
});
const scheduleAbi = parseAbi([
"event MultiplierScheduled(uint256 newMultiplier, uint256 activationTime)",
"function newMultiplierActivationTime() view returns (uint256)",
]);
// The scheduling transaction for the October 30, 2026 change.
// The public RPC accepts at most 100 blocks per eth_getLogs call.
const logs = await client.getLogs({
address: SPYx,
event: scheduleAbi[0],
fromBlock: 117996000n,
toBlock: 117996099n,
});
// logs[0].args: { newMultiplier: 1005732155949979200n, activationTime: 1793404500n }
import { createPublicClient, http, parseAbi } from "viem";
import { monad } from "viem/chains";
const client = createPublicClient({ chain: monad, transport: http() });
const SPYx = "0x90A2a4c76b5D8c0bc892A69EA28Aa775a8f2dD48";
const account = "0x..."; // the holder to look up
const abi = parseAbi([
"function getCurrentMultiplier() view returns (uint256 currentMultiplier, uint256 periodsPassed, uint256 currentMultiplierNonce)",
"function sharesOf(address account) view returns (uint256)",
"function balanceOf(address account) view returns (uint256)",
]);
const [multiplier] = await client.readContract({
address: SPYx,
abi,
functionName: "getCurrentMultiplier",
});
// 1007474126658766000n on November 16, 2026, a multiplier of about 1.0075
const shares = await client.readContract({
address: SPYx,
abi,
functionName: "sharesOf",
args: [account],
});
const scheduleAbi = parseAbi([
"event MultiplierScheduled(uint256 newMultiplier, uint256 activationTime)",
"function newMultiplierActivationTime() view returns (uint256)",
]);
// The scheduling transaction for the October 30, 2026 change.
// The public RPC accepts at most 100 blocks per eth_getLogs call.
const logs = await client.getLogs({
address: SPYx,
event: scheduleAbi[0],
fromBlock: 117996000n,
toBlock: 117996099n,
});
// logs[0].args: { newMultiplier: 1005732155949979200n, activationTime: 1793404500n }
import { createPublicClient, http, parseAbi } from "viem";
import { monad } from "viem/chains";
const client = createPublicClient({ chain: monad, transport: http() });
const SPYx = "0x90A2a4c76b5D8c0bc892A69EA28Aa775a8f2dD48";
const account = "0x..."; // the holder to look up
const abi = parseAbi([
"function getCurrentMultiplier() view returns (uint256 currentMultiplier, uint256 periodsPassed, uint256 currentMultiplierNonce)",
"function sharesOf(address account) view returns (uint256)",
"function balanceOf(address account) view returns (uint256)",
]);
const [multiplier] = await client.readContract({
address: SPYx,
abi,
functionName: "getCurrentMultiplier",
});
// 1007474126658766000n on November 16, 2026, a multiplier of about 1.0075
const shares = await client.readContract({
address: SPYx,
abi,
functionName: "sharesOf",
args: [account],
});
const scheduleAbi = parseAbi([
"event MultiplierScheduled(uint256 newMultiplier, uint256 activationTime)",
"function newMultiplierActivationTime() view returns (uint256)",
]);
// The scheduling transaction for the October 30, 2026 change.
// The public RPC accepts at most 100 blocks per eth_getLogs call.
const logs = await client.getLogs({
address: SPYx,
event: scheduleAbi[0],
fromBlock: 117996000n,
toBlock: 117996099n,
});
// logs[0].args: { newMultiplier: 1005732155949979200n, activationTime: 1793404500n }
import { createPublicClient, http, parseAbi } from "viem";
import { monad } from "viem/chains";
const client = createPublicClient({ chain: monad, transport: http() });
const SPYx = "0x90A2a4c76b5D8c0bc892A69EA28Aa775a8f2dD48";
const account = "0x..."; // the holder to look up
const abi = parseAbi([
"function getCurrentMultiplier() view returns (uint256 currentMultiplier, uint256 periodsPassed, uint256 currentMultiplierNonce)",
"function sharesOf(address account) view returns (uint256)",
"function balanceOf(address account) view returns (uint256)",
]);
const [multiplier] = await client.readContract({
address: SPYx,
abi,
functionName: "getCurrentMultiplier",
});
// 1007474126658766000n on November 16, 2026, a multiplier of about 1.0075
const shares = await client.readContract({
address: SPYx,
abi,
functionName: "sharesOf",
args: [account],
});
const scheduleAbi = parseAbi([
"event MultiplierScheduled(uint256 newMultiplier, uint256 activationTime)",
"function newMultiplierActivationTime() view returns (uint256)",
]);
// The scheduling transaction for the October 30, 2026 change.
// The public RPC accepts at most 100 blocks per eth_getLogs call.
const logs = await client.getLogs({
address: SPYx,
event: scheduleAbi[0],
fromBlock: 117996000n,
toBlock: 117996099n,
});
// logs[0].args: { newMultiplier: 1005732155949979200n, activationTime: 1793404500n }
import { createPublicClient, http, parseAbi } from "viem";
import { monad } from "viem/chains";
const client = createPublicClient({ chain: monad, transport: http() });
const SPYx = "0x90A2a4c76b5D8c0bc892A69EA28Aa775a8f2dD48";
const account = "0x..."; // the holder to look up
const abi = parseAbi([
"function getCurrentMultiplier() view returns (uint256 currentMultiplier, uint256 periodsPassed, uint256 currentMultiplierNonce)",
"function sharesOf(address account) view returns (uint256)",
"function balanceOf(address account) view returns (uint256)",
]);
const [multiplier] = await client.readContract({
address: SPYx,
abi,
functionName: "getCurrentMultiplier",
});
// 1007474126658766000n on November 16, 2026, a multiplier of about 1.0075
const shares = await client.readContract({
address: SPYx,
abi,
functionName: "sharesOf",
args: [account],
});
const scheduleAbi = parseAbi([
"event MultiplierScheduled(uint256 newMultiplier, uint256 activationTime)",
"function newMultiplierActivationTime() view returns (uint256)",
]);
// The scheduling transaction for the October 30, 2026 change.
// The public RPC accepts at most 100 blocks per eth_getLogs call.
const logs = await client.getLogs({
address: SPYx,
event: scheduleAbi[0],
fromBlock: 117996000n,
toBlock: 117996099n,
});
// logs[0].args: { newMultiplier: 1005732155949979200n, activationTime: 1793404500n }
import { createPublicClient, http, parseAbi } from "viem";
import { monad } from "viem/chains";
const client = createPublicClient({ chain: monad, transport: http() });
const SPYx = "0x90A2a4c76b5D8c0bc892A69EA28Aa775a8f2dD48";
const account = "0x..."; // the holder to look up
const abi = parseAbi([
"function getCurrentMultiplier() view returns (uint256 currentMultiplier, uint256 periodsPassed, uint256 currentMultiplierNonce)",
"function sharesOf(address account) view returns (uint256)",
"function balanceOf(address account) view returns (uint256)",
]);
const [multiplier] = await client.readContract({
address: SPYx,
abi,
functionName: "getCurrentMultiplier",
});
// 1007474126658766000n on November 16, 2026, a multiplier of about 1.0075
const shares = await client.readContract({
address: SPYx,
abi,
functionName: "sharesOf",
args: [account],
});
const scheduleAbi = parseAbi([
"event MultiplierScheduled(uint256 newMultiplier, uint256 activationTime)",
"function newMultiplierActivationTime() view returns (uint256)",
]);
// The scheduling transaction for the October 30, 2026 change.
// The public RPC accepts at most 100 blocks per eth_getLogs call.
const logs = await client.getLogs({
address: SPYx,
event: scheduleAbi[0],
fromBlock: 117996000n,
toBlock: 117996099n,
});
// logs[0].args: { newMultiplier: 1005732155949979200n, activationTime: 1793404500n }