Event signature · Stablecoins and issued tokens

UnfreezeAddress (Paxos V2) event signature and topic0

The topic0 of the UnfreezeAddress (Paxos V2) event is 0x150465b020dfc06a59269da94ed66db9b65a516cf4fdd5f583b0f12752339bbe, the keccak-256 hash of UnfreezeAddress(address); 1 of its 1 arguments is indexed. Address unfrozen by the token issuer (Paxos, V2 implementation).

Anatomy of a UnfreezeAddress (Paxos V2) log

Topics

  • topic00x150465b020dfc06a59269da94ed66db9b65a516cf4fdd5f583b0f12752339bbekeccak256("UnfreezeAddress(address)")
  • topic1addr (address)indexed: filterable
Parameters

Arguments and where they sit in the log

Indexed arguments travel as topics and can be filtered cheaply; the others are ABI-encoded together in the data.

NameTypeIn the log
addraddresstopic1

Solidity declaration

event UnfreezeAddress(address indexed addr);

Canonical signature

UnfreezeAddress(address)

topic0

0x150465b020dfc06a59269da94ed66db9b65a516cf4fdd5f583b0f12752339bbe

Ready-made alerts

Get an alert on UnfreezeAddress

Each rule opens with the contract and the conditions filled in. Sign in, pick your chat and click Create.

Who emits it

Contracts we list that emit UnfreezeAddress

Any other contract with the same signature emits a log with the same topic0.

Code

Read UnfreezeAddress logs in code

The same filter in viem, ethers and plain JSON-RPC, and the Solidity that emits it. The address is Paxos Gold (PAXG), a contract we list that emits it.

viem
import { createPublicClient, http, parseAbiItem } from "viem"
import { mainnet } from "viem/chains"

const client = createPublicClient({ chain: mainnet, transport: http() })

const logs = await client.getLogs({
  address: "0x45804880de22913dafe09f4980848ece6ecbaf78",
  event: parseAbiItem("event UnfreezeAddress(address indexed addr)"),
  fromBlock: "latest",
})

for (const log of logs) console.log(log.args) // { addr }
ethers v6
import { Interface, JsonRpcProvider } from "ethers"

const provider = new JsonRpcProvider(process.env.RPC_URL)
const iface = new Interface(["event UnfreezeAddress(address indexed addr)"])

const logs = await provider.getLogs({
  address: "0x45804880de22913dafe09f4980848ece6ecbaf78",
  topics: [iface.getEvent("UnfreezeAddress")!.topicHash],
})

for (const log of logs) console.log(iface.parseLog(log)?.args)
JSON-RPC (eth_getLogs)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_getLogs",
  "params": [
    {
      "address": "0x45804880de22913dafe09f4980848ece6ecbaf78",
      "topics": [
        "0x150465b020dfc06a59269da94ed66db9b65a516cf4fdd5f583b0f12752339bbe"
      ],
      "fromBlock": "latest"
    }
  ]
}
Solidity
event UnfreezeAddress(address indexed addr);

// inside a function:
emit UnfreezeAddress(addr);
Example

An example UnfreezeAddress log, encoded and decoded

Placeholder values, not a real transaction: how each argument is stored in the topics and the data, and what decoding gives back.

Encoded (as the node returns it)
  • topic0keccak256("UnfreezeAddress(address)")0x150465b020dfc06a59269da94ed66db9b65a516cf4fdd5f583b0f12752339bbe
  • topic1addr0x0000000000000000000000001111111111111111111111111111111111111111
  • data0x
Decoded with the ABI
  • addraddress · indexed0x1111111111111111111111111111111111111111
FAQ

Frequently asked questions

What is the topic0 of the UnfreezeAddress (Paxos V2) event?

0x150465b020dfc06a59269da94ed66db9b65a516cf4fdd5f583b0f12752339bbe: the keccak-256 hash of UnfreezeAddress(address).

Which UnfreezeAddress (Paxos V2) arguments are indexed?

addr is indexed and sit in the log's topics.

How do I get an alert when a contract emits UnfreezeAddress (Paxos V2)?

Open one of the ready-made rules on this page, or add any contract and pick UnfreezeAddress (Paxos V2) from the event list. Conditions can be set on indexed and non-indexed arguments, and each alert names the contract and links to the transaction.

Keep exploring

More event signatures and tools

Know the moment a contract emits it

The Beta plan is free: one wallet and one contract, no credit card.