Skip to Content

@cfxdevkit/protocol


@cfxdevkit/protocol / adminControlAbi

Variable: adminControlAbi

const adminControlAbi: 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"; }]

Defined in: precompiles.ts:41

AdminControl — Core Space internal contract. Allows an admin to manage the admin relationship of a contract or destroy it.

Address: 0x0888000000000000000000000000000000000000 Access: Core Space only (use cive client).