Add Account framework (#5657)
This commit is contained in:
@ -11,19 +11,8 @@ module.exports = mapValues(
|
||||
verifyingContract: 'address',
|
||||
salt: 'bytes32',
|
||||
},
|
||||
Permit: {
|
||||
owner: 'address',
|
||||
spender: 'address',
|
||||
value: 'uint256',
|
||||
nonce: 'uint256',
|
||||
deadline: 'uint256',
|
||||
},
|
||||
Ballot: {
|
||||
proposalId: 'uint256',
|
||||
support: 'uint8',
|
||||
voter: 'address',
|
||||
nonce: 'uint256',
|
||||
},
|
||||
Permit: { owner: 'address', spender: 'address', value: 'uint256', nonce: 'uint256', deadline: 'uint256' },
|
||||
Ballot: { proposalId: 'uint256', support: 'uint8', voter: 'address', nonce: 'uint256' },
|
||||
ExtendedBallot: {
|
||||
proposalId: 'uint256',
|
||||
support: 'uint8',
|
||||
@ -32,18 +21,8 @@ module.exports = mapValues(
|
||||
reason: 'string',
|
||||
params: 'bytes',
|
||||
},
|
||||
OverrideBallot: {
|
||||
proposalId: 'uint256',
|
||||
support: 'uint8',
|
||||
voter: 'address',
|
||||
nonce: 'uint256',
|
||||
reason: 'string',
|
||||
},
|
||||
Delegation: {
|
||||
delegatee: 'address',
|
||||
nonce: 'uint256',
|
||||
expiry: 'uint256',
|
||||
},
|
||||
OverrideBallot: { proposalId: 'uint256', support: 'uint8', voter: 'address', nonce: 'uint256', reason: 'string' },
|
||||
Delegation: { delegatee: 'address', nonce: 'uint256', expiry: 'uint256' },
|
||||
ForwardRequest: {
|
||||
from: 'address',
|
||||
to: 'address',
|
||||
@ -53,6 +32,29 @@ module.exports = mapValues(
|
||||
deadline: 'uint48',
|
||||
data: 'bytes',
|
||||
},
|
||||
PackedUserOperation: {
|
||||
sender: 'address',
|
||||
nonce: 'uint256',
|
||||
initCode: 'bytes',
|
||||
callData: 'bytes',
|
||||
accountGasLimits: 'bytes32',
|
||||
preVerificationGas: 'uint256',
|
||||
gasFees: 'bytes32',
|
||||
paymasterAndData: 'bytes',
|
||||
},
|
||||
UserOperationRequest: {
|
||||
sender: 'address',
|
||||
nonce: 'uint256',
|
||||
initCode: 'bytes',
|
||||
callData: 'bytes',
|
||||
accountGasLimits: 'bytes32',
|
||||
preVerificationGas: 'uint256',
|
||||
gasFees: 'bytes32',
|
||||
paymasterVerificationGasLimit: 'uint256',
|
||||
paymasterPostOpGasLimit: 'uint256',
|
||||
validAfter: 'uint48',
|
||||
validUntil: 'uint48',
|
||||
},
|
||||
},
|
||||
formatType,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user