Variable cfxVerifyingPaymasterAbiConst
cfxVerifyingPaymasterAbi: readonly [
{
inputs: readonly [
{
internalType: "contract IEntryPoint";
name: "entryPoint_";
type: "address";
},
{ internalType: "uint48"; name: "adminDelay"; type: "uint48" },
{ internalType: "address"; name: "admin"; type: "address" },
{ internalType: "address"; name: "signer"; type: "address" },
];
stateMutability: "nonpayable";
type: "constructor";
},
{
inputs: readonly [];
name: "DEFAULT_ADMIN_ROLE";
outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "acceptDefaultAdminTransfer";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [];
name: "acceptOwnership";
outputs: readonly [];
stateMutability: "pure";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint32"; name: "unstakeDelaySec"; type: "uint32" },
];
name: "addStake";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "newAdmin"; type: "address" },
];
name: "beginDefaultAdminTransfer";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [];
name: "cancelDefaultAdminTransfer";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint48"; name: "newDelay"; type: "uint48" },
];
name: "changeDefaultAdminDelay";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [];
name: "defaultAdmin";
outputs: readonly [{ internalType: "address"; name: ""; type: "address" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "defaultAdminDelay";
outputs: readonly [{ internalType: "uint48"; name: ""; type: "uint48" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "defaultAdminDelayIncreaseWait";
outputs: readonly [{ internalType: "uint48"; name: ""; type: "uint48" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "deposit";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [];
name: "entryPoint";
outputs: readonly [
{ internalType: "contract IEntryPoint"; name: ""; type: "address" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "getDeposit";
outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{
components: readonly [
{ internalType: "address"; name: "sender"; type: "address" },
{ internalType: "uint256"; name: "nonce"; type: "uint256" },
{ internalType: "bytes"; name: "initCode"; type: "bytes" },
{ internalType: "bytes"; name: "callData"; type: "bytes" },
{ internalType: "bytes32"; name: "accountGasLimits"; type: "bytes32" },
{
internalType: "uint256";
name: "preVerificationGas";
type: "uint256";
},
{ internalType: "bytes32"; name: "gasFees"; type: "bytes32" },
{ internalType: "bytes"; name: "paymasterAndData"; type: "bytes" },
{ internalType: "bytes"; name: "signature"; type: "bytes" },
];
internalType: "struct PackedUserOperation";
name: "userOp";
type: "tuple";
},
{ internalType: "uint48"; name: "validUntil"; type: "uint48" },
{ internalType: "uint48"; name: "validAfter"; type: "uint48" },
];
name: "getHash";
outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "role"; type: "bytes32" },
];
name: "getRoleAdmin";
outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "role"; type: "bytes32" },
{ internalType: "address"; name: "account"; type: "address" },
];
name: "grantRole";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "role"; type: "bytes32" },
{ internalType: "address"; name: "account"; type: "address" },
];
name: "hasRole";
outputs: readonly [{ internalType: "bool"; name: ""; type: "bool" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "owner";
outputs: readonly [{ internalType: "address"; name: ""; type: "address" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes"; name: "paymasterAndData"; type: "bytes" },
];
name: "parsePaymasterAndData";
outputs: readonly [
{ internalType: "uint48"; name: "validUntil"; type: "uint48" },
{ internalType: "uint48"; name: "validAfter"; type: "uint48" },
{ internalType: "bytes"; name: "signature"; type: "bytes" },
];
stateMutability: "pure";
type: "function";
},
{
inputs: readonly [];
name: "pendingDefaultAdmin";
outputs: readonly [
{ internalType: "address"; name: "newAdmin"; type: "address" },
{ internalType: "uint48"; name: "schedule"; type: "uint48" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "pendingDefaultAdminDelay";
outputs: readonly [
{ internalType: "uint48"; name: "newDelay"; type: "uint48" },
{ internalType: "uint48"; name: "schedule"; type: "uint48" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "pendingOwner";
outputs: readonly [{ internalType: "address"; name: ""; type: "address" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{
internalType: "enum IPaymaster.PostOpMode";
name: "mode";
type: "uint8";
},
{ internalType: "bytes"; name: "context"; type: "bytes" },
{ internalType: "uint256"; name: "actualGasCost"; type: "uint256" },
{
internalType: "uint256";
name: "actualUserOpFeePerGas";
type: "uint256";
},
];
name: "postOp";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [];
name: "renounceOwnership";
outputs: readonly [];
stateMutability: "pure";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "role"; type: "bytes32" },
{ internalType: "address"; name: "account"; type: "address" },
];
name: "renounceRole";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "role"; type: "bytes32" },
{ internalType: "address"; name: "account"; type: "address" },
];
name: "revokeRole";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [];
name: "rollbackDefaultAdminDelay";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "signer"; type: "address" },
];
name: "setVerifyingSigner";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes4"; name: "interfaceId"; type: "bytes4" },
];
name: "supportsInterface";
outputs: readonly [{ internalType: "bool"; name: ""; type: "bool" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: ""; type: "address" },
];
name: "transferOwnership";
outputs: readonly [];
stateMutability: "pure";
type: "function";
},
{
inputs: readonly [];
name: "unlockStake";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{
components: readonly [
{ internalType: "address"; name: "sender"; type: "address" },
{ internalType: "uint256"; name: "nonce"; type: "uint256" },
{ internalType: "bytes"; name: "initCode"; type: "bytes" },
{ internalType: "bytes"; name: "callData"; type: "bytes" },
{ internalType: "bytes32"; name: "accountGasLimits"; type: "bytes32" },
{
internalType: "uint256";
name: "preVerificationGas";
type: "uint256";
},
{ internalType: "bytes32"; name: "gasFees"; type: "bytes32" },
{ internalType: "bytes"; name: "paymasterAndData"; type: "bytes" },
{ internalType: "bytes"; name: "signature"; type: "bytes" },
];
internalType: "struct PackedUserOperation";
name: "userOp";
type: "tuple";
},
{ internalType: "bytes32"; name: "userOpHash"; type: "bytes32" },
{ internalType: "uint256"; name: "maxCost"; type: "uint256" },
];
name: "validatePaymasterUserOp";
outputs: readonly [
{ internalType: "bytes"; name: "context"; type: "bytes" },
{ internalType: "uint256"; name: "validationData"; type: "uint256" },
];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [];
name: "verifyingSigner";
outputs: readonly [{ internalType: "address"; name: ""; type: "address" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{
internalType: "address payable";
name: "withdrawAddress";
type: "address";
},
];
name: "withdrawStake";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{
internalType: "address payable";
name: "withdrawAddress";
type: "address";
},
{ internalType: "uint256"; name: "amount"; type: "uint256" },
];
name: "withdrawTo";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
anonymous: false;
inputs: readonly [];
name: "DefaultAdminDelayChangeCanceled";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: false;
internalType: "uint48";
name: "newDelay";
type: "uint48";
},
{
indexed: false;
internalType: "uint48";
name: "effectSchedule";
type: "uint48";
},
];
name: "DefaultAdminDelayChangeScheduled";
type: "event";
},
{
anonymous: false;
inputs: readonly [];
name: "DefaultAdminTransferCanceled";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "address";
name: "newAdmin";
type: "address";
},
{
indexed: false;
internalType: "uint48";
name: "acceptSchedule";
type: "uint48";
},
];
name: "DefaultAdminTransferScheduled";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "address";
name: "previousOwner";
type: "address";
},
{
indexed: true;
internalType: "address";
name: "newOwner";
type: "address";
},
];
name: "OwnershipTransferStarted";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "address";
name: "previousOwner";
type: "address";
},
{
indexed: true;
internalType: "address";
name: "newOwner";
type: "address";
},
];
name: "OwnershipTransferred";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "bytes32";
name: "role";
type: "bytes32";
},
{
indexed: true;
internalType: "bytes32";
name: "previousAdminRole";
type: "bytes32";
},
{
indexed: true;
internalType: "bytes32";
name: "newAdminRole";
type: "bytes32";
},
];
name: "RoleAdminChanged";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "bytes32";
name: "role";
type: "bytes32";
},
{
indexed: true;
internalType: "address";
name: "account";
type: "address";
},
{
indexed: true;
internalType: "address";
name: "sender";
type: "address";
},
];
name: "RoleGranted";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "bytes32";
name: "role";
type: "bytes32";
},
{
indexed: true;
internalType: "address";
name: "account";
type: "address";
},
{
indexed: true;
internalType: "address";
name: "sender";
type: "address";
},
];
name: "RoleRevoked";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "address";
name: "previousSigner";
type: "address";
},
{
indexed: true;
internalType: "address";
name: "newSigner";
type: "address";
},
];
name: "VerifyingSignerChanged";
type: "event";
},
{
inputs: readonly [];
name: "AccessControlBadConfirmation";
type: "error";
},
{
inputs: readonly [
{ internalType: "uint48"; name: "schedule"; type: "uint48" },
];
name: "AccessControlEnforcedDefaultAdminDelay";
type: "error";
},
{
inputs: readonly [];
name: "AccessControlEnforcedDefaultAdminRules";
type: "error";
},
{
inputs: readonly [
{ internalType: "address"; name: "defaultAdmin"; type: "address" },
];
name: "AccessControlInvalidDefaultAdmin";
type: "error";
},
{
inputs: readonly [
{ internalType: "address"; name: "account"; type: "address" },
{ internalType: "bytes32"; name: "neededRole"; type: "bytes32" },
];
name: "AccessControlUnauthorizedAccount";
type: "error";
},
{
inputs: readonly [
{ internalType: "uint256"; name: "length"; type: "uint256" },
];
name: "InvalidSignatureLength";
type: "error";
},
{
inputs: readonly [
{ internalType: "address"; name: "owner"; type: "address" },
];
name: "OwnableInvalidOwner";
type: "error";
},
{
inputs: readonly [
{ internalType: "address"; name: "account"; type: "address" },
];
name: "OwnableUnauthorizedAccount";
type: "error";
},
{
inputs: readonly [];
name: "OwnershipManagedByAccessControl";
type: "error";
},
{
inputs: readonly [
{ internalType: "uint8"; name: "bits"; type: "uint8" },
{ internalType: "uint256"; name: "value"; type: "uint256" },
];
name: "SafeCastOverflowedUintDowncast";
type: "error";
},
{ inputs: readonly []; name: "ZeroAddress"; type: "error" },
] = ...