Skip to Content

@cfxdevkit/defi-react


@cfxdevkit/defi-react / WCFX_ABI

Variable: WCFX_ABI

const WCFX_ABI: readonly [{ inputs: readonly [{ name: "account"; type: "address"; }]; name: "balanceOf"; outputs: readonly [{ name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "owner"; type: "address"; }, { name: "spender"; type: "address"; }]; name: "allowance"; outputs: readonly [{ name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "spender"; type: "address"; }, { name: "amount"; type: "uint256"; }]; name: "approve"; outputs: readonly [{ name: ""; type: "bool"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "deposit"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly [{ name: "wad"; type: "uint256"; }]; name: "withdraw"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }]

Defined in: contracts.ts:47