Skip to Content

@cfxdevkit/protocol


@cfxdevkit/protocol / CROSS_SPACE_CALL_ABI

Variable: CROSS_SPACE_CALL_ABI

const CROSS_SPACE_CALL_ABI: readonly [{ inputs: readonly [{ internalType: "bytes20"; name: "to"; type: "bytes20"; }, { internalType: "bytes"; name: "data"; type: "bytes"; }]; name: "callEVM"; outputs: readonly [{ internalType: "bytes"; name: ""; type: "bytes"; }]; stateMutability: "payable"; type: "function"; }, { inputs: readonly [{ internalType: "bytes20"; name: "to"; type: "bytes20"; }, { internalType: "bytes"; name: "data"; type: "bytes"; }]; name: "staticCallEVM"; outputs: readonly [{ internalType: "bytes"; name: ""; type: "bytes"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "value"; type: "uint256"; }]; name: "withdrawFromMapped"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "addr"; type: "address"; }]; name: "mappedBalance"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "bytes20"; name: "to"; type: "bytes20"; }]; name: "transferEVM"; outputs: readonly [{ internalType: "bytes"; name: ""; type: "bytes"; }]; stateMutability: "payable"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: true; name: "sender"; type: "bytes20"; }, { indexed: true; name: "receiver"; type: "bytes20"; }, { indexed: false; name: "value"; type: "uint256"; }, { indexed: false; name: "nonce"; type: "uint256"; }, { indexed: false; name: "data"; type: "bytes"; }]; name: "Call"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: false; name: "success"; type: "bool"; }, { indexed: false; name: "data"; type: "bytes"; }]; name: "Outcome"; type: "event"; }] = crossSpaceCallAbi

Defined in: precompiles.ts:403