Variable SHIELD_EVENT_ABIConst
SHIELD_EVENT_ABI: readonly [
{
name: "Shield";
type: "event";
anonymous: false;
inputs: readonly [
{ name: "treeNumber"; type: "uint256"; indexed: false },
{ name: "startPosition"; type: "uint256"; indexed: false },
{
name: "commitments";
type: "tuple[]";
indexed: false;
components: readonly [
{ name: "npk"; type: "bytes32" },
{
name: "token";
type: "tuple";
components: readonly [
{ name: "tokenType"; type: "uint8" },
{ name: "tokenAddress"; type: "address" },
{ name: "tokenSubID"; type: "uint256" },
];
},
{ name: "value"; type: "uint120" },
];
},
{
name: "shieldCiphertext";
type: "tuple[]";
indexed: false;
components: readonly [
{ name: "encryptedBundle"; type: "bytes32[3]" },
{ name: "shieldKey"; type: "bytes32" },
];
},
{ name: "fees"; type: "uint256[]"; indexed: false },
];
},
] = ...
Minimal ABI fragment for the V2.1
Shieldevent.This is the five-field event emitted by RailgunV2_1. The final
feesarray is required to distinguish the net shielded value from the inclusive amount supplied by the caller.