Skip to Content

@cfxdevkit/protocol


@cfxdevkit/protocol / ADMIN_CONTROL_ABI

Variable: ADMIN_CONTROL_ABI

const ADMIN_CONTROL_ABI: readonly [{ inputs: readonly [{ internalType: "address"; name: "contractAddr"; type: "address"; }]; name: "getAdmin"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "contractAddr"; type: "address"; }, { internalType: "address"; name: "newAdmin"; type: "address"; }]; name: "setAdmin"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "contractAddr"; type: "address"; }]; name: "destroy"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }] = adminControlAbi

Defined in: precompiles.ts:72