Skip to content

Commit e62c375

Browse files
authored
migrating gas manager coverage apis to openrpc (#29)
1 parent 171c408 commit e62c375

File tree

2 files changed

+796
-263
lines changed

2 files changed

+796
-263
lines changed

src/openrpc/alchemy/_shared/components.yaml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,3 +663,82 @@ DecodedLogInput:
663663
- type: string
664664
indexed:
665665
type: boolean
666+
667+
UserOperationV06Partial:
668+
type: object
669+
properties:
670+
sender:
671+
$ref: "#/components/schemas/address"
672+
description: "The account making the operation"
673+
nonce:
674+
$ref: "#/components/schemas/uint"
675+
description: "Anti-replay parameter; used as salt for first-time account creation"
676+
required: false
677+
initCode:
678+
$ref: "#/components/schemas/bytes"
679+
description: "The initCode of the account (needed if the account is not yet on-chain and needs creation)"
680+
required: false
681+
callData:
682+
$ref: "#/components/schemas/bytes"
683+
description: "Encoded data for the primary function call or operation"
684+
callGasLimit:
685+
type: string
686+
description: "Gas allocated for the main execution call"
687+
verificationGasLimit:
688+
type: string
689+
description: "Gas allocated for verification"
690+
preVerificationGas:
691+
type: string
692+
description: "Gas for pre-verification execution and calldata"
693+
maxFeePerGas:
694+
type: string
695+
description: "Maximum fee per gas (EIP-1559)"
696+
maxPriorityFeePerGas:
697+
type: string
698+
description: "Max priority fee per gas (EIP-1559)"
699+
700+
UserOperationV07Partial:
701+
type: object
702+
properties:
703+
sender:
704+
$ref: "#/components/schemas/address"
705+
description: "Account initiating operation"
706+
nonce:
707+
$ref: "#/components/schemas/uint"
708+
description: "Account nonce or creation salt"
709+
initCode:
710+
$ref: "#/components/schemas/bytes"
711+
description: "Initialization code (for new accounts)"
712+
callData:
713+
$ref: "#/components/schemas/bytes"
714+
description: "Data for operation call"
715+
callGasLimit:
716+
type: string
717+
description: "Gas allocated for call"
718+
verificationGasLimit:
719+
type: string
720+
description: "Gas allocated for verification"
721+
maxFeePerGas:
722+
type: string
723+
description: "Max fee per gas (EIP-1559)"
724+
maxPriorityFeePerGas:
725+
type: string
726+
description: "Priority fee per gas (EIP-1559)"
727+
paymaster:
728+
$ref: "#/components/schemas/address"
729+
description: "Paymaster contract address"
730+
paymasterVerificationGasLimit:
731+
type: string
732+
description: "Paymaster verification gas limit"
733+
factory:
734+
$ref: "#/components/schemas/address"
735+
description: "The account factory address (needed if and only if the account is not yet on-chain and needs to be created)"
736+
factoryData:
737+
$ref: "#/components/schemas/bytes"
738+
description: "Data for the account factory (only if the account factory exists)"
739+
preVerificationGas:
740+
type: string
741+
description: "The amount of gas to pay for to compensate the bundler for pre-verification execution and calldata"
742+
paymasterPostOpGasLimit:
743+
type: string
744+
description: "The amount of gas to allocate for the paymaster post-op code (only if a paymaster exists)"

0 commit comments

Comments
 (0)